@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
|
@@ -4,351 +4,481 @@ declare class Payment {
|
|
|
4
4
|
config: any;
|
|
5
5
|
applicationId: any;
|
|
6
6
|
/**
|
|
7
|
-
* @param {
|
|
8
|
-
* @param {
|
|
9
|
-
* @param {
|
|
10
|
-
* @returns {Promise<EdcDeviceUpdateResponse>} - Success response
|
|
7
|
+
* @param {PaymentPlatformApplicationValidator.AddEdcDeviceParam} arg - Arg object
|
|
8
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
9
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
10
|
+
* @returns {Promise<PaymentPlatformModel.EdcDeviceUpdateResponse>} - Success response
|
|
11
|
+
* @name addEdcDevice
|
|
11
12
|
* @summary: Update store id and device tag of edc device
|
|
12
|
-
* @description: Use this API to Update store id and device tag of edc device
|
|
13
|
+
* @description: Use this API to Update store id and device tag of edc device - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/addEdcDevice/).
|
|
13
14
|
*/
|
|
14
|
-
addEdcDevice({ terminalUniqueIdentifier, body }?: {
|
|
15
|
-
terminalUniqueIdentifier: string;
|
|
16
|
-
body: EdcUpdateRequest;
|
|
17
|
-
}): Promise<EdcDeviceUpdateResponse>;
|
|
15
|
+
addEdcDevice({ terminalUniqueIdentifier, body, requestHeaders }?: PaymentPlatformApplicationValidator.AddEdcDeviceParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.EdcDeviceUpdateResponse>;
|
|
18
16
|
/**
|
|
19
|
-
* @param {
|
|
20
|
-
*
|
|
21
|
-
*
|
|
17
|
+
* @param {PaymentPlatformApplicationValidator.AddRefundBankAccountUsingOTPParam} arg
|
|
18
|
+
* - Arg object
|
|
19
|
+
*
|
|
20
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
21
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
22
|
+
* @returns {Promise<PaymentPlatformModel.RefundAccountResponse>} - Success response
|
|
23
|
+
* @name addRefundBankAccountUsingOTP
|
|
22
24
|
* @summary: Save bank details for cancelled/returned order
|
|
23
|
-
* @description: Use this API to save bank details for returned/cancelled order to refund amount in his account.
|
|
24
|
-
*/
|
|
25
|
-
addRefundBankAccountUsingOTP({ body }?: {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
*
|
|
30
|
-
* @param {
|
|
31
|
-
* @
|
|
25
|
+
* @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/platform/payment/addRefundBankAccountUsingOTP/).
|
|
26
|
+
*/
|
|
27
|
+
addRefundBankAccountUsingOTP({ body, requestHeaders }?: PaymentPlatformApplicationValidator.AddRefundBankAccountUsingOTPParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.RefundAccountResponse>;
|
|
28
|
+
/**
|
|
29
|
+
* @param {PaymentPlatformApplicationValidator.CancelPaymentLinkParam} arg
|
|
30
|
+
* - Arg object
|
|
31
|
+
*
|
|
32
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
33
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
34
|
+
* @returns {Promise<PaymentPlatformModel.CancelPaymentLinkResponse>} -
|
|
35
|
+
* Success response
|
|
36
|
+
* @name cancelPaymentLink
|
|
32
37
|
* @summary: Cancel payment link
|
|
33
|
-
* @description: Use this API to cancel a payment link for the customer
|
|
34
|
-
*/
|
|
35
|
-
cancelPaymentLink({ body }?: {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
*
|
|
40
|
-
* @param {
|
|
41
|
-
* @
|
|
38
|
+
* @description: Use this API to cancel a payment link for the customer - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/cancelPaymentLink/).
|
|
39
|
+
*/
|
|
40
|
+
cancelPaymentLink({ body, requestHeaders }?: PaymentPlatformApplicationValidator.CancelPaymentLinkParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.CancelPaymentLinkResponse>;
|
|
41
|
+
/**
|
|
42
|
+
* @param {PaymentPlatformApplicationValidator.CheckAndUpdatePaymentStatusParam} arg
|
|
43
|
+
* - Arg object
|
|
44
|
+
*
|
|
45
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
46
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
47
|
+
* @returns {Promise<PaymentPlatformModel.PaymentStatusUpdateResponse>} -
|
|
48
|
+
* Success response
|
|
49
|
+
* @name checkAndUpdatePaymentStatus
|
|
42
50
|
* @summary: Performs continuous polling to check status of payment on the server
|
|
43
|
-
* @description: Use this API to perform continuous polling at intervals to check the status of payment until timeout.
|
|
51
|
+
* @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/platform/payment/checkAndUpdatePaymentStatus/).
|
|
44
52
|
*/
|
|
45
|
-
checkAndUpdatePaymentStatus({ body }?: {
|
|
46
|
-
body: PaymentStatusUpdateRequest;
|
|
47
|
-
}): Promise<PaymentStatusUpdateResponse>;
|
|
53
|
+
checkAndUpdatePaymentStatus({ body, requestHeaders }?: PaymentPlatformApplicationValidator.CheckAndUpdatePaymentStatusParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PaymentStatusUpdateResponse>;
|
|
48
54
|
/**
|
|
49
|
-
* @param {
|
|
50
|
-
* @param {
|
|
51
|
-
* @
|
|
55
|
+
* @param {PaymentPlatformApplicationValidator.ConfirmPaymentParam} arg - Arg object
|
|
56
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
57
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
58
|
+
* @returns {Promise<PaymentPlatformModel.PaymentConfirmationResponse>} -
|
|
59
|
+
* Success response
|
|
60
|
+
* @name confirmPayment
|
|
52
61
|
* @summary: Confirm payment after successful payment from payment gateway
|
|
53
|
-
* @description: Use this API to confirm payment after payment gateway accepted payment.
|
|
54
|
-
*/
|
|
55
|
-
confirmPayment({ body }?: {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
*
|
|
60
|
-
* @param {
|
|
61
|
-
* @
|
|
62
|
+
* @description: Use this API to confirm payment after payment gateway accepted payment. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/confirmPayment/).
|
|
63
|
+
*/
|
|
64
|
+
confirmPayment({ body, requestHeaders }?: PaymentPlatformApplicationValidator.ConfirmPaymentParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PaymentConfirmationResponse>;
|
|
65
|
+
/**
|
|
66
|
+
* @param {PaymentPlatformApplicationValidator.CreatePaymentLinkParam} arg
|
|
67
|
+
* - Arg object
|
|
68
|
+
*
|
|
69
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
70
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
71
|
+
* @returns {Promise<PaymentPlatformModel.CreatePaymentLinkResponse>} -
|
|
72
|
+
* Success response
|
|
73
|
+
* @name createPaymentLink
|
|
62
74
|
* @summary: Create payment link
|
|
63
|
-
* @description: Use this API to create a payment link for the customer
|
|
64
|
-
*/
|
|
65
|
-
createPaymentLink({ body }?: {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
*
|
|
70
|
-
* @
|
|
75
|
+
* @description: Use this API to create a payment link for the customer - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/createPaymentLink/).
|
|
76
|
+
*/
|
|
77
|
+
createPaymentLink({ body, requestHeaders }?: PaymentPlatformApplicationValidator.CreatePaymentLinkParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.CreatePaymentLinkResponse>;
|
|
78
|
+
/**
|
|
79
|
+
* @param {PaymentPlatformApplicationValidator.EdcAggregatorsAndModelListParam} arg
|
|
80
|
+
* - Arg object
|
|
81
|
+
*
|
|
82
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
83
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
84
|
+
* @returns {Promise<PaymentPlatformModel.EdcAggregatorAndModelListResponse>}
|
|
85
|
+
* - Success response
|
|
86
|
+
*
|
|
87
|
+
* @name edcAggregatorsAndModelList
|
|
71
88
|
* @summary: get some information about the store and edc device
|
|
72
|
-
* @description: Use this API to get info of devices linked to a particular app.
|
|
89
|
+
* @description: Use this API to get info of devices linked to a particular app. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/edcAggregatorsAndModelList/).
|
|
73
90
|
*/
|
|
74
|
-
edcAggregatorsAndModelList({}?: any): Promise<EdcAggregatorAndModelListResponse>;
|
|
91
|
+
edcAggregatorsAndModelList({ requestHeaders }?: any, { responseHeaders }?: object): Promise<PaymentPlatformModel.EdcAggregatorAndModelListResponse>;
|
|
75
92
|
/**
|
|
76
|
-
* @param {
|
|
77
|
-
* @param {
|
|
78
|
-
* @param {
|
|
79
|
-
* @
|
|
80
|
-
* @
|
|
81
|
-
* @param {string} [arg.deviceTag] -
|
|
82
|
-
* @returns {Promise<EdcDeviceListResponse>} - Success response
|
|
93
|
+
* @param {PaymentPlatformApplicationValidator.EdcDeviceListParam} arg - Arg object
|
|
94
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
95
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
96
|
+
* @returns {Promise<PaymentPlatformModel.EdcDeviceListResponse>} - Success response
|
|
97
|
+
* @name edcDeviceList
|
|
83
98
|
* @summary: get all the device list of an app
|
|
84
|
-
* @description: Use this API to get all devices linked to a particular app.
|
|
85
|
-
*/
|
|
86
|
-
edcDeviceList({ pageNo, pageSize, isActive, storeId, deviceTag }?: {
|
|
87
|
-
pageNo?: number;
|
|
88
|
-
pageSize?: number;
|
|
89
|
-
isActive?: boolean;
|
|
90
|
-
storeId?: number;
|
|
91
|
-
deviceTag?: string;
|
|
92
|
-
}): Promise<EdcDeviceListResponse>;
|
|
93
|
-
/**
|
|
94
|
-
* @param {Object} arg - Arg object.
|
|
95
|
-
* @returns {Promise<EdcDeviceStatsResponse>} - Success response
|
|
96
|
-
* @summary: get some information about the store and edc device
|
|
97
|
-
* @description: Use this API to get info of devices linked to a particular app.
|
|
99
|
+
* @description: Use this API to get all devices linked to a particular app. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/edcDeviceList/).
|
|
98
100
|
*/
|
|
99
|
-
|
|
101
|
+
edcDeviceList({ pageNo, pageSize, isActive, storeId, deviceTag, requestHeaders }?: PaymentPlatformApplicationValidator.EdcDeviceListParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.EdcDeviceListResponse>;
|
|
100
102
|
/**
|
|
101
|
-
* @param {
|
|
102
|
-
* @param {
|
|
103
|
-
* @param {
|
|
104
|
-
* @returns {Promise<
|
|
105
|
-
* @
|
|
106
|
-
* @
|
|
103
|
+
* @param {PaymentPlatformApplicationValidator.EdcDeviceStatsParam} arg - Arg object
|
|
104
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
105
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
106
|
+
* @returns {Promise<PaymentPlatformModel.EdcDeviceStatsResponse>} - Success response
|
|
107
|
+
* @name edcDeviceStats
|
|
108
|
+
* @summary: get some information about the store and edc device
|
|
109
|
+
* @description: Use this API to get info of devices linked to a particular app. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/edcDeviceStats/).
|
|
107
110
|
*/
|
|
108
|
-
|
|
109
|
-
orderId: string;
|
|
110
|
-
requestHash?: string;
|
|
111
|
-
}): Promise<RefundAccountResponse>;
|
|
111
|
+
edcDeviceStats({ requestHeaders }?: any, { responseHeaders }?: object): Promise<PaymentPlatformModel.EdcDeviceStatsResponse>;
|
|
112
112
|
/**
|
|
113
|
-
* @param {
|
|
114
|
-
*
|
|
113
|
+
* @param {PaymentPlatformApplicationValidator.GetBankAccountDetailsOpenAPIParam} arg
|
|
114
|
+
* - Arg object
|
|
115
|
+
*
|
|
116
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
117
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
118
|
+
* @returns {Promise<PaymentPlatformModel.RefundAccountResponse>} - Success response
|
|
119
|
+
* @name getBankAccountDetailsOpenAPI
|
|
120
|
+
* @summary: Get bank details
|
|
121
|
+
* @description: Use this API to get saved bank details for returned/cancelled order using order id. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getBankAccountDetailsOpenAPI/).
|
|
122
|
+
*/
|
|
123
|
+
getBankAccountDetailsOpenAPI({ orderId, requestHash, requestHeaders }?: PaymentPlatformApplicationValidator.GetBankAccountDetailsOpenAPIParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.RefundAccountResponse>;
|
|
124
|
+
/**
|
|
125
|
+
* @param {PaymentPlatformApplicationValidator.GetBrandPaymentGatewayConfigParam} arg
|
|
126
|
+
* - Arg object
|
|
127
|
+
*
|
|
128
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
129
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
130
|
+
* @returns {Promise<PaymentPlatformModel.PaymentGatewayConfigResponse>} -
|
|
131
|
+
* Success response
|
|
132
|
+
* @name getBrandPaymentGatewayConfig
|
|
115
133
|
* @summary: Get All Brand Payment Gateway Config Secret
|
|
116
|
-
* @description: Get All Brand Payment Gateway Config Secret
|
|
134
|
+
* @description: Get All Brand Payment Gateway Config Secret - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getBrandPaymentGatewayConfig/).
|
|
117
135
|
*/
|
|
118
|
-
getBrandPaymentGatewayConfig({}?: any): Promise<PaymentGatewayConfigResponse>;
|
|
136
|
+
getBrandPaymentGatewayConfig({ requestHeaders }?: any, { responseHeaders }?: object): Promise<PaymentPlatformModel.PaymentGatewayConfigResponse>;
|
|
119
137
|
/**
|
|
120
|
-
* @param {
|
|
121
|
-
* @param {
|
|
122
|
-
* @
|
|
138
|
+
* @param {PaymentPlatformApplicationValidator.GetEdcDeviceParam} arg - Arg object
|
|
139
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
140
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
141
|
+
* @returns {Promise<PaymentPlatformModel.EdcDeviceDetailsResponse>} -
|
|
142
|
+
* Success response
|
|
143
|
+
* @name getEdcDevice
|
|
123
144
|
* @summary: get details of a single edc device
|
|
124
|
-
* @description: Use this API to get details of a single edc device
|
|
125
|
-
*/
|
|
126
|
-
getEdcDevice({ terminalUniqueIdentifier }?: {
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
*
|
|
131
|
-
* @
|
|
145
|
+
* @description: Use this API to get details of a single edc device - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getEdcDevice/).
|
|
146
|
+
*/
|
|
147
|
+
getEdcDevice({ terminalUniqueIdentifier, requestHeaders }?: PaymentPlatformApplicationValidator.GetEdcDeviceParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.EdcDeviceDetailsResponse>;
|
|
148
|
+
/**
|
|
149
|
+
* @param {PaymentPlatformApplicationValidator.GetMerchantAggregatorPaymentModeDetailsParam} arg
|
|
150
|
+
* - Arg object
|
|
151
|
+
*
|
|
152
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
153
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
154
|
+
* @returns {Promise<PaymentPlatformModel.MerchnatPaymentModeResponse>} -
|
|
155
|
+
* Success response
|
|
156
|
+
* @name getMerchantAggregatorPaymentModeDetails
|
|
157
|
+
* @summary: Get Aggregator, payment mode and sub payment mode.
|
|
158
|
+
* @description: Get Aggregator, payment mode and sub payment mode details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getMerchantAggregatorPaymentModeDetails/).
|
|
159
|
+
*/
|
|
160
|
+
getMerchantAggregatorPaymentModeDetails({ aggregatorId, businessUnit, device, requestHeaders }?: PaymentPlatformApplicationValidator.GetMerchantAggregatorPaymentModeDetailsParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.MerchnatPaymentModeResponse>;
|
|
161
|
+
/**
|
|
162
|
+
* @param {PaymentPlatformApplicationValidator.GetMerchantPaymentOptionParam} arg
|
|
163
|
+
* - Arg object
|
|
164
|
+
*
|
|
165
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
166
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
167
|
+
* @returns {Promise<PaymentPlatformModel.MerchnatPaymentModeResponse>} -
|
|
168
|
+
* Success response
|
|
169
|
+
* @name getMerchantPaymentOption
|
|
170
|
+
* @summary: Get Payment modes and COD details.
|
|
171
|
+
* @description: This api fetches all the available PGs for merchant and its offline payment mode details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getMerchantPaymentOption/).
|
|
172
|
+
*/
|
|
173
|
+
getMerchantPaymentOption({ requestHeaders }?: any, { responseHeaders }?: object): Promise<PaymentPlatformModel.MerchnatPaymentModeResponse>;
|
|
174
|
+
/**
|
|
175
|
+
* @param {PaymentPlatformApplicationValidator.GetPGConfigAggregatorsParam} arg
|
|
176
|
+
* - Arg object
|
|
177
|
+
*
|
|
178
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
179
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
180
|
+
* @returns {Promise<PaymentPlatformModel.MerchnatPaymentModeResponse>} -
|
|
181
|
+
* Success response
|
|
182
|
+
* @name getPGConfigAggregators
|
|
183
|
+
* @summary: Get Aggregators available to be added as PG.
|
|
184
|
+
* @description: Get Aggregators available to be added as PG. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getPGConfigAggregators/).
|
|
185
|
+
*/
|
|
186
|
+
getPGConfigAggregators({ requestHeaders }?: any, { responseHeaders }?: object): Promise<PaymentPlatformModel.MerchnatPaymentModeResponse>;
|
|
187
|
+
/**
|
|
188
|
+
* @param {PaymentPlatformApplicationValidator.GetPaymentCodeOptionParam} arg
|
|
189
|
+
* - Arg object
|
|
190
|
+
*
|
|
191
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
192
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
193
|
+
* @returns {Promise<PaymentPlatformModel.GetPaymentCodeResponse>} - Success response
|
|
194
|
+
* @name getPaymentCodeOption
|
|
132
195
|
* @summary: List Payment Options Method Codes
|
|
133
|
-
* @description: Get all active List Payment Options Method Codes
|
|
196
|
+
* @description: Get all active List Payment Options Method Codes - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getPaymentCodeOption/).
|
|
134
197
|
*/
|
|
135
|
-
getPaymentCodeOption({}?: any): Promise<GetPaymentCodeResponse>;
|
|
198
|
+
getPaymentCodeOption({ requestHeaders }?: any, { responseHeaders }?: object): Promise<PaymentPlatformModel.GetPaymentCodeResponse>;
|
|
136
199
|
/**
|
|
137
|
-
* @param {
|
|
138
|
-
* @param {
|
|
139
|
-
* @
|
|
200
|
+
* @param {PaymentPlatformApplicationValidator.GetPaymentLinkParam} arg - Arg object
|
|
201
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
202
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
203
|
+
* @returns {Promise<PaymentPlatformModel.GetPaymentLinkResponse>} - Success response
|
|
204
|
+
* @name getPaymentLink
|
|
140
205
|
* @summary: Get payment link
|
|
141
|
-
* @description: Use this API to get a payment link
|
|
206
|
+
* @description: Use this API to get a payment link - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getPaymentLink/).
|
|
142
207
|
*/
|
|
143
|
-
getPaymentLink({ paymentLinkId }?: {
|
|
144
|
-
paymentLinkId?: string;
|
|
145
|
-
}): Promise<GetPaymentLinkResponse>;
|
|
208
|
+
getPaymentLink({ paymentLinkId, requestHeaders }?: PaymentPlatformApplicationValidator.GetPaymentLinkParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.GetPaymentLinkResponse>;
|
|
146
209
|
/**
|
|
147
|
-
* @param {
|
|
148
|
-
*
|
|
149
|
-
*
|
|
150
|
-
* @
|
|
210
|
+
* @param {PaymentPlatformApplicationValidator.GetPaymentModeRoutesParam} arg
|
|
211
|
+
* - Arg object
|
|
212
|
+
*
|
|
213
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
214
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
215
|
+
* @returns {Promise<PaymentPlatformModel.PaymentOptionsResponse>} - Success response
|
|
216
|
+
* @name getPaymentModeRoutes
|
|
151
217
|
* @summary: Get All Valid Payment Options
|
|
152
|
-
* @description: Use this API to get Get All Valid Payment Options for making payment
|
|
153
|
-
*/
|
|
154
|
-
getPaymentModeRoutes({ refresh, requestType }?: {
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
* @param {
|
|
160
|
-
* @param {
|
|
161
|
-
* @
|
|
162
|
-
* @
|
|
163
|
-
* @param {string} arg.checkoutMode - Option to checkout for self or for others.
|
|
164
|
-
* @param {boolean} [arg.refresh] - This is a boolean value. Select `true`
|
|
165
|
-
* to remove temporary cache files on payment gateway and replace with the
|
|
166
|
-
* latest one.
|
|
167
|
-
* @param {string} [arg.cardReference] - Card reference id of user's debit
|
|
168
|
-
* or credit card.
|
|
169
|
-
* @param {string} arg.orderType - The order type of shipment * HomeDelivery
|
|
170
|
-
* - If the customer wants the order home-delivered * PickAtStore - If the
|
|
171
|
-
* customer wants the handover of an order at the store itself.
|
|
172
|
-
* @param {string} [arg.userDetails] - URIencoded JSON containing details of
|
|
173
|
-
* an anonymous user.
|
|
174
|
-
* @returns {Promise<PaymentOptionsResponse>} - Success response
|
|
218
|
+
* @description: Use this API to get Get All Valid Payment Options for making payment - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getPaymentModeRoutes/).
|
|
219
|
+
*/
|
|
220
|
+
getPaymentModeRoutes({ refresh, requestType, requestHeaders }?: PaymentPlatformApplicationValidator.GetPaymentModeRoutesParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PaymentOptionsResponse>;
|
|
221
|
+
/**
|
|
222
|
+
* @param {PaymentPlatformApplicationValidator.GetPosPaymentModeRoutesParam} arg
|
|
223
|
+
* - Arg object
|
|
224
|
+
*
|
|
225
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
226
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
227
|
+
* @returns {Promise<PaymentPlatformModel.PaymentOptionsResponse>} - Success response
|
|
228
|
+
* @name getPosPaymentModeRoutes
|
|
175
229
|
* @summary: Get All Valid Payment Options
|
|
176
|
-
* @description: Use this API to get Get All Valid Payment Options for making payment
|
|
177
|
-
*/
|
|
178
|
-
getPosPaymentModeRoutes({ amount, cartId, pincode, checkoutMode, orderType, refresh, cardReference, userDetails, }?: {
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
/**
|
|
189
|
-
* @param {Object} arg - Arg object.
|
|
190
|
-
* @param {string} arg.orderId -
|
|
191
|
-
* @returns {Promise<OrderBeneficiaryResponse>} - Success response
|
|
230
|
+
* @description: Use this API to get Get All Valid Payment Options for making payment - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getPosPaymentModeRoutes/).
|
|
231
|
+
*/
|
|
232
|
+
getPosPaymentModeRoutes({ amount, cartId, pincode, checkoutMode, orderType, refresh, cardReference, userDetails, requestHeaders, }?: PaymentPlatformApplicationValidator.GetPosPaymentModeRoutesParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PaymentOptionsResponse>;
|
|
233
|
+
/**
|
|
234
|
+
* @param {PaymentPlatformApplicationValidator.GetUserBeneficiariesParam} arg
|
|
235
|
+
* - Arg object
|
|
236
|
+
*
|
|
237
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
238
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
239
|
+
* @returns {Promise<PaymentPlatformModel.OrderBeneficiaryResponse>} -
|
|
240
|
+
* Success response
|
|
241
|
+
* @name getUserBeneficiaries
|
|
192
242
|
* @summary: List User Beneficiary
|
|
193
|
-
* @description: Get all active beneficiary details added by the user for refund
|
|
243
|
+
* @description: Get all active beneficiary details added by the user for refund - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getUserBeneficiaries/).
|
|
194
244
|
*/
|
|
195
|
-
getUserBeneficiaries({ orderId }?: {
|
|
196
|
-
orderId: string;
|
|
197
|
-
}): Promise<OrderBeneficiaryResponse>;
|
|
245
|
+
getUserBeneficiaries({ orderId, requestHeaders }?: PaymentPlatformApplicationValidator.GetUserBeneficiariesParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.OrderBeneficiaryResponse>;
|
|
198
246
|
/**
|
|
199
|
-
* @param {
|
|
200
|
-
*
|
|
201
|
-
*
|
|
202
|
-
* @
|
|
247
|
+
* @param {PaymentPlatformApplicationValidator.GetUserCODlimitRoutesParam} arg
|
|
248
|
+
* - Arg object
|
|
249
|
+
*
|
|
250
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
251
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
252
|
+
* @returns {Promise<PaymentPlatformModel.GetUserCODLimitResponse>} - Success response
|
|
253
|
+
* @name getUserCODlimitRoutes
|
|
203
254
|
* @summary: Get COD limit for user
|
|
204
|
-
* @description: Use this API to get user cod limit and reamining limit for the payment
|
|
205
|
-
*/
|
|
206
|
-
getUserCODlimitRoutes({ merchantUserId, mobileNo }?: {
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
* @param {
|
|
212
|
-
* @param {
|
|
213
|
-
* @returns {Promise<OrderBeneficiaryResponse>} -
|
|
255
|
+
* @description: Use this API to get user cod limit and reamining limit for the payment - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getUserCODlimitRoutes/).
|
|
256
|
+
*/
|
|
257
|
+
getUserCODlimitRoutes({ merchantUserId, mobileNo, requestHeaders }?: PaymentPlatformApplicationValidator.GetUserCODlimitRoutesParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.GetUserCODLimitResponse>;
|
|
258
|
+
/**
|
|
259
|
+
* @param {PaymentPlatformApplicationValidator.GetUserOrderBeneficiariesParam} arg
|
|
260
|
+
* - Arg object
|
|
261
|
+
*
|
|
262
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
263
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
264
|
+
* @returns {Promise<PaymentPlatformModel.OrderBeneficiaryResponse>} -
|
|
265
|
+
* Success response
|
|
266
|
+
* @name getUserOrderBeneficiaries
|
|
214
267
|
* @summary: List Order Beneficiary
|
|
215
|
-
* @description: Get all active beneficiary details added by the user for refund
|
|
216
|
-
*/
|
|
217
|
-
getUserOrderBeneficiaries({ orderId }?: {
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
*
|
|
222
|
-
* @param {
|
|
223
|
-
* @
|
|
268
|
+
* @description: Get all active beneficiary details added by the user for refund - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getUserOrderBeneficiaries/).
|
|
269
|
+
*/
|
|
270
|
+
getUserOrderBeneficiaries({ orderId, requestHeaders }?: PaymentPlatformApplicationValidator.GetUserOrderBeneficiariesParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.OrderBeneficiaryResponse>;
|
|
271
|
+
/**
|
|
272
|
+
* @param {PaymentPlatformApplicationValidator.InitialisePaymentParam} arg
|
|
273
|
+
* - Arg object
|
|
274
|
+
*
|
|
275
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
276
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
277
|
+
* @returns {Promise<PaymentPlatformModel.PaymentInitializationResponse>} -
|
|
278
|
+
* Success response
|
|
279
|
+
* @name initialisePayment
|
|
224
280
|
* @summary: Initialize a payment (server-to-server) for UPI and BharatQR
|
|
225
|
-
* @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.
|
|
226
|
-
*/
|
|
227
|
-
initialisePayment({ body }?: {
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
*
|
|
232
|
-
* @param {
|
|
233
|
-
* @
|
|
281
|
+
* @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/platform/payment/initialisePayment/).
|
|
282
|
+
*/
|
|
283
|
+
initialisePayment({ body, requestHeaders }?: PaymentPlatformApplicationValidator.InitialisePaymentParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PaymentInitializationResponse>;
|
|
284
|
+
/**
|
|
285
|
+
* @param {PaymentPlatformApplicationValidator.MerchantOnBoardingParam} arg
|
|
286
|
+
* - Arg object
|
|
287
|
+
*
|
|
288
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
289
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
290
|
+
* @returns {Promise<PaymentPlatformModel.MerchantOnBoardingResponse>} -
|
|
291
|
+
* Success response
|
|
292
|
+
* @name merchantOnBoarding
|
|
234
293
|
* @summary: API to push Ajiodhan merchant data to Gringotts system
|
|
235
|
-
* @description: Use this API to push Ajiodhan merchant data to Gringotts system
|
|
294
|
+
* @description: Use this API to push Ajiodhan merchant data to Gringotts system - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/merchantOnBoarding/).
|
|
236
295
|
*/
|
|
237
|
-
merchantOnBoarding({ body }?: {
|
|
238
|
-
body: MerchantOnBoardingRequest;
|
|
239
|
-
}): Promise<MerchantOnBoardingResponse>;
|
|
296
|
+
merchantOnBoarding({ body, requestHeaders }?: PaymentPlatformApplicationValidator.MerchantOnBoardingParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.MerchantOnBoardingResponse>;
|
|
240
297
|
/**
|
|
241
|
-
* @param {
|
|
242
|
-
* @param {
|
|
243
|
-
* @param {
|
|
244
|
-
* @
|
|
245
|
-
* @
|
|
298
|
+
* @param {PaymentPlatformApplicationValidator.OauthGetUrlParam} arg - Arg object
|
|
299
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
300
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
301
|
+
* @returns {Promise<PaymentPlatformModel.GetOauthUrlResponse>} - Success response
|
|
302
|
+
* @name oauthGetUrl
|
|
246
303
|
* @summary: API to Get the url to call for oauth
|
|
247
|
-
* @description: Use this API to Get the url to call for oauth.
|
|
248
|
-
*/
|
|
249
|
-
oauthGetUrl({ aggregator, successRedirectUrl, failureRedirectUrl, }?: {
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
* @param {
|
|
256
|
-
* @
|
|
257
|
-
*
|
|
304
|
+
* @description: Use this API to Get the url to call for oauth. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/oauthGetUrl/).
|
|
305
|
+
*/
|
|
306
|
+
oauthGetUrl({ aggregator, successRedirectUrl, failureRedirectUrl, requestHeaders }?: PaymentPlatformApplicationValidator.OauthGetUrlParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.GetOauthUrlResponse>;
|
|
307
|
+
/**
|
|
308
|
+
* @param {PaymentPlatformApplicationValidator.PatchMerchantAggregatorPaymentModeDetailsParam} arg
|
|
309
|
+
* - Arg object
|
|
310
|
+
*
|
|
311
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
312
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
313
|
+
* @returns {Promise<PaymentPlatformModel.MerchnatPaymentModeResponse>} -
|
|
314
|
+
* Success response
|
|
315
|
+
* @name patchMerchantAggregatorPaymentModeDetails
|
|
316
|
+
* @summary: Update Aggregator, payment mode and sub payment mode.
|
|
317
|
+
* @description: Update Aggregator, payment mode and sub payment mode details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/patchMerchantAggregatorPaymentModeDetails/).
|
|
318
|
+
*/
|
|
319
|
+
patchMerchantAggregatorPaymentModeDetails({ aggregatorId, body, requestHeaders }?: PaymentPlatformApplicationValidator.PatchMerchantAggregatorPaymentModeDetailsParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.MerchnatPaymentModeResponse>;
|
|
320
|
+
/**
|
|
321
|
+
* @param {PaymentPlatformApplicationValidator.PatchMerchantPaymentOptionParam} arg
|
|
322
|
+
* - Arg object
|
|
323
|
+
*
|
|
324
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
325
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
326
|
+
* @returns {Promise<PaymentPlatformModel.MerchnatPaymentModeResponse>} -
|
|
327
|
+
* Success response
|
|
328
|
+
* @name patchMerchantPaymentOption
|
|
329
|
+
* @summary: Update Payment modes and COD details.
|
|
330
|
+
* @description: To updated online payment as active/inactive or offline payment configuration like cod charges, anonymous cod allowed flags. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/patchMerchantPaymentOption/).
|
|
331
|
+
*/
|
|
332
|
+
patchMerchantPaymentOption({ body, requestHeaders }?: PaymentPlatformApplicationValidator.PatchMerchantPaymentOptionParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.MerchnatPaymentModeResponse>;
|
|
333
|
+
/**
|
|
334
|
+
* @param {PaymentPlatformApplicationValidator.PaymentStatusBulkParam} arg
|
|
335
|
+
* - Arg object
|
|
336
|
+
*
|
|
337
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
338
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
339
|
+
* @returns {Promise<PaymentPlatformModel.PaymentStatusBulkHandlerResponse>}
|
|
340
|
+
* - Success response
|
|
341
|
+
*
|
|
342
|
+
* @name paymentStatusBulk
|
|
258
343
|
* @summary: Get Payment status and information for a list of order_ids
|
|
259
|
-
* @description: Use this API to get Payment status and information for a list of order_ids
|
|
260
|
-
*/
|
|
261
|
-
paymentStatusBulk({ body }?: {
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
*
|
|
266
|
-
* @param {
|
|
267
|
-
* @
|
|
344
|
+
* @description: Use this API to get Payment status and information for a list of order_ids - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/paymentStatusBulk/).
|
|
345
|
+
*/
|
|
346
|
+
paymentStatusBulk({ body, requestHeaders }?: PaymentPlatformApplicationValidator.PaymentStatusBulkParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PaymentStatusBulkHandlerResponse>;
|
|
347
|
+
/**
|
|
348
|
+
* @param {PaymentPlatformApplicationValidator.PollingPaymentLinkParam} arg
|
|
349
|
+
* - Arg object
|
|
350
|
+
*
|
|
351
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
352
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
353
|
+
* @returns {Promise<PaymentPlatformModel.PollingPaymentLinkResponse>} -
|
|
354
|
+
* Success response
|
|
355
|
+
* @name pollingPaymentLink
|
|
268
356
|
* @summary: Used for polling if payment successful or not
|
|
269
|
-
* @description: Use this API to poll if payment through payment was successful or not
|
|
357
|
+
* @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/platform/payment/pollingPaymentLink/).
|
|
270
358
|
*/
|
|
271
|
-
pollingPaymentLink({ paymentLinkId }?: {
|
|
272
|
-
paymentLinkId?: string;
|
|
273
|
-
}): Promise<PollingPaymentLinkResponse>;
|
|
359
|
+
pollingPaymentLink({ paymentLinkId, requestHeaders }?: PaymentPlatformApplicationValidator.PollingPaymentLinkParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PollingPaymentLinkResponse>;
|
|
274
360
|
/**
|
|
275
|
-
* @param {
|
|
276
|
-
* @param {
|
|
277
|
-
* @
|
|
361
|
+
* @param {PaymentPlatformApplicationValidator.RepaymentDetailsParam} arg - Arg object
|
|
362
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
363
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
364
|
+
* @returns {Promise<PaymentPlatformModel.RepaymentResponse>} - Success response
|
|
365
|
+
* @name repaymentDetails
|
|
278
366
|
* @summary: API to register repayment details
|
|
279
|
-
* @description: Use this API to register any repayment record in the db and notify the aggrgator
|
|
280
|
-
*/
|
|
281
|
-
repaymentDetails({ body }?: {
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
*
|
|
286
|
-
* @param {
|
|
287
|
-
* @
|
|
367
|
+
* @description: Use this API to register any repayment record in the db and notify the aggrgator - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/repaymentDetails/).
|
|
368
|
+
*/
|
|
369
|
+
repaymentDetails({ body, requestHeaders }?: PaymentPlatformApplicationValidator.RepaymentDetailsParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.RepaymentResponse>;
|
|
370
|
+
/**
|
|
371
|
+
* @param {PaymentPlatformApplicationValidator.ResendOrCancelPaymentParam} arg
|
|
372
|
+
* - Arg object
|
|
373
|
+
*
|
|
374
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
375
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
376
|
+
* @returns {Promise<PaymentPlatformModel.ResendOrCancelPaymentResponse>} -
|
|
377
|
+
* Success response
|
|
378
|
+
* @name resendOrCancelPayment
|
|
288
379
|
* @summary: API to resend and cancel a payment link which was already generated.
|
|
289
|
-
* @description: Use this API to perform resend or cancel a payment link based on request payload.
|
|
290
|
-
*/
|
|
291
|
-
resendOrCancelPayment({ body }?: {
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
*
|
|
296
|
-
* @param {
|
|
297
|
-
* @
|
|
380
|
+
* @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/platform/payment/resendOrCancelPayment/).
|
|
381
|
+
*/
|
|
382
|
+
resendOrCancelPayment({ body, requestHeaders }?: PaymentPlatformApplicationValidator.ResendOrCancelPaymentParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.ResendOrCancelPaymentResponse>;
|
|
383
|
+
/**
|
|
384
|
+
* @param {PaymentPlatformApplicationValidator.ResendPaymentLinkParam} arg
|
|
385
|
+
* - Arg object
|
|
386
|
+
*
|
|
387
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
388
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
389
|
+
* @returns {Promise<PaymentPlatformModel.ResendPaymentLinkResponse>} -
|
|
390
|
+
* Success response
|
|
391
|
+
* @name resendPaymentLink
|
|
298
392
|
* @summary: Resend payment link
|
|
299
|
-
* @description: Use this API to resend a payment link for the customer
|
|
393
|
+
* @description: Use this API to resend a payment link for the customer - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/resendPaymentLink/).
|
|
300
394
|
*/
|
|
301
|
-
resendPaymentLink({ body }?: {
|
|
302
|
-
body: CancelOrResendPaymentLinkRequest;
|
|
303
|
-
}): Promise<ResendPaymentLinkResponse>;
|
|
395
|
+
resendPaymentLink({ body, requestHeaders }?: PaymentPlatformApplicationValidator.ResendPaymentLinkParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.ResendPaymentLinkResponse>;
|
|
304
396
|
/**
|
|
305
|
-
* @param {
|
|
306
|
-
* @param {
|
|
307
|
-
* @
|
|
397
|
+
* @param {PaymentPlatformApplicationValidator.RevokeOauthTokenParam} arg - Arg object
|
|
398
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
399
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
400
|
+
* @returns {Promise<PaymentPlatformModel.RevokeOAuthToken>} - Success response
|
|
401
|
+
* @name revokeOauthToken
|
|
308
402
|
* @summary: API to Revoke oauth for razorpay partnership
|
|
309
|
-
* @description: Use this API to Revoke oauth for razorpay partnership
|
|
310
|
-
*/
|
|
311
|
-
revokeOauthToken({ aggregator }?: {
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
*
|
|
316
|
-
* @param {
|
|
317
|
-
* @
|
|
403
|
+
* @description: Use this API to Revoke oauth for razorpay partnership - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/revokeOauthToken/).
|
|
404
|
+
*/
|
|
405
|
+
revokeOauthToken({ aggregator, requestHeaders }?: PaymentPlatformApplicationValidator.RevokeOauthTokenParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.RevokeOAuthToken>;
|
|
406
|
+
/**
|
|
407
|
+
* @param {PaymentPlatformApplicationValidator.SaveBrandPaymentGatewayConfigParam} arg
|
|
408
|
+
* - Arg object
|
|
409
|
+
*
|
|
410
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
411
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
412
|
+
* @returns {Promise<PaymentPlatformModel.PaymentGatewayToBeReviewed>} -
|
|
413
|
+
* Success response
|
|
414
|
+
* @name saveBrandPaymentGatewayConfig
|
|
318
415
|
* @summary: Save Config Secret For Brand Payment Gateway
|
|
319
|
-
* @description: Save Config Secret For Brand Payment Gateway
|
|
416
|
+
* @description: Save Config Secret For Brand Payment Gateway - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/saveBrandPaymentGatewayConfig/).
|
|
320
417
|
*/
|
|
321
|
-
saveBrandPaymentGatewayConfig({ body }?: {
|
|
322
|
-
body: PaymentGatewayConfigRequest;
|
|
323
|
-
}): Promise<PaymentGatewayToBeReviewed>;
|
|
418
|
+
saveBrandPaymentGatewayConfig({ body, requestHeaders }?: PaymentPlatformApplicationValidator.SaveBrandPaymentGatewayConfigParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PaymentGatewayToBeReviewed>;
|
|
324
419
|
/**
|
|
325
|
-
* @param {
|
|
326
|
-
*
|
|
327
|
-
*
|
|
420
|
+
* @param {PaymentPlatformApplicationValidator.SetUserCODlimitRoutesParam} arg
|
|
421
|
+
* - Arg object
|
|
422
|
+
*
|
|
423
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
424
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
425
|
+
* @returns {Promise<PaymentPlatformModel.SetCODOptionResponse>} - Success response
|
|
426
|
+
* @name setUserCODlimitRoutes
|
|
328
427
|
* @summary: Set COD option for user for payment
|
|
329
|
-
* @description: Use this API to set cod option as true or false for the payment
|
|
428
|
+
* @description: Use this API to set cod option as true or false for the payment - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/setUserCODlimitRoutes/).
|
|
330
429
|
*/
|
|
331
|
-
setUserCODlimitRoutes({ body }?: {
|
|
332
|
-
body: SetCODForUserRequest;
|
|
333
|
-
}): Promise<SetCODOptionResponse>;
|
|
430
|
+
setUserCODlimitRoutes({ body, requestHeaders }?: PaymentPlatformApplicationValidator.SetUserCODlimitRoutesParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.SetCODOptionResponse>;
|
|
334
431
|
/**
|
|
335
|
-
* @param {
|
|
336
|
-
* @param {
|
|
337
|
-
* @
|
|
432
|
+
* @param {PaymentPlatformApplicationValidator.UpdateEdcDeviceParam} arg - Arg object
|
|
433
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
434
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
435
|
+
* @returns {Promise<PaymentPlatformModel.EdcDeviceAddResponse>} - Success response
|
|
436
|
+
* @name updateEdcDevice
|
|
338
437
|
* @summary: map new edc device to the terminal
|
|
339
|
-
* @description: Use this API to map new edc device to the terminal
|
|
340
|
-
*/
|
|
341
|
-
updateEdcDevice({ body }?: {
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
*
|
|
346
|
-
* @param {
|
|
347
|
-
* @
|
|
438
|
+
* @description: Use this API to map new edc device to the terminal - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/updateEdcDevice/).
|
|
439
|
+
*/
|
|
440
|
+
updateEdcDevice({ body, requestHeaders }?: PaymentPlatformApplicationValidator.UpdateEdcDeviceParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.EdcDeviceAddResponse>;
|
|
441
|
+
/**
|
|
442
|
+
* @param {PaymentPlatformApplicationValidator.UpdatePaymentSessionParam} arg
|
|
443
|
+
* - Arg object
|
|
444
|
+
*
|
|
445
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
446
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
447
|
+
* @returns {Promise<PaymentPlatformModel.PaymentSessionResponseSerializer>}
|
|
448
|
+
* - Success response
|
|
449
|
+
*
|
|
450
|
+
* @name updatePaymentSession
|
|
451
|
+
* @summary: API to update status of a payment.
|
|
452
|
+
* @description: A payment_session is initiated against a global identifier (gid) which is identifies the entity payment is initiated against. e.g. order_id, cart_id. This endpoint is to update the status of the said payment_session. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/updatePaymentSession/).
|
|
453
|
+
*/
|
|
454
|
+
updatePaymentSession({ gid, body, requestHeaders }?: PaymentPlatformApplicationValidator.UpdatePaymentSessionParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PaymentSessionResponseSerializer>;
|
|
455
|
+
/**
|
|
456
|
+
* @param {PaymentPlatformApplicationValidator.UpdateRefundSessionParam} arg
|
|
457
|
+
* - Arg object
|
|
458
|
+
*
|
|
459
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
460
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
461
|
+
* @returns {Promise<PaymentPlatformModel.RefundSessionResponseSerializer>}
|
|
462
|
+
* - Success response
|
|
463
|
+
*
|
|
464
|
+
* @name updateRefundSession
|
|
465
|
+
* @summary: API to update the status of a refund
|
|
466
|
+
* @description: A refund_session is initiated against a refund request, and this endpoint is to update the status against the refund request_id. A gid is unique indentifier of the entity against which payment was received e.g. an order. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/updateRefundSession/).
|
|
467
|
+
*/
|
|
468
|
+
updateRefundSession({ gid, requestId, body, requestHeaders }?: PaymentPlatformApplicationValidator.UpdateRefundSessionParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.RefundSessionResponseSerializer>;
|
|
469
|
+
/**
|
|
470
|
+
* @param {PaymentPlatformApplicationValidator.VerifyCustomerForPaymentParam} arg
|
|
471
|
+
* - Arg object
|
|
472
|
+
*
|
|
473
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
474
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
475
|
+
* @returns {Promise<PaymentPlatformModel.ValidateCustomerResponse>} -
|
|
476
|
+
* Success response
|
|
477
|
+
* @name verifyCustomerForPayment
|
|
348
478
|
* @summary: Validate customer for payment
|
|
349
|
-
* @description: Use this API to check if the customer is eligible to use credit-line facilities such as Simpl Pay Later and Rupifi.
|
|
479
|
+
* @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/platform/payment/verifyCustomerForPayment/).
|
|
350
480
|
*/
|
|
351
|
-
verifyCustomerForPayment({ body }?: {
|
|
352
|
-
body: ValidateCustomerRequest;
|
|
353
|
-
}): Promise<ValidateCustomerResponse>;
|
|
481
|
+
verifyCustomerForPayment({ body, requestHeaders }?: PaymentPlatformApplicationValidator.VerifyCustomerForPaymentParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.ValidateCustomerResponse>;
|
|
354
482
|
}
|
|
483
|
+
import PaymentPlatformApplicationValidator = require("./PaymentPlatformApplicationValidator");
|
|
484
|
+
import PaymentPlatformModel = require("./PaymentPlatformModel");
|