@gofynd/fdk-client-javascript 1.1.6 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/index.js +0 -3
- package/package.json +1 -1
- package/sdk/application/ApplicationAPIClient.d.ts +15 -1
- package/sdk/application/ApplicationAPIClient.js +8 -1
- package/sdk/application/ApplicationClient.d.ts +37 -6
- package/sdk/application/ApplicationClient.js +31 -0
- package/sdk/application/ApplicationConfig.d.ts +52 -12
- package/sdk/application/ApplicationConfig.js +37 -2
- package/sdk/application/ApplicationModels.d.ts +46 -1
- package/sdk/application/ApplicationModels.js +18 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +172 -357
- package/sdk/application/Cart/CartApplicationClient.js +620 -483
- package/sdk/application/Cart/CartApplicationModel.d.ts +2054 -96
- package/sdk/application/Cart/CartApplicationModel.js +1224 -93
- package/sdk/application/Cart/CartApplicationValidator.d.ts +508 -30
- package/sdk/application/Cart/CartApplicationValidator.js +270 -15
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +234 -413
- package/sdk/application/Catalog/CatalogApplicationClient.js +777 -630
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2218 -117
- package/sdk/application/Catalog/CatalogApplicationModel.js +1499 -170
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +798 -31
- package/sdk/application/Catalog/CatalogApplicationValidator.js +318 -3
- package/sdk/application/Common/CommonApplicationClient.d.ts +14 -21
- package/sdk/application/Common/CommonApplicationClient.js +50 -33
- package/sdk/application/Common/CommonApplicationModel.d.ts +448 -19
- package/sdk/application/Common/CommonApplicationModel.js +224 -16
- package/sdk/application/Common/CommonApplicationValidator.d.ts +42 -4
- package/sdk/application/Common/CommonApplicationValidator.js +21 -3
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +25 -18
- package/sdk/application/Communication/CommunicationApplicationClient.js +74 -47
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +190 -14
- package/sdk/application/Communication/CommunicationApplicationModel.js +124 -7
- package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +27 -4
- package/sdk/application/Communication/CommunicationApplicationValidator.js +21 -5
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +113 -112
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +381 -260
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +2453 -110
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +1254 -108
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +160 -8
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +88 -4
- package/sdk/application/Content/ContentApplicationClient.d.ts +120 -138
- package/sdk/application/Content/ContentApplicationClient.js +409 -277
- package/sdk/application/Content/ContentApplicationModel.d.ts +1627 -105
- package/sdk/application/Content/ContentApplicationModel.js +1202 -109
- package/sdk/application/Content/ContentApplicationValidator.d.ts +214 -12
- package/sdk/application/Content/ContentApplicationValidator.js +113 -3
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +20 -29
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +68 -47
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +299 -20
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +209 -16
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +55 -5
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +33 -6
- package/sdk/application/Lead/LeadApplicationClient.d.ts +50 -53
- package/sdk/application/Lead/LeadApplicationClient.js +169 -103
- package/sdk/application/Lead/LeadApplicationModel.d.ts +1405 -54
- package/sdk/application/Lead/LeadApplicationModel.js +619 -73
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +91 -9
- package/sdk/application/Lead/LeadApplicationValidator.js +51 -6
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +34 -33
- package/sdk/application/Logistic/LogisticApplicationClient.js +110 -73
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +399 -28
- package/sdk/application/Logistic/LogisticApplicationModel.js +293 -24
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +48 -6
- package/sdk/application/Logistic/LogisticApplicationValidator.js +34 -6
- package/sdk/application/Order/OrderApplicationClient.d.ts +81 -133
- package/sdk/application/Order/OrderApplicationClient.js +297 -217
- package/sdk/application/Order/OrderApplicationModel.d.ts +1101 -66
- package/sdk/application/Order/OrderApplicationModel.js +776 -57
- package/sdk/application/Order/OrderApplicationValidator.d.ts +249 -14
- package/sdk/application/Order/OrderApplicationValidator.js +114 -5
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +341 -356
- package/sdk/application/Payment/PaymentApplicationClient.js +1077 -703
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +3125 -99
- package/sdk/application/Payment/PaymentApplicationModel.js +1158 -62
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +494 -41
- package/sdk/application/Payment/PaymentApplicationValidator.js +297 -25
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +178 -350
- package/sdk/application/PosCart/PosCartApplicationClient.js +636 -491
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +1823 -89
- package/sdk/application/PosCart/PosCartApplicationModel.js +1117 -85
- package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +480 -29
- package/sdk/application/PosCart/PosCartApplicationValidator.js +262 -15
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +49 -47
- package/sdk/application/Rewards/RewardsApplicationClient.js +160 -102
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +343 -22
- package/sdk/application/Rewards/RewardsApplicationModel.js +230 -15
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +70 -7
- package/sdk/application/Rewards/RewardsApplicationValidator.js +45 -6
- package/sdk/application/Share/ShareApplicationClient.d.ts +44 -50
- package/sdk/application/Share/ShareApplicationClient.js +165 -97
- package/sdk/application/Share/ShareApplicationModel.d.ts +230 -15
- package/sdk/application/Share/ShareApplicationModel.js +154 -16
- package/sdk/application/Share/ShareApplicationValidator.d.ts +86 -8
- package/sdk/application/Share/ShareApplicationValidator.js +48 -4
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +25 -27
- package/sdk/application/Theme/ThemeApplicationClient.js +83 -54
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +621 -48
- package/sdk/application/Theme/ThemeApplicationModel.js +464 -40
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +49 -5
- package/sdk/application/Theme/ThemeApplicationValidator.js +26 -3
- package/sdk/application/User/UserApplicationClient.d.ts +219 -303
- package/sdk/application/User/UserApplicationClient.js +819 -522
- package/sdk/application/User/UserApplicationModel.d.ts +1390 -101
- package/sdk/application/User/UserApplicationModel.js +983 -44
- package/sdk/application/User/UserApplicationValidator.d.ts +457 -33
- package/sdk/application/User/UserApplicationValidator.js +265 -31
- package/sdk/common/AxiosHelper.js +8 -2
- package/sdk/common/Paginator.d.ts +27 -12
- package/sdk/common/Paginator.js +15 -0
- package/sdk/common/RequestSigner.js +0 -1
- package/sdk/partner/PartnerAPIClient.d.ts +15 -1
- package/sdk/partner/PartnerAPIClient.js +8 -1
- package/sdk/partner/PartnerClient.d.ts +20 -3
- package/sdk/partner/PartnerClient.js +17 -0
- package/sdk/partner/PartnerConfig.d.ts +40 -14
- package/sdk/partner/PartnerConfig.js +31 -6
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +26 -25
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +82 -53
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +202 -17
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +139 -10
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +42 -5
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +26 -4
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +88 -97
- package/sdk/platform/Billing/BillingPlatformClient.js +310 -191
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +1211 -68
- package/sdk/platform/Billing/BillingPlatformModel.js +824 -59
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +153 -12
- package/sdk/platform/Billing/BillingPlatformValidator.js +87 -8
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +392 -634
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +1480 -957
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +827 -57
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +492 -34
- package/sdk/platform/Cart/CartPlatformModel.d.ts +3639 -175
- package/sdk/platform/Cart/CartPlatformModel.js +2368 -212
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +438 -615
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1449 -984
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1081 -49
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +482 -23
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +573 -824
- package/sdk/platform/Catalog/CatalogPlatformClient.js +1773 -1264
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6871 -326
- package/sdk/platform/Catalog/CatalogPlatformModel.js +4215 -349
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +1331 -71
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +611 -30
- package/sdk/platform/Common/CommonPlatformClient.d.ts +14 -21
- package/sdk/platform/Common/CommonPlatformClient.js +48 -33
- package/sdk/platform/Common/CommonPlatformModel.d.ts +448 -19
- package/sdk/platform/Common/CommonPlatformModel.js +224 -16
- package/sdk/platform/Common/CommonPlatformValidator.d.ts +42 -4
- package/sdk/platform/Common/CommonPlatformValidator.js +21 -3
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +457 -279
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +1423 -553
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +581 -42
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +294 -22
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +18 -5
- package/sdk/platform/Communication/CommunicationPlatformClient.js +58 -19
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1630 -102
- package/sdk/platform/Communication/CommunicationPlatformModel.js +1150 -85
- package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +16 -3
- package/sdk/platform/Communication/CommunicationPlatformValidator.js +11 -3
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +102 -111
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +321 -225
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +830 -43
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +612 -78
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +180 -13
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +98 -10
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +232 -212
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +737 -438
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +293 -22
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +184 -17
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +166 -178
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +519 -310
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +4504 -188
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2242 -204
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +332 -19
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +153 -10
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +495 -560
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1777 -987
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +872 -62
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +487 -35
- package/sdk/platform/Content/ContentPlatformModel.d.ts +1661 -108
- package/sdk/platform/Content/ContentPlatformModel.js +1217 -113
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +67 -101
- package/sdk/platform/Discount/DiscountPlatformClient.js +240 -176
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +242 -15
- package/sdk/platform/Discount/DiscountPlatformModel.js +162 -10
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +185 -13
- package/sdk/platform/Discount/DiscountPlatformValidator.js +88 -8
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +32 -41
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +106 -74
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +77 -6
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +41 -6
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +39 -54
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +124 -99
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +299 -20
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +207 -16
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +98 -8
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +54 -7
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +85 -91
- package/sdk/platform/Finance/FinancePlatformClient.js +272 -180
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +619 -50
- package/sdk/platform/Finance/FinancePlatformModel.js +458 -30
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +123 -15
- package/sdk/platform/Finance/FinancePlatformValidator.js +95 -16
- package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +99 -97
- package/sdk/platform/Inventory/InventoryPlatformClient.js +288 -199
- package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +1354 -61
- package/sdk/platform/Inventory/InventoryPlatformModel.js +916 -83
- package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +168 -12
- package/sdk/platform/Inventory/InventoryPlatformValidator.js +82 -6
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +86 -106
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +326 -186
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +180 -14
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +94 -9
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +75 -101
- package/sdk/platform/Lead/LeadPlatformClient.js +240 -174
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +1403 -54
- package/sdk/platform/Lead/LeadPlatformModel.js +618 -73
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +173 -12
- package/sdk/platform/Lead/LeadPlatformValidator.js +85 -8
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +18 -14
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +56 -29
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +26 -4
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +16 -3
- package/sdk/platform/Order/OrderPlatformClient.d.ts +343 -556
- package/sdk/platform/Order/OrderPlatformClient.js +969 -762
- package/sdk/platform/Order/OrderPlatformModel.d.ts +4967 -247
- package/sdk/platform/Order/OrderPlatformModel.js +3249 -259
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +758 -37
- package/sdk/platform/Order/OrderPlatformValidator.js +351 -22
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +28 -36
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +103 -59
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +66 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +32 -4
- package/sdk/platform/Partner/PartnerPlatformClient.d.ts +68 -107
- package/sdk/platform/Partner/PartnerPlatformClient.js +253 -174
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +767 -45
- package/sdk/platform/Partner/PartnerPlatformModel.js +524 -41
- package/sdk/platform/Partner/PartnerPlatformValidator.d.ts +207 -13
- package/sdk/platform/Partner/PartnerPlatformValidator.js +87 -5
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +255 -260
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +860 -504
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +348 -30
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +221 -19
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +73 -73
- package/sdk/platform/Payment/PaymentPlatformClient.js +238 -154
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2658 -93
- package/sdk/platform/Payment/PaymentPlatformModel.js +1035 -36
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +111 -11
- package/sdk/platform/Payment/PaymentPlatformValidator.js +68 -7
- package/sdk/platform/PlatformAPIClient.d.ts +16 -1
- package/sdk/platform/PlatformAPIClient.js +9 -1
- package/sdk/platform/PlatformApplicationClient.d.ts +22 -1798
- package/sdk/platform/PlatformApplicationClient.js +17 -1899
- package/sdk/platform/PlatformClient.d.ts +29 -12579
- package/sdk/platform/PlatformClient.js +26 -15085
- package/sdk/platform/PlatformConfig.d.ts +37 -11
- package/sdk/platform/PlatformConfig.js +32 -6
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +80 -92
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +307 -177
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +149 -12
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +82 -8
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +371 -23
- package/sdk/platform/Rewards/RewardsPlatformModel.js +246 -16
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +120 -89
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +349 -201
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +128 -12
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +85 -11
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +148 -178
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +454 -329
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1399 -96
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1022 -71
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +280 -18
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +134 -11
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +38 -47
- package/sdk/platform/Share/SharePlatformApplicationClient.js +137 -73
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +87 -7
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +42 -5
- package/sdk/platform/Share/SharePlatformModel.d.ts +250 -16
- package/sdk/platform/Share/SharePlatformModel.js +165 -17
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +149 -183
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +579 -330
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +308 -24
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +162 -10
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +621 -48
- package/sdk/platform/Theme/ThemePlatformModel.js +464 -40
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +119 -151
- package/sdk/platform/User/UserPlatformApplicationClient.js +411 -244
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +235 -18
- package/sdk/platform/User/UserPlatformApplicationValidator.js +126 -12
- package/sdk/platform/User/UserPlatformModel.d.ts +1390 -101
- package/sdk/platform/User/UserPlatformModel.js +983 -44
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +38 -47
- package/sdk/platform/Webhook/WebhookPlatformClient.js +137 -87
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +242 -16
- package/sdk/platform/Webhook/WebhookPlatformModel.js +167 -18
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +83 -7
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +43 -5
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +14 -21
- package/sdk/public/Configuration/ConfigurationPublicClient.js +46 -33
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +473 -19
- package/sdk/public/Configuration/ConfigurationPublicModel.js +224 -16
- package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +42 -4
- package/sdk/public/Configuration/ConfigurationPublicValidator.js +21 -3
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +48 -48
- package/sdk/public/Inventory/InventoryPublicClient.js +146 -98
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +392 -21
- package/sdk/public/Inventory/InventoryPublicModel.js +267 -27
- package/sdk/public/Inventory/InventoryPublicValidator.d.ts +90 -8
- package/sdk/public/Inventory/InventoryPublicValidator.js +44 -4
- package/sdk/public/PublicClient.d.ts +19 -3
- package/sdk/public/PublicClient.js +16 -0
- package/sdk/public/PublicConfig.d.ts +27 -6
- package/sdk/public/PublicConfig.js +17 -1
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +13 -11
- package/sdk/public/Webhook/WebhookPublicClient.js +42 -27
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +242 -16
- package/sdk/public/Webhook/WebhookPublicModel.js +167 -18
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +18 -3
- package/sdk/public/Webhook/WebhookPublicValidator.js +14 -4
|
@@ -1,94 +1,2659 @@
|
|
|
1
|
-
export =
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
1
|
+
export = PaymentPlatformModel;
|
|
2
|
+
/**
|
|
3
|
+
* @typedef AddBeneficiaryDetailsOTPRequest
|
|
4
|
+
* @property {BankDetailsForOTP} details
|
|
5
|
+
* @property {string} order_id
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* @typedef BankDetailsForOTP
|
|
9
|
+
* @property {string} account_holder
|
|
10
|
+
* @property {string} account_no
|
|
11
|
+
* @property {string} bank_name
|
|
12
|
+
* @property {string} branch_name
|
|
13
|
+
* @property {string} ifsc_code
|
|
14
|
+
*/
|
|
15
|
+
/**
|
|
16
|
+
* @typedef CancelOrResendPaymentLinkRequest
|
|
17
|
+
* @property {string} payment_link_id - Unique id of payment link
|
|
18
|
+
*/
|
|
19
|
+
/**
|
|
20
|
+
* @typedef CancelPaymentLinkResponse
|
|
21
|
+
* @property {string} message - Message
|
|
22
|
+
* @property {number} status_code - HTTP status code
|
|
23
|
+
* @property {boolean} success - Successful or failure
|
|
24
|
+
*/
|
|
25
|
+
/**
|
|
26
|
+
* @typedef CODdata
|
|
27
|
+
* @property {boolean} is_active - COD option is active or not
|
|
28
|
+
* @property {number} limit - Total Limit of user
|
|
29
|
+
* @property {number} remaining_limit - Remaining Limit for COD of User
|
|
30
|
+
* @property {number} usages - Used COD limit from the user Limit
|
|
31
|
+
* @property {string} user_id - Payment mode name
|
|
32
|
+
*/
|
|
33
|
+
/**
|
|
34
|
+
* @typedef Code
|
|
35
|
+
* @property {string} code - Payment Method Code
|
|
36
|
+
* @property {string} merchant_code - Merchant Payment Code
|
|
37
|
+
* @property {string} name - Name of payment method
|
|
38
|
+
*/
|
|
39
|
+
/**
|
|
40
|
+
* @typedef CreatePaymentLinkMeta
|
|
41
|
+
* @property {string} amount
|
|
42
|
+
* @property {string} [assign_card_id]
|
|
43
|
+
* @property {string} cart_id
|
|
44
|
+
* @property {string} checkout_mode
|
|
45
|
+
* @property {string} pincode
|
|
46
|
+
*/
|
|
47
|
+
/**
|
|
48
|
+
* @typedef CreatePaymentLinkRequest
|
|
49
|
+
* @property {number} amount - Total value of order
|
|
50
|
+
* @property {string} [description] - Merchant order id
|
|
51
|
+
* @property {string} email - Email to which the payment link is to be sent
|
|
52
|
+
* @property {string} external_order_id - Merchant order id
|
|
53
|
+
* @property {CreatePaymentLinkMeta} meta - Meta
|
|
54
|
+
* @property {string} mobile_number - Mobile number to which the payment link is
|
|
55
|
+
* to be sent
|
|
56
|
+
*/
|
|
57
|
+
/**
|
|
58
|
+
* @typedef CreatePaymentLinkResponse
|
|
59
|
+
* @property {string} message - Message
|
|
60
|
+
* @property {string} [payment_link_id] - Unique id of payment link
|
|
61
|
+
* @property {string} [payment_link_url] - Url of payment link
|
|
62
|
+
* @property {number} [polling_timeout] - Polling request timeout
|
|
63
|
+
* @property {number} status_code - HTTP status code
|
|
64
|
+
* @property {boolean} success - Successful or failure
|
|
65
|
+
*/
|
|
66
|
+
/**
|
|
67
|
+
* @typedef DeletePayoutResponse
|
|
68
|
+
* @property {boolean} success - Response is successful or not
|
|
69
|
+
*/
|
|
70
|
+
/**
|
|
71
|
+
* @typedef DeleteSubscriptionPaymentMethodResponse
|
|
72
|
+
* @property {boolean} success - Success or failure.
|
|
73
|
+
*/
|
|
74
|
+
/**
|
|
75
|
+
* @typedef EdcAddRequest
|
|
76
|
+
* @property {number} aggregator_id - Aggregator which will accept payment
|
|
77
|
+
* @property {string} [device_tag] - Device tag of edc device to identify it
|
|
78
|
+
* @property {string} edc_device_serial_no - Serial number or imei of EDC device
|
|
79
|
+
* @property {string} edc_model - Model of the edc machine
|
|
80
|
+
* @property {number} store_id - Store at which devices is to used
|
|
81
|
+
* @property {string} terminal_serial_no - Device serial number of
|
|
82
|
+
* terminal(android tablet)
|
|
83
|
+
*/
|
|
84
|
+
/**
|
|
85
|
+
* @typedef EdcAggregatorAndModelListResponse
|
|
86
|
+
* @property {EdcModelData[]} data - List of aggregators and their edc models
|
|
87
|
+
* @property {boolean} success - Response is successful or not
|
|
88
|
+
*/
|
|
89
|
+
/**
|
|
90
|
+
* @typedef EdcDevice
|
|
91
|
+
* @property {number} aggregator_id - Aggregator which will accept payment
|
|
92
|
+
* @property {string} [aggregator_name] - Name of the corresponding aggregator
|
|
93
|
+
* @property {string} application_id - Application ID
|
|
94
|
+
* @property {string} device_tag - Device tag of edc device to identify it
|
|
95
|
+
* @property {string} edc_device_serial_no - Serial number of EDC device
|
|
96
|
+
* @property {string} [edc_model] - Name of the model
|
|
97
|
+
* @property {boolean} is_active - State whether device is active or inactive
|
|
98
|
+
* @property {string} [merchant_store_pos_code] - This is provided by pinelabs
|
|
99
|
+
* @property {number} store_id - Store at which devices is to used
|
|
100
|
+
* @property {string} terminal_serial_no - Device serial number of
|
|
101
|
+
* terminal(android tablet)
|
|
102
|
+
* @property {string} terminal_unique_identifier - Genearated unique value for edc device
|
|
103
|
+
*/
|
|
104
|
+
/**
|
|
105
|
+
* @typedef EdcDeviceAddResponse
|
|
106
|
+
* @property {EdcDevice} data - Details of the EDC Device that is added
|
|
107
|
+
* @property {boolean} success - Response is successful or not
|
|
108
|
+
*/
|
|
109
|
+
/**
|
|
110
|
+
* @typedef EdcDeviceDetailsResponse
|
|
111
|
+
* @property {EdcDevice} data - Details of one EDC Device
|
|
112
|
+
* @property {boolean} success - Response is successful or not
|
|
113
|
+
*/
|
|
114
|
+
/**
|
|
115
|
+
* @typedef EdcDeviceListResponse
|
|
116
|
+
* @property {EdcDevice[]} items - List of all edc mapped to the application
|
|
117
|
+
* options with their Details.
|
|
118
|
+
* @property {Page} page - Pagination Response
|
|
119
|
+
* @property {boolean} success - Response is successful or not
|
|
120
|
+
*/
|
|
121
|
+
/**
|
|
122
|
+
* @typedef EdcDeviceStatsResponse
|
|
123
|
+
* @property {StatisticsData} statistics - Message
|
|
124
|
+
* @property {boolean} success - Response is successful or not
|
|
125
|
+
*/
|
|
126
|
+
/**
|
|
127
|
+
* @typedef EdcDeviceUpdateResponse
|
|
128
|
+
* @property {boolean} success - Response is successful or not
|
|
129
|
+
*/
|
|
130
|
+
/**
|
|
131
|
+
* @typedef EdcModelData
|
|
132
|
+
* @property {string} aggregator - Name of aggregator
|
|
133
|
+
* @property {number} aggregator_id - ID of aggregator
|
|
134
|
+
* @property {string[]} models - List of string of edc models
|
|
135
|
+
*/
|
|
136
|
+
/**
|
|
137
|
+
* @typedef EdcUpdateRequest
|
|
138
|
+
* @property {number} [aggregator_id] - Aggregator which will accept payment
|
|
139
|
+
* @property {string} [device_tag] - Device tag of edc device to identify it
|
|
140
|
+
* @property {string} [edc_device_serial_no] - Serial number or imei of EDC device
|
|
141
|
+
* @property {string} [edc_model] - Model of the edc machine
|
|
142
|
+
* @property {boolean} [is_active] - State whether device is active or inactive
|
|
143
|
+
* @property {string} [merchant_store_pos_code] - This is provided by pinelabs
|
|
144
|
+
* @property {number} [store_id] - Store at which devices is to used
|
|
145
|
+
*/
|
|
146
|
+
/**
|
|
147
|
+
* @typedef ErrorCodeAndDescription
|
|
148
|
+
* @property {string} code - Error descrption code.
|
|
149
|
+
* @property {string} description - Error human understandable description.
|
|
150
|
+
*/
|
|
151
|
+
/**
|
|
152
|
+
* @typedef ErrorCodeDescription
|
|
153
|
+
* @property {string} code - Error descrption code.
|
|
154
|
+
* @property {string} description - Error human understandable description.
|
|
155
|
+
* @property {boolean} success - Response is successful or not
|
|
156
|
+
*/
|
|
157
|
+
/**
|
|
158
|
+
* @typedef ErrorDescription
|
|
159
|
+
* @property {number} [amount] - Amount paid
|
|
160
|
+
* @property {boolean} [cancelled] - Payment link is cancelled or not
|
|
161
|
+
* @property {boolean} [expired] - Payment link expired or not
|
|
162
|
+
* @property {boolean} [invalid_id] - Payment link id is valid or not
|
|
163
|
+
* @property {string} [merchant_name] - Name of merchant that created payment link
|
|
164
|
+
* @property {string} [merchant_order_id] - Order id
|
|
165
|
+
* @property {string} [msg] - Message
|
|
166
|
+
* @property {string} [payment_transaction_id] - Payment transaction id
|
|
167
|
+
*/
|
|
168
|
+
/**
|
|
169
|
+
* @typedef ErrorResponse
|
|
170
|
+
* @property {ErrorDescription} [error]
|
|
171
|
+
* @property {string} message - Message
|
|
172
|
+
* @property {number} status_code - HTTP status code
|
|
173
|
+
* @property {boolean} success - Successful or failure
|
|
174
|
+
*/
|
|
175
|
+
/**
|
|
176
|
+
* @typedef GetOauthUrlResponse
|
|
177
|
+
* @property {boolean} success - Response is successful or not
|
|
178
|
+
* @property {string} url - The url to call for authenticating
|
|
179
|
+
*/
|
|
180
|
+
/**
|
|
181
|
+
* @typedef GetPaymentCode
|
|
182
|
+
* @property {PaymentCode} method_code - Payment method code
|
|
183
|
+
*/
|
|
184
|
+
/**
|
|
185
|
+
* @typedef GetPaymentCodeResponse
|
|
186
|
+
* @property {GetPaymentCode} data - Data about Payment Code.
|
|
187
|
+
* @property {boolean} success - Response is successful or not.
|
|
188
|
+
*/
|
|
189
|
+
/**
|
|
190
|
+
* @typedef GetPaymentLinkResponse
|
|
191
|
+
* @property {number} [amount] - Total value of order
|
|
192
|
+
* @property {string} [external_order_id] - Merchant order id
|
|
193
|
+
* @property {string} [merchant_name] - Merchant name
|
|
194
|
+
* @property {string} message - Message
|
|
195
|
+
* @property {string} [payment_link_current_status] - Status of payment link
|
|
196
|
+
* @property {string} [payment_link_url] - Url of payment link
|
|
197
|
+
* @property {number} [polling_timeout] - Polling request timeout
|
|
198
|
+
* @property {number} status_code - HTTP status code
|
|
199
|
+
* @property {boolean} success - Successful or failure
|
|
200
|
+
*/
|
|
201
|
+
/**
|
|
202
|
+
* @typedef GetUserCODLimitResponse
|
|
203
|
+
* @property {boolean} success - Response is successful or not
|
|
204
|
+
* @property {CODdata} user_cod_data - User COD Data
|
|
205
|
+
*/
|
|
206
|
+
/**
|
|
207
|
+
* @typedef HttpErrorCodeAndResponse
|
|
208
|
+
* @property {ErrorCodeAndDescription} error
|
|
209
|
+
* @property {boolean} success - Response is successful or not
|
|
210
|
+
*/
|
|
211
|
+
/**
|
|
212
|
+
* @typedef IfscCodeResponse
|
|
213
|
+
* @property {string} bank_name - Bank Name Of Account
|
|
214
|
+
* @property {string} branch_name - Branch Name Of Account
|
|
215
|
+
* @property {boolean} [success] - Response is successful or not
|
|
216
|
+
*/
|
|
217
|
+
/**
|
|
218
|
+
* @typedef IntentApp
|
|
219
|
+
* @property {string} [code] - Code
|
|
220
|
+
* @property {string} [display_name] - Display_name
|
|
221
|
+
* @property {PaymentModeLogo} [logos] - Logos
|
|
222
|
+
* @property {string} [package_name] - Package_name
|
|
223
|
+
*/
|
|
224
|
+
/**
|
|
225
|
+
* @typedef IntentAppErrorList
|
|
226
|
+
* @property {string} [code] - Code
|
|
227
|
+
* @property {string} [package_name] - Package_name
|
|
228
|
+
*/
|
|
229
|
+
/**
|
|
230
|
+
* @typedef LinkStatus
|
|
231
|
+
* @property {string} message - Message
|
|
232
|
+
* @property {boolean} status - Link action status
|
|
233
|
+
*/
|
|
234
|
+
/**
|
|
235
|
+
* @typedef MerchantOnBoardingRequest
|
|
236
|
+
* @property {string} aggregator - Payment aggregator name
|
|
237
|
+
* @property {string} app_id - Application id
|
|
238
|
+
* @property {string} credit_line_id - Merchant ID at Ajiodhan's end
|
|
239
|
+
* @property {string} status - Status
|
|
240
|
+
* @property {string} user_id - Deadlock/Grimlock user id
|
|
241
|
+
*/
|
|
242
|
+
/**
|
|
243
|
+
* @typedef MerchantOnBoardingResponse
|
|
244
|
+
* @property {Object} data
|
|
245
|
+
* @property {boolean} success - Success/Failure of the transaction
|
|
246
|
+
*/
|
|
247
|
+
/**
|
|
248
|
+
* @typedef MultiTenderPaymentMeta
|
|
249
|
+
* @property {string} [current_status]
|
|
250
|
+
* @property {Object} [extra_meta]
|
|
251
|
+
* @property {string} [order_id]
|
|
252
|
+
* @property {string} [payment_gateway]
|
|
253
|
+
* @property {string} [payment_id]
|
|
254
|
+
*/
|
|
255
|
+
/**
|
|
256
|
+
* @typedef MultiTenderPaymentMethod
|
|
257
|
+
* @property {number} amount - Payment amount
|
|
258
|
+
* @property {MultiTenderPaymentMeta} [meta]
|
|
259
|
+
* @property {string} mode
|
|
260
|
+
* @property {string} [name] - Payment mode name
|
|
261
|
+
*/
|
|
262
|
+
/**
|
|
263
|
+
* @typedef NotFoundResourceError
|
|
264
|
+
* @property {string} code - Bad Request Data
|
|
265
|
+
* @property {string} description - Not Found
|
|
266
|
+
* @property {boolean} success - Response is successful or not
|
|
267
|
+
*/
|
|
268
|
+
/**
|
|
269
|
+
* @typedef OrderBeneficiaryDetails
|
|
270
|
+
* @property {string} account_holder - Account Holder Name
|
|
271
|
+
* @property {string} account_no - Account Number
|
|
272
|
+
* @property {string} address - Address of User
|
|
273
|
+
* @property {string} bank_name - Bank Name Of Account
|
|
274
|
+
* @property {string} beneficiary_id - Benenficiary Id
|
|
275
|
+
* @property {string} [branch_name] - Branch Name Of Account
|
|
276
|
+
* @property {string} [comment] - Remarks
|
|
277
|
+
* @property {string} created_on - Creation Date of Beneficiary
|
|
278
|
+
* @property {string} [delights_user_name] - User Id Who filled the Beneficiary
|
|
279
|
+
* @property {string} display_name - Display Name Of Account
|
|
280
|
+
* @property {string} email - EMail of User
|
|
281
|
+
* @property {number} id -
|
|
282
|
+
* @property {string} ifsc_code - Ifsc Code Of Account
|
|
283
|
+
* @property {boolean} is_active - Boolean Flag whether Beneficiary set or not
|
|
284
|
+
* @property {string} [mobile] - MObile no of User
|
|
285
|
+
* @property {string} modified_on - MOdification Date of Beneficiary
|
|
286
|
+
* @property {string} subtitle - SHort Title Of Account
|
|
287
|
+
* @property {string} title - Title Of Account
|
|
288
|
+
* @property {string} transfer_mode - Transfer Mode Of Account
|
|
289
|
+
*/
|
|
290
|
+
/**
|
|
291
|
+
* @typedef OrderBeneficiaryResponse
|
|
292
|
+
* @property {OrderBeneficiaryDetails[]} [beneficiaries] - All Beneficiaries Of An Order
|
|
293
|
+
* @property {boolean} [show_beneficiary_details] - Show beneficiary details or not.
|
|
294
|
+
*/
|
|
295
|
+
/**
|
|
296
|
+
* @typedef Page
|
|
297
|
+
* @property {number} [current]
|
|
298
|
+
* @property {boolean} [has_next]
|
|
299
|
+
* @property {boolean} [has_previous]
|
|
300
|
+
* @property {number} [item_total]
|
|
301
|
+
* @property {string} [next_id]
|
|
302
|
+
* @property {number} [size]
|
|
303
|
+
* @property {string} type
|
|
304
|
+
*/
|
|
305
|
+
/**
|
|
306
|
+
* @typedef PaymentCode
|
|
307
|
+
* @property {Code} codes - List of dict that contains payment method data
|
|
308
|
+
* @property {string} name - Name of payment name
|
|
309
|
+
* @property {string} networks - Payment networks
|
|
310
|
+
* @property {string} types - Type of payment mode
|
|
311
|
+
*/
|
|
312
|
+
/**
|
|
313
|
+
* @typedef PaymentConfirmationRequest
|
|
314
|
+
* @property {string} order_id - Unique order id
|
|
315
|
+
* @property {MultiTenderPaymentMethod[]} payment_methods
|
|
316
|
+
*/
|
|
317
|
+
/**
|
|
318
|
+
* @typedef PaymentConfirmationResponse
|
|
319
|
+
* @property {string} message - Message
|
|
320
|
+
* @property {string} order_id - Unique order id
|
|
321
|
+
* @property {boolean} success - Payment confirmation updated or not.
|
|
322
|
+
*/
|
|
323
|
+
/**
|
|
324
|
+
* @typedef PaymentGatewayConfig
|
|
325
|
+
* @property {string} config_type - Config Type of the aggregator
|
|
326
|
+
* @property {boolean} [is_active] - Enable/ Disable Flag
|
|
327
|
+
* @property {string} key - Api key of the payment aggregator
|
|
328
|
+
* @property {string} merchant_salt - Merchant key of the payment aggregator
|
|
329
|
+
* @property {string} secret - Secret Key of the payment aggregator
|
|
330
|
+
*/
|
|
331
|
+
/**
|
|
332
|
+
* @typedef PaymentGatewayConfigRequest
|
|
333
|
+
* @property {PaymentGatewayConfig} [aggregator_name]
|
|
334
|
+
* @property {string} app_id - Application Id to which Payment config Mapped
|
|
335
|
+
* @property {boolean} [is_active] - Enable/ Disable Flag
|
|
336
|
+
*/
|
|
337
|
+
/**
|
|
338
|
+
* @typedef PaymentGatewayConfigResponse
|
|
339
|
+
* @property {Object[]} [aggregators] - List of all speceific Payment options
|
|
340
|
+
* with their Details.
|
|
341
|
+
* @property {string} app_id - Application Id to which Payment config Mapped
|
|
342
|
+
* @property {boolean} created - Response is created or not
|
|
343
|
+
* @property {string[]} display_fields - List of all included options with their Details.
|
|
344
|
+
* @property {string[]} excluded_fields - List of all excluded options with their Details.
|
|
345
|
+
* @property {boolean} success - Response is successful or not
|
|
346
|
+
*/
|
|
347
|
+
/**
|
|
348
|
+
* @typedef PaymentGatewayToBeReviewed
|
|
349
|
+
* @property {string[]} aggregator - List of added payment gateway
|
|
350
|
+
* @property {boolean} success - Response is successful or not
|
|
351
|
+
*/
|
|
352
|
+
/**
|
|
353
|
+
* @typedef PaymentInitializationRequest
|
|
354
|
+
* @property {string} aggregator - Payment gateway name
|
|
355
|
+
* @property {number} amount - Payable amount.
|
|
356
|
+
* @property {string} contact - Customer valid mobile number
|
|
357
|
+
* @property {string} currency - Currency code.
|
|
358
|
+
* @property {string} customer_id - Payment gateway customer id.
|
|
359
|
+
* @property {string} [device_id] - EDC machine Unique Identifier
|
|
360
|
+
* @property {string} email - Customer valid email
|
|
361
|
+
* @property {string} merchant_order_id - Unique fynd order id
|
|
362
|
+
* @property {string} method - Payment method
|
|
363
|
+
* @property {string} order_id - Payment gateway order id
|
|
364
|
+
* @property {string} [razorpay_payment_id] - Payment gateway payment id
|
|
365
|
+
* @property {number} [timeout] - Payment polling timeout if not recieved response
|
|
366
|
+
* @property {string} [vpa] - Customer vpa address
|
|
367
|
+
*/
|
|
368
|
+
/**
|
|
369
|
+
* @typedef PaymentInitializationResponse
|
|
370
|
+
* @property {string} aggregator - Payment gateway name
|
|
371
|
+
* @property {string} [aggregator_order_id] - Payment order id
|
|
372
|
+
* @property {number} [amount] - Payable amount.
|
|
373
|
+
* @property {string} [bqr_image] - Bharath qr image url.
|
|
374
|
+
* @property {string} [currency] - Currency code.
|
|
375
|
+
* @property {string} [customer_id] - Payment gateway customer id.
|
|
376
|
+
* @property {string} [device_id] - EDC machine Unique Identifier
|
|
377
|
+
* @property {string} merchant_order_id - Order id
|
|
378
|
+
* @property {string} method - Payment method
|
|
379
|
+
* @property {string} polling_url - Polling url.
|
|
380
|
+
* @property {string} [razorpay_payment_id] - Payment id.
|
|
381
|
+
* @property {string} [status] - Status of payment.
|
|
382
|
+
* @property {boolean} success - Response is successful or not.
|
|
383
|
+
* @property {number} [timeout] - Timeout.
|
|
384
|
+
* @property {string} [upi_poll_url] - UPI poll url.
|
|
385
|
+
* @property {string} [virtual_id] - Payment virtual address.
|
|
386
|
+
* @property {string} [vpa] - Customer vpa address
|
|
387
|
+
*/
|
|
388
|
+
/**
|
|
389
|
+
* @typedef PaymentModeList
|
|
390
|
+
* @property {string} aggregator_name - Aggregator_name
|
|
391
|
+
* @property {string} [card_brand] - Card_brand
|
|
392
|
+
* @property {string} [card_brand_image] - Card_brand_image
|
|
393
|
+
* @property {string} [card_fingerprint] - Card_fingerprint
|
|
394
|
+
* @property {string} [card_id] - Card_id
|
|
395
|
+
* @property {string} [card_isin] - Card_isin
|
|
396
|
+
* @property {string} [card_issuer] - Card_issuer
|
|
397
|
+
* @property {string} [card_name] - Card_name
|
|
398
|
+
* @property {string} [card_number] - Card_number
|
|
399
|
+
* @property {string} [card_reference] - Card_reference
|
|
400
|
+
* @property {string} [card_token] - Card_token
|
|
401
|
+
* @property {string} [card_type] - Card_type
|
|
402
|
+
* @property {number} [cod_limit] - Cod limit
|
|
403
|
+
* @property {number} [cod_limit_per_order] - Cod limit per order
|
|
404
|
+
* @property {string} [code] - Code
|
|
405
|
+
* @property {boolean} [compliant_with_tokenisation_guidelines] - If card is
|
|
406
|
+
* tokenised or not
|
|
407
|
+
* @property {string} [display_name] - Display name
|
|
408
|
+
* @property {number} [display_priority] - Dispaly Priority
|
|
409
|
+
* @property {number} [exp_month] - Exp_month
|
|
410
|
+
* @property {number} [exp_year] - Exp_year
|
|
411
|
+
* @property {boolean} [expired] - Expired
|
|
412
|
+
* @property {string} [fynd_vpa] - Fynd_vpa
|
|
413
|
+
* @property {IntentApp[]} [intent_app] - Intent_app
|
|
414
|
+
* @property {IntentAppErrorList[]} [intent_app_error_dict_list] -
|
|
415
|
+
* Intent_app_error_dict_list
|
|
416
|
+
* @property {string[]} [intent_app_error_list] - Intent_app_error_list
|
|
417
|
+
* @property {boolean} [intent_flow] - Intent_flow
|
|
418
|
+
* @property {PaymentModeLogo} [logo_url] - Logo
|
|
419
|
+
* @property {string} [merchant_code] - Merchant code
|
|
420
|
+
* @property {string} [name] - Name
|
|
421
|
+
* @property {string} [nickname] - Nickname
|
|
422
|
+
* @property {number} [remaining_limit] - Remaining limit
|
|
423
|
+
* @property {number} [retry_count] - Retry_count
|
|
424
|
+
* @property {number} [timeout] - Timeout
|
|
425
|
+
*/
|
|
426
|
+
/**
|
|
427
|
+
* @typedef PaymentModeLogo
|
|
428
|
+
* @property {string} large - Large
|
|
429
|
+
* @property {string} small - Smalll
|
|
430
|
+
*/
|
|
431
|
+
/**
|
|
432
|
+
* @typedef PaymentObjectListSerializer
|
|
433
|
+
* @property {Object} [aggregator_payment_object]
|
|
434
|
+
* @property {string[]} all_status
|
|
435
|
+
* @property {string} amount_in_paisa
|
|
436
|
+
* @property {string} application_id
|
|
437
|
+
* @property {string} collected_by
|
|
438
|
+
* @property {string} company_id
|
|
439
|
+
* @property {string} created_on
|
|
440
|
+
* @property {string} currency
|
|
441
|
+
* @property {string} current_status
|
|
442
|
+
* @property {string} id
|
|
443
|
+
* @property {string} modified_on
|
|
444
|
+
* @property {string} payment_gateway
|
|
445
|
+
* @property {string} [payment_id]
|
|
446
|
+
* @property {string} payment_mode
|
|
447
|
+
* @property {string} payment_mode_identifier
|
|
448
|
+
* @property {Object} [refund_object]
|
|
449
|
+
* @property {string} refunded_by
|
|
450
|
+
* @property {Object} user_object
|
|
451
|
+
*/
|
|
452
|
+
/**
|
|
453
|
+
* @typedef PaymentOptions
|
|
454
|
+
* @property {RootPaymentMode[]} payment_option - Payment options
|
|
455
|
+
*/
|
|
456
|
+
/**
|
|
457
|
+
* @typedef PaymentOptionsResponse
|
|
458
|
+
* @property {PaymentOptions} payment_options - Payment options
|
|
459
|
+
* @property {boolean} success - Response is successful or not
|
|
460
|
+
*/
|
|
461
|
+
/**
|
|
462
|
+
* @typedef PaymentStatusBulkHandlerRequest
|
|
463
|
+
* @property {string[]} merchant_order_id - List of order ids
|
|
464
|
+
*/
|
|
465
|
+
/**
|
|
466
|
+
* @typedef PaymentStatusBulkHandlerResponse
|
|
467
|
+
* @property {number} [count]
|
|
468
|
+
* @property {PaymentStatusObject[]} [data]
|
|
469
|
+
* @property {string} [error]
|
|
470
|
+
* @property {number} status
|
|
471
|
+
* @property {string} success
|
|
472
|
+
*/
|
|
473
|
+
/**
|
|
474
|
+
* @typedef PaymentStatusObject
|
|
475
|
+
* @property {string} merchant_order_id
|
|
476
|
+
* @property {PaymentObjectListSerializer[]} [payment_object_list]
|
|
477
|
+
*/
|
|
478
|
+
/**
|
|
479
|
+
* @typedef PaymentStatusUpdateRequest
|
|
480
|
+
* @property {string} aggregator - Payment gateway name
|
|
481
|
+
* @property {number} amount - Payable amount.
|
|
482
|
+
* @property {string} contact - Customer valid mobile number
|
|
483
|
+
* @property {string} currency - Currency code.
|
|
484
|
+
* @property {string} customer_id - Payment gateway customer id.
|
|
485
|
+
* @property {string} [device_id] - EDC machine Unique Identifier
|
|
486
|
+
* @property {string} email - Customer valid email
|
|
487
|
+
* @property {string} merchant_order_id - Unique fynd order id
|
|
488
|
+
* @property {string} merchant_transaction_id - Unique fynd transaction id
|
|
489
|
+
* @property {string} method - Payment method
|
|
490
|
+
* @property {string} order_id - Payment gateway order id
|
|
491
|
+
* @property {string} status - Status of payment.
|
|
492
|
+
* @property {string} [vpa] - Customer vpa address
|
|
493
|
+
*/
|
|
494
|
+
/**
|
|
495
|
+
* @typedef PaymentStatusUpdateResponse
|
|
496
|
+
* @property {string} aggregator_name - Payment gateway name
|
|
497
|
+
* @property {string} [redirect_url] - Redirect url
|
|
498
|
+
* @property {boolean} retry - Response is successful or not.
|
|
499
|
+
* @property {string} status - Payment status
|
|
500
|
+
* @property {boolean} [success] - Response is successful or not
|
|
501
|
+
*/
|
|
502
|
+
/**
|
|
503
|
+
* @typedef Payout
|
|
504
|
+
* @property {PayoutCustomer} customers - Customers details object
|
|
505
|
+
* @property {boolean} is_active - Enable/DIsable Flag Payout
|
|
506
|
+
* @property {boolean} is_default - Default or not
|
|
507
|
+
* @property {PayoutMoreAttributes} more_attributes - Bank details object
|
|
508
|
+
* @property {PayoutAggregator[]} [payouts_aggregators]
|
|
509
|
+
* @property {string} transfer_type - Transafer type
|
|
510
|
+
* @property {string} unique_transfer_no - Display priority of the payment mode
|
|
511
|
+
*/
|
|
512
|
+
/**
|
|
513
|
+
* @typedef PayoutAggregator
|
|
514
|
+
* @property {number} [aggregator_fund_id] - Aggregator_fund_id
|
|
515
|
+
* @property {number} [aggregator_id] - Aggregator_id
|
|
516
|
+
* @property {number} [payout_details_id] - Payout_details_id
|
|
517
|
+
*/
|
|
518
|
+
/**
|
|
519
|
+
* @typedef PayoutBankDetails
|
|
520
|
+
* @property {string} [account_holder]
|
|
521
|
+
* @property {string} [account_no]
|
|
522
|
+
* @property {string} account_type
|
|
523
|
+
* @property {string} [bank_name]
|
|
524
|
+
* @property {string} [branch_name]
|
|
525
|
+
* @property {string} [city]
|
|
526
|
+
* @property {string} [country]
|
|
527
|
+
* @property {string} ifsc_code
|
|
528
|
+
* @property {number} [pincode]
|
|
529
|
+
* @property {string} [state]
|
|
530
|
+
*/
|
|
531
|
+
/**
|
|
532
|
+
* @typedef PayoutCustomer
|
|
533
|
+
* @property {string} [email] - Customer Email
|
|
534
|
+
* @property {number} [id] - Customer ID
|
|
535
|
+
* @property {string} [mobile] - Customer Mobile No
|
|
536
|
+
* @property {string} [name] - Customer Name
|
|
537
|
+
* @property {string} [unique_external_id] - Unique_external_id
|
|
538
|
+
*/
|
|
539
|
+
/**
|
|
540
|
+
* @typedef PayoutMoreAttributes
|
|
541
|
+
* @property {string} [account_holder] - Account Holder Name
|
|
542
|
+
* @property {string} [account_no] - Account Number
|
|
543
|
+
* @property {string} [account_type] - Account Type Saving/Current
|
|
544
|
+
* @property {string} [bank_name] - Name of Bank
|
|
545
|
+
* @property {string} [branch_name] - Branch Name
|
|
546
|
+
* @property {string} [city] - City
|
|
547
|
+
* @property {string} [country] - Country
|
|
548
|
+
* @property {string} [ifsc_code] - IFSC Code
|
|
549
|
+
* @property {string} [state] - State
|
|
550
|
+
*/
|
|
551
|
+
/**
|
|
552
|
+
* @typedef PayoutRequest
|
|
553
|
+
* @property {string} aggregator - Aggregator Name
|
|
554
|
+
* @property {PayoutBankDetails} bank_details - Payout bank details object
|
|
555
|
+
* @property {boolean} is_active - Enable/Disable Flag Payout
|
|
556
|
+
* @property {string} transfer_type - Transafer type
|
|
557
|
+
* @property {string} unique_external_id - Unique Id of Payout
|
|
558
|
+
* @property {Object} users - Payout users object
|
|
559
|
+
*/
|
|
560
|
+
/**
|
|
561
|
+
* @typedef PayoutResponse
|
|
562
|
+
* @property {string} aggregator - Aggregator Name
|
|
563
|
+
* @property {Object} bank_details - Payout bank_details object
|
|
564
|
+
* @property {boolean} created - Created flag
|
|
565
|
+
* @property {boolean} is_active - Enable/DIsable Flag Payout
|
|
566
|
+
* @property {string} payment_status - Status of payment
|
|
567
|
+
* @property {Object} payouts - Payout object
|
|
568
|
+
* @property {boolean} success - Response is successful or not
|
|
569
|
+
* @property {string} transfer_type - Transfer type
|
|
570
|
+
* @property {string} unique_transfer_no - Unique transfer no
|
|
571
|
+
* @property {Object} users - Users details object
|
|
572
|
+
*/
|
|
573
|
+
/**
|
|
574
|
+
* @typedef PayoutsResponse
|
|
575
|
+
* @property {Payout[]} items - Contains list of PayoutSchema
|
|
576
|
+
* @property {boolean} success - Response is successful or not
|
|
577
|
+
*/
|
|
578
|
+
/**
|
|
579
|
+
* @typedef PollingPaymentLinkResponse
|
|
580
|
+
* @property {string} [aggregator_name] - Aggregator name
|
|
581
|
+
* @property {number} [amount] - Amount
|
|
582
|
+
* @property {number} [http_status] - HTTP status code
|
|
583
|
+
* @property {string} [message] - Message
|
|
584
|
+
* @property {string} [order_id] - Fynd order id
|
|
585
|
+
* @property {string} [payment_link_id] - Payment link id
|
|
586
|
+
* @property {string} [redirect_url] - Url to redirect to
|
|
587
|
+
* @property {string} [status] - Status of payment link
|
|
588
|
+
* @property {number} [status_code] - HTTP status code
|
|
589
|
+
* @property {boolean} [success] - Successful or failure
|
|
590
|
+
*/
|
|
591
|
+
/**
|
|
592
|
+
* @typedef RefundAccountResponse
|
|
593
|
+
* @property {Object} [data] - Refund account data.
|
|
594
|
+
* @property {boolean} [is_verified_flag]
|
|
595
|
+
* @property {string} message - Response message
|
|
596
|
+
* @property {boolean} success - Success or failure flag.
|
|
597
|
+
*/
|
|
598
|
+
/**
|
|
599
|
+
* @typedef RepaymentDetailsSerialiserPayAll
|
|
600
|
+
* @property {string} aggregator_order_id - Id of payment gateway
|
|
601
|
+
* @property {string} aggregator_transaction_id - Unique Id for the transaction
|
|
602
|
+
* @property {string} extension_order_id - Order id created in extension
|
|
603
|
+
* @property {RepaymentRequestDetails[]} [shipment_details]
|
|
604
|
+
* @property {number} total_amount - Total amount
|
|
605
|
+
*/
|
|
606
|
+
/**
|
|
607
|
+
* @typedef RepaymentRequestDetails
|
|
608
|
+
* @property {string} aggregator - Name of Payment Gateway
|
|
609
|
+
* @property {string} aggregator_order_id - Id of payment gateway
|
|
610
|
+
* @property {string} aggregator_transaction_id - Unique Id for the transaction
|
|
611
|
+
* @property {number} amount - Amount to paid back
|
|
612
|
+
* @property {string} current_status - Status
|
|
613
|
+
* @property {string} fwd_shipment_id - Purchase Shipment Id
|
|
614
|
+
* @property {string} merchant_order_id - Merchant's Order Id
|
|
615
|
+
* @property {number} outstanding_details_id - Outstanding details ID
|
|
616
|
+
* @property {string} payment_mode - Payment Mode
|
|
617
|
+
* @property {string} payment_mode_identifier - Payment Mode Id
|
|
618
|
+
*/
|
|
619
|
+
/**
|
|
620
|
+
* @typedef RepaymentResponse
|
|
621
|
+
* @property {Object} data
|
|
622
|
+
* @property {boolean} success - Success/Failure of the transaction
|
|
623
|
+
*/
|
|
624
|
+
/**
|
|
625
|
+
* @typedef ResendOrCancelPaymentRequest
|
|
626
|
+
* @property {string} [device_id] - EDC machine Unique Identifier
|
|
627
|
+
* @property {string} order_id - Unique order id
|
|
628
|
+
* @property {string} request_type - Either resend or cancel
|
|
629
|
+
*/
|
|
630
|
+
/**
|
|
631
|
+
* @typedef ResendOrCancelPaymentResponse
|
|
632
|
+
* @property {LinkStatus} data - Data about link action status.
|
|
633
|
+
* @property {boolean} success - Response is successful or not.
|
|
634
|
+
*/
|
|
635
|
+
/**
|
|
636
|
+
* @typedef ResendPaymentLinkResponse
|
|
637
|
+
* @property {string} message - Message
|
|
638
|
+
* @property {number} [polling_timeout] - Polling request timeout
|
|
639
|
+
* @property {number} status_code - HTTP status code
|
|
640
|
+
* @property {boolean} success - Successful or failure
|
|
641
|
+
*/
|
|
642
|
+
/**
|
|
643
|
+
* @typedef RevokeOAuthToken
|
|
644
|
+
* @property {string} message - The confirmation message of the token revoke.
|
|
645
|
+
* @property {boolean} success - Response is successful or not
|
|
646
|
+
*/
|
|
647
|
+
/**
|
|
648
|
+
* @typedef RootPaymentMode
|
|
649
|
+
* @property {boolean} [add_card_enabled] - Annonymous card flag
|
|
650
|
+
* @property {string} [aggregator_name] - Dispaly Priority
|
|
651
|
+
* @property {boolean} [anonymous_enable] - Annonymous card flag
|
|
652
|
+
* @property {string} display_name - Payment mode display name
|
|
653
|
+
* @property {number} display_priority - Dispaly Priority
|
|
654
|
+
* @property {boolean} [is_pay_by_card_pl] - This flag will be true in case of
|
|
655
|
+
* Payment link payment through card
|
|
656
|
+
* @property {PaymentModeList[]} [list] - Payment mode
|
|
657
|
+
* @property {string} name - Payment mode name
|
|
658
|
+
* @property {boolean} [save_card] - Card save or not
|
|
659
|
+
*/
|
|
660
|
+
/**
|
|
661
|
+
* @typedef SaveSubscriptionSetupIntentRequest
|
|
662
|
+
* @property {string} unique_external_id - Unique id i.e company:id
|
|
663
|
+
*/
|
|
664
|
+
/**
|
|
665
|
+
* @typedef SaveSubscriptionSetupIntentResponse
|
|
666
|
+
* @property {Object} data - Subscription Payment Method Object
|
|
667
|
+
* @property {boolean} success - Response is successful or not
|
|
668
|
+
*/
|
|
669
|
+
/**
|
|
670
|
+
* @typedef SetCODForUserRequest
|
|
671
|
+
* @property {boolean} is_active - Either true or false
|
|
672
|
+
* @property {string} merchant_user_id - Merchant User id
|
|
673
|
+
* @property {string} mobileno - Mobile No. of User
|
|
674
|
+
*/
|
|
675
|
+
/**
|
|
676
|
+
* @typedef SetCODOptionResponse
|
|
677
|
+
* @property {string} message - Message
|
|
678
|
+
* @property {boolean} success - Response is successful or not
|
|
679
|
+
*/
|
|
680
|
+
/**
|
|
681
|
+
* @typedef StatisticsData
|
|
682
|
+
* @property {number} active_device_count - No of active devices
|
|
683
|
+
* @property {number} inactive_device_count - No of inactive devices
|
|
684
|
+
*/
|
|
685
|
+
/**
|
|
686
|
+
* @typedef SubscriptionConfigResponse
|
|
687
|
+
* @property {string} aggregator - Aggregator Name
|
|
688
|
+
* @property {Object} config - Aggregator Config
|
|
689
|
+
* @property {boolean} success - Response is successful or not
|
|
690
|
+
*/
|
|
691
|
+
/**
|
|
692
|
+
* @typedef SubscriptionPaymentMethodResponse
|
|
693
|
+
* @property {Object[]} data - Subscription Payment Method Object
|
|
694
|
+
* @property {boolean} success - Response is successful or not
|
|
695
|
+
*/
|
|
696
|
+
/**
|
|
697
|
+
* @typedef UpdatePayoutRequest
|
|
698
|
+
* @property {boolean} is_active - Enable/Disable Flag Payout
|
|
699
|
+
* @property {boolean} is_default - Enable/Disable Default Payout
|
|
700
|
+
* @property {string} unique_external_id - Unique Id of Payout
|
|
701
|
+
*/
|
|
702
|
+
/**
|
|
703
|
+
* @typedef UpdatePayoutResponse
|
|
704
|
+
* @property {boolean} is_active - Enable/DIsable Flag Payout
|
|
705
|
+
* @property {boolean} is_default - Enable/Disable Default Payout
|
|
706
|
+
* @property {boolean} success - Response is successful or not
|
|
707
|
+
*/
|
|
708
|
+
/**
|
|
709
|
+
* @typedef ValidateCustomerRequest
|
|
710
|
+
* @property {string} aggregator - Payment gateway name in camel case i.e Simpl, Rupifi
|
|
711
|
+
* @property {Object} [billing_address] - Extra meta fields.
|
|
712
|
+
* @property {Object} [delivery_address] - Extra meta fields.
|
|
713
|
+
* @property {Object} [merchant_params] - Extra meta fields.
|
|
714
|
+
* @property {Object[]} [order_items] - Extra meta fields.
|
|
715
|
+
* @property {string} [payload] - Hashed payload string.
|
|
716
|
+
* @property {string} phone_number - User mobile number without country code.
|
|
717
|
+
* @property {number} transaction_amount_in_paise - Payable amount in paise
|
|
718
|
+
*/
|
|
719
|
+
/**
|
|
720
|
+
* @typedef ValidateCustomerResponse
|
|
721
|
+
* @property {Object} data - Payment gateway response data
|
|
722
|
+
* @property {string} message - Error or success message.
|
|
723
|
+
* @property {boolean} success - Response is successful or not
|
|
724
|
+
*/
|
|
725
|
+
declare class PaymentPlatformModel {
|
|
94
726
|
}
|
|
727
|
+
declare namespace PaymentPlatformModel {
|
|
728
|
+
export { AddBeneficiaryDetailsOTPRequest, BankDetailsForOTP, CancelOrResendPaymentLinkRequest, CancelPaymentLinkResponse, CODdata, Code, CreatePaymentLinkMeta, CreatePaymentLinkRequest, CreatePaymentLinkResponse, DeletePayoutResponse, DeleteSubscriptionPaymentMethodResponse, EdcAddRequest, EdcAggregatorAndModelListResponse, EdcDevice, EdcDeviceAddResponse, EdcDeviceDetailsResponse, EdcDeviceListResponse, EdcDeviceStatsResponse, EdcDeviceUpdateResponse, EdcModelData, EdcUpdateRequest, ErrorCodeAndDescription, ErrorCodeDescription, ErrorDescription, ErrorResponse, GetOauthUrlResponse, GetPaymentCode, GetPaymentCodeResponse, GetPaymentLinkResponse, GetUserCODLimitResponse, HttpErrorCodeAndResponse, IfscCodeResponse, IntentApp, IntentAppErrorList, LinkStatus, MerchantOnBoardingRequest, MerchantOnBoardingResponse, MultiTenderPaymentMeta, MultiTenderPaymentMethod, NotFoundResourceError, OrderBeneficiaryDetails, OrderBeneficiaryResponse, Page, PaymentCode, PaymentConfirmationRequest, PaymentConfirmationResponse, PaymentGatewayConfig, PaymentGatewayConfigRequest, PaymentGatewayConfigResponse, PaymentGatewayToBeReviewed, PaymentInitializationRequest, PaymentInitializationResponse, PaymentModeList, PaymentModeLogo, PaymentObjectListSerializer, PaymentOptions, PaymentOptionsResponse, PaymentStatusBulkHandlerRequest, PaymentStatusBulkHandlerResponse, PaymentStatusObject, PaymentStatusUpdateRequest, PaymentStatusUpdateResponse, Payout, PayoutAggregator, PayoutBankDetails, PayoutCustomer, PayoutMoreAttributes, PayoutRequest, PayoutResponse, PayoutsResponse, PollingPaymentLinkResponse, RefundAccountResponse, RepaymentDetailsSerialiserPayAll, RepaymentRequestDetails, RepaymentResponse, ResendOrCancelPaymentRequest, ResendOrCancelPaymentResponse, ResendPaymentLinkResponse, RevokeOAuthToken, RootPaymentMode, SaveSubscriptionSetupIntentRequest, SaveSubscriptionSetupIntentResponse, SetCODForUserRequest, SetCODOptionResponse, StatisticsData, SubscriptionConfigResponse, SubscriptionPaymentMethodResponse, UpdatePayoutRequest, UpdatePayoutResponse, ValidateCustomerRequest, ValidateCustomerResponse };
|
|
729
|
+
}
|
|
730
|
+
/** @returns {AddBeneficiaryDetailsOTPRequest} */
|
|
731
|
+
declare function AddBeneficiaryDetailsOTPRequest(): AddBeneficiaryDetailsOTPRequest;
|
|
732
|
+
type AddBeneficiaryDetailsOTPRequest = {
|
|
733
|
+
details: BankDetailsForOTP;
|
|
734
|
+
order_id: string;
|
|
735
|
+
};
|
|
736
|
+
/** @returns {BankDetailsForOTP} */
|
|
737
|
+
declare function BankDetailsForOTP(): BankDetailsForOTP;
|
|
738
|
+
type BankDetailsForOTP = {
|
|
739
|
+
account_holder: string;
|
|
740
|
+
account_no: string;
|
|
741
|
+
bank_name: string;
|
|
742
|
+
branch_name: string;
|
|
743
|
+
ifsc_code: string;
|
|
744
|
+
};
|
|
745
|
+
/** @returns {CancelOrResendPaymentLinkRequest} */
|
|
746
|
+
declare function CancelOrResendPaymentLinkRequest(): CancelOrResendPaymentLinkRequest;
|
|
747
|
+
type CancelOrResendPaymentLinkRequest = {
|
|
748
|
+
/**
|
|
749
|
+
* - Unique id of payment link
|
|
750
|
+
*/
|
|
751
|
+
payment_link_id: string;
|
|
752
|
+
};
|
|
753
|
+
/** @returns {CancelPaymentLinkResponse} */
|
|
754
|
+
declare function CancelPaymentLinkResponse(): CancelPaymentLinkResponse;
|
|
755
|
+
type CancelPaymentLinkResponse = {
|
|
756
|
+
/**
|
|
757
|
+
* - Message
|
|
758
|
+
*/
|
|
759
|
+
message: string;
|
|
760
|
+
/**
|
|
761
|
+
* - HTTP status code
|
|
762
|
+
*/
|
|
763
|
+
status_code: number;
|
|
764
|
+
/**
|
|
765
|
+
* - Successful or failure
|
|
766
|
+
*/
|
|
767
|
+
success: boolean;
|
|
768
|
+
};
|
|
769
|
+
/** @returns {CODdata} */
|
|
770
|
+
declare function CODdata(): CODdata;
|
|
771
|
+
type CODdata = {
|
|
772
|
+
/**
|
|
773
|
+
* - COD option is active or not
|
|
774
|
+
*/
|
|
775
|
+
is_active: boolean;
|
|
776
|
+
/**
|
|
777
|
+
* - Total Limit of user
|
|
778
|
+
*/
|
|
779
|
+
limit: number;
|
|
780
|
+
/**
|
|
781
|
+
* - Remaining Limit for COD of User
|
|
782
|
+
*/
|
|
783
|
+
remaining_limit: number;
|
|
784
|
+
/**
|
|
785
|
+
* - Used COD limit from the user Limit
|
|
786
|
+
*/
|
|
787
|
+
usages: number;
|
|
788
|
+
/**
|
|
789
|
+
* - Payment mode name
|
|
790
|
+
*/
|
|
791
|
+
user_id: string;
|
|
792
|
+
};
|
|
793
|
+
/** @returns {Code} */
|
|
794
|
+
declare function Code(): Code;
|
|
795
|
+
type Code = {
|
|
796
|
+
/**
|
|
797
|
+
* - Payment Method Code
|
|
798
|
+
*/
|
|
799
|
+
code: string;
|
|
800
|
+
/**
|
|
801
|
+
* - Merchant Payment Code
|
|
802
|
+
*/
|
|
803
|
+
merchant_code: string;
|
|
804
|
+
/**
|
|
805
|
+
* - Name of payment method
|
|
806
|
+
*/
|
|
807
|
+
name: string;
|
|
808
|
+
};
|
|
809
|
+
/** @returns {CreatePaymentLinkMeta} */
|
|
810
|
+
declare function CreatePaymentLinkMeta(): CreatePaymentLinkMeta;
|
|
811
|
+
type CreatePaymentLinkMeta = {
|
|
812
|
+
amount: string;
|
|
813
|
+
assign_card_id?: string;
|
|
814
|
+
cart_id: string;
|
|
815
|
+
checkout_mode: string;
|
|
816
|
+
pincode: string;
|
|
817
|
+
};
|
|
818
|
+
/** @returns {CreatePaymentLinkRequest} */
|
|
819
|
+
declare function CreatePaymentLinkRequest(): CreatePaymentLinkRequest;
|
|
820
|
+
type CreatePaymentLinkRequest = {
|
|
821
|
+
/**
|
|
822
|
+
* - Total value of order
|
|
823
|
+
*/
|
|
824
|
+
amount: number;
|
|
825
|
+
/**
|
|
826
|
+
* - Merchant order id
|
|
827
|
+
*/
|
|
828
|
+
description?: string;
|
|
829
|
+
/**
|
|
830
|
+
* - Email to which the payment link is to be sent
|
|
831
|
+
*/
|
|
832
|
+
email: string;
|
|
833
|
+
/**
|
|
834
|
+
* - Merchant order id
|
|
835
|
+
*/
|
|
836
|
+
external_order_id: string;
|
|
837
|
+
/**
|
|
838
|
+
* - Meta
|
|
839
|
+
*/
|
|
840
|
+
meta: CreatePaymentLinkMeta;
|
|
841
|
+
/**
|
|
842
|
+
* - Mobile number to which the payment link is
|
|
843
|
+
* to be sent
|
|
844
|
+
*/
|
|
845
|
+
mobile_number: string;
|
|
846
|
+
};
|
|
847
|
+
/** @returns {CreatePaymentLinkResponse} */
|
|
848
|
+
declare function CreatePaymentLinkResponse(): CreatePaymentLinkResponse;
|
|
849
|
+
type CreatePaymentLinkResponse = {
|
|
850
|
+
/**
|
|
851
|
+
* - Message
|
|
852
|
+
*/
|
|
853
|
+
message: string;
|
|
854
|
+
/**
|
|
855
|
+
* - Unique id of payment link
|
|
856
|
+
*/
|
|
857
|
+
payment_link_id?: string;
|
|
858
|
+
/**
|
|
859
|
+
* - Url of payment link
|
|
860
|
+
*/
|
|
861
|
+
payment_link_url?: string;
|
|
862
|
+
/**
|
|
863
|
+
* - Polling request timeout
|
|
864
|
+
*/
|
|
865
|
+
polling_timeout?: number;
|
|
866
|
+
/**
|
|
867
|
+
* - HTTP status code
|
|
868
|
+
*/
|
|
869
|
+
status_code: number;
|
|
870
|
+
/**
|
|
871
|
+
* - Successful or failure
|
|
872
|
+
*/
|
|
873
|
+
success: boolean;
|
|
874
|
+
};
|
|
875
|
+
/** @returns {DeletePayoutResponse} */
|
|
876
|
+
declare function DeletePayoutResponse(): DeletePayoutResponse;
|
|
877
|
+
type DeletePayoutResponse = {
|
|
878
|
+
/**
|
|
879
|
+
* - Response is successful or not
|
|
880
|
+
*/
|
|
881
|
+
success: boolean;
|
|
882
|
+
};
|
|
883
|
+
/** @returns {DeleteSubscriptionPaymentMethodResponse} */
|
|
884
|
+
declare function DeleteSubscriptionPaymentMethodResponse(): DeleteSubscriptionPaymentMethodResponse;
|
|
885
|
+
type DeleteSubscriptionPaymentMethodResponse = {
|
|
886
|
+
/**
|
|
887
|
+
* - Success or failure.
|
|
888
|
+
*/
|
|
889
|
+
success: boolean;
|
|
890
|
+
};
|
|
891
|
+
/** @returns {EdcAddRequest} */
|
|
892
|
+
declare function EdcAddRequest(): EdcAddRequest;
|
|
893
|
+
type EdcAddRequest = {
|
|
894
|
+
/**
|
|
895
|
+
* - Aggregator which will accept payment
|
|
896
|
+
*/
|
|
897
|
+
aggregator_id: number;
|
|
898
|
+
/**
|
|
899
|
+
* - Device tag of edc device to identify it
|
|
900
|
+
*/
|
|
901
|
+
device_tag?: string;
|
|
902
|
+
/**
|
|
903
|
+
* - Serial number or imei of EDC device
|
|
904
|
+
*/
|
|
905
|
+
edc_device_serial_no: string;
|
|
906
|
+
/**
|
|
907
|
+
* - Model of the edc machine
|
|
908
|
+
*/
|
|
909
|
+
edc_model: string;
|
|
910
|
+
/**
|
|
911
|
+
* - Store at which devices is to used
|
|
912
|
+
*/
|
|
913
|
+
store_id: number;
|
|
914
|
+
/**
|
|
915
|
+
* - Device serial number of
|
|
916
|
+
* terminal(android tablet)
|
|
917
|
+
*/
|
|
918
|
+
terminal_serial_no: string;
|
|
919
|
+
};
|
|
920
|
+
/** @returns {EdcAggregatorAndModelListResponse} */
|
|
921
|
+
declare function EdcAggregatorAndModelListResponse(): EdcAggregatorAndModelListResponse;
|
|
922
|
+
type EdcAggregatorAndModelListResponse = {
|
|
923
|
+
/**
|
|
924
|
+
* - List of aggregators and their edc models
|
|
925
|
+
*/
|
|
926
|
+
data: EdcModelData[];
|
|
927
|
+
/**
|
|
928
|
+
* - Response is successful or not
|
|
929
|
+
*/
|
|
930
|
+
success: boolean;
|
|
931
|
+
};
|
|
932
|
+
/** @returns {EdcDevice} */
|
|
933
|
+
declare function EdcDevice(): EdcDevice;
|
|
934
|
+
type EdcDevice = {
|
|
935
|
+
/**
|
|
936
|
+
* - Aggregator which will accept payment
|
|
937
|
+
*/
|
|
938
|
+
aggregator_id: number;
|
|
939
|
+
/**
|
|
940
|
+
* - Name of the corresponding aggregator
|
|
941
|
+
*/
|
|
942
|
+
aggregator_name?: string;
|
|
943
|
+
/**
|
|
944
|
+
* - Application ID
|
|
945
|
+
*/
|
|
946
|
+
application_id: string;
|
|
947
|
+
/**
|
|
948
|
+
* - Device tag of edc device to identify it
|
|
949
|
+
*/
|
|
950
|
+
device_tag: string;
|
|
951
|
+
/**
|
|
952
|
+
* - Serial number of EDC device
|
|
953
|
+
*/
|
|
954
|
+
edc_device_serial_no: string;
|
|
955
|
+
/**
|
|
956
|
+
* - Name of the model
|
|
957
|
+
*/
|
|
958
|
+
edc_model?: string;
|
|
959
|
+
/**
|
|
960
|
+
* - State whether device is active or inactive
|
|
961
|
+
*/
|
|
962
|
+
is_active: boolean;
|
|
963
|
+
/**
|
|
964
|
+
* - This is provided by pinelabs
|
|
965
|
+
*/
|
|
966
|
+
merchant_store_pos_code?: string;
|
|
967
|
+
/**
|
|
968
|
+
* - Store at which devices is to used
|
|
969
|
+
*/
|
|
970
|
+
store_id: number;
|
|
971
|
+
/**
|
|
972
|
+
* - Device serial number of
|
|
973
|
+
* terminal(android tablet)
|
|
974
|
+
*/
|
|
975
|
+
terminal_serial_no: string;
|
|
976
|
+
/**
|
|
977
|
+
* - Genearated unique value for edc device
|
|
978
|
+
*/
|
|
979
|
+
terminal_unique_identifier: string;
|
|
980
|
+
};
|
|
981
|
+
/** @returns {EdcDeviceAddResponse} */
|
|
982
|
+
declare function EdcDeviceAddResponse(): EdcDeviceAddResponse;
|
|
983
|
+
type EdcDeviceAddResponse = {
|
|
984
|
+
/**
|
|
985
|
+
* - Details of the EDC Device that is added
|
|
986
|
+
*/
|
|
987
|
+
data: EdcDevice;
|
|
988
|
+
/**
|
|
989
|
+
* - Response is successful or not
|
|
990
|
+
*/
|
|
991
|
+
success: boolean;
|
|
992
|
+
};
|
|
993
|
+
/** @returns {EdcDeviceDetailsResponse} */
|
|
994
|
+
declare function EdcDeviceDetailsResponse(): EdcDeviceDetailsResponse;
|
|
995
|
+
type EdcDeviceDetailsResponse = {
|
|
996
|
+
/**
|
|
997
|
+
* - Details of one EDC Device
|
|
998
|
+
*/
|
|
999
|
+
data: EdcDevice;
|
|
1000
|
+
/**
|
|
1001
|
+
* - Response is successful or not
|
|
1002
|
+
*/
|
|
1003
|
+
success: boolean;
|
|
1004
|
+
};
|
|
1005
|
+
/** @returns {EdcDeviceListResponse} */
|
|
1006
|
+
declare function EdcDeviceListResponse(): EdcDeviceListResponse;
|
|
1007
|
+
type EdcDeviceListResponse = {
|
|
1008
|
+
/**
|
|
1009
|
+
* - List of all edc mapped to the application
|
|
1010
|
+
* options with their Details.
|
|
1011
|
+
*/
|
|
1012
|
+
items: EdcDevice[];
|
|
1013
|
+
/**
|
|
1014
|
+
* - Pagination Response
|
|
1015
|
+
*/
|
|
1016
|
+
page: Page;
|
|
1017
|
+
/**
|
|
1018
|
+
* - Response is successful or not
|
|
1019
|
+
*/
|
|
1020
|
+
success: boolean;
|
|
1021
|
+
};
|
|
1022
|
+
/** @returns {EdcDeviceStatsResponse} */
|
|
1023
|
+
declare function EdcDeviceStatsResponse(): EdcDeviceStatsResponse;
|
|
1024
|
+
type EdcDeviceStatsResponse = {
|
|
1025
|
+
/**
|
|
1026
|
+
* - Message
|
|
1027
|
+
*/
|
|
1028
|
+
statistics: StatisticsData;
|
|
1029
|
+
/**
|
|
1030
|
+
* - Response is successful or not
|
|
1031
|
+
*/
|
|
1032
|
+
success: boolean;
|
|
1033
|
+
};
|
|
1034
|
+
/** @returns {EdcDeviceUpdateResponse} */
|
|
1035
|
+
declare function EdcDeviceUpdateResponse(): EdcDeviceUpdateResponse;
|
|
1036
|
+
type EdcDeviceUpdateResponse = {
|
|
1037
|
+
/**
|
|
1038
|
+
* - Response is successful or not
|
|
1039
|
+
*/
|
|
1040
|
+
success: boolean;
|
|
1041
|
+
};
|
|
1042
|
+
/** @returns {EdcModelData} */
|
|
1043
|
+
declare function EdcModelData(): EdcModelData;
|
|
1044
|
+
type EdcModelData = {
|
|
1045
|
+
/**
|
|
1046
|
+
* - Name of aggregator
|
|
1047
|
+
*/
|
|
1048
|
+
aggregator: string;
|
|
1049
|
+
/**
|
|
1050
|
+
* - ID of aggregator
|
|
1051
|
+
*/
|
|
1052
|
+
aggregator_id: number;
|
|
1053
|
+
/**
|
|
1054
|
+
* - List of string of edc models
|
|
1055
|
+
*/
|
|
1056
|
+
models: string[];
|
|
1057
|
+
};
|
|
1058
|
+
/** @returns {EdcUpdateRequest} */
|
|
1059
|
+
declare function EdcUpdateRequest(): EdcUpdateRequest;
|
|
1060
|
+
type EdcUpdateRequest = {
|
|
1061
|
+
/**
|
|
1062
|
+
* - Aggregator which will accept payment
|
|
1063
|
+
*/
|
|
1064
|
+
aggregator_id?: number;
|
|
1065
|
+
/**
|
|
1066
|
+
* - Device tag of edc device to identify it
|
|
1067
|
+
*/
|
|
1068
|
+
device_tag?: string;
|
|
1069
|
+
/**
|
|
1070
|
+
* - Serial number or imei of EDC device
|
|
1071
|
+
*/
|
|
1072
|
+
edc_device_serial_no?: string;
|
|
1073
|
+
/**
|
|
1074
|
+
* - Model of the edc machine
|
|
1075
|
+
*/
|
|
1076
|
+
edc_model?: string;
|
|
1077
|
+
/**
|
|
1078
|
+
* - State whether device is active or inactive
|
|
1079
|
+
*/
|
|
1080
|
+
is_active?: boolean;
|
|
1081
|
+
/**
|
|
1082
|
+
* - This is provided by pinelabs
|
|
1083
|
+
*/
|
|
1084
|
+
merchant_store_pos_code?: string;
|
|
1085
|
+
/**
|
|
1086
|
+
* - Store at which devices is to used
|
|
1087
|
+
*/
|
|
1088
|
+
store_id?: number;
|
|
1089
|
+
};
|
|
1090
|
+
/** @returns {ErrorCodeAndDescription} */
|
|
1091
|
+
declare function ErrorCodeAndDescription(): ErrorCodeAndDescription;
|
|
1092
|
+
type ErrorCodeAndDescription = {
|
|
1093
|
+
/**
|
|
1094
|
+
* - Error descrption code.
|
|
1095
|
+
*/
|
|
1096
|
+
code: string;
|
|
1097
|
+
/**
|
|
1098
|
+
* - Error human understandable description.
|
|
1099
|
+
*/
|
|
1100
|
+
description: string;
|
|
1101
|
+
};
|
|
1102
|
+
/** @returns {ErrorCodeDescription} */
|
|
1103
|
+
declare function ErrorCodeDescription(): ErrorCodeDescription;
|
|
1104
|
+
type ErrorCodeDescription = {
|
|
1105
|
+
/**
|
|
1106
|
+
* - Error descrption code.
|
|
1107
|
+
*/
|
|
1108
|
+
code: string;
|
|
1109
|
+
/**
|
|
1110
|
+
* - Error human understandable description.
|
|
1111
|
+
*/
|
|
1112
|
+
description: string;
|
|
1113
|
+
/**
|
|
1114
|
+
* - Response is successful or not
|
|
1115
|
+
*/
|
|
1116
|
+
success: boolean;
|
|
1117
|
+
};
|
|
1118
|
+
/** @returns {ErrorDescription} */
|
|
1119
|
+
declare function ErrorDescription(): ErrorDescription;
|
|
1120
|
+
type ErrorDescription = {
|
|
1121
|
+
/**
|
|
1122
|
+
* - Amount paid
|
|
1123
|
+
*/
|
|
1124
|
+
amount?: number;
|
|
1125
|
+
/**
|
|
1126
|
+
* - Payment link is cancelled or not
|
|
1127
|
+
*/
|
|
1128
|
+
cancelled?: boolean;
|
|
1129
|
+
/**
|
|
1130
|
+
* - Payment link expired or not
|
|
1131
|
+
*/
|
|
1132
|
+
expired?: boolean;
|
|
1133
|
+
/**
|
|
1134
|
+
* - Payment link id is valid or not
|
|
1135
|
+
*/
|
|
1136
|
+
invalid_id?: boolean;
|
|
1137
|
+
/**
|
|
1138
|
+
* - Name of merchant that created payment link
|
|
1139
|
+
*/
|
|
1140
|
+
merchant_name?: string;
|
|
1141
|
+
/**
|
|
1142
|
+
* - Order id
|
|
1143
|
+
*/
|
|
1144
|
+
merchant_order_id?: string;
|
|
1145
|
+
/**
|
|
1146
|
+
* - Message
|
|
1147
|
+
*/
|
|
1148
|
+
msg?: string;
|
|
1149
|
+
/**
|
|
1150
|
+
* - Payment transaction id
|
|
1151
|
+
*/
|
|
1152
|
+
payment_transaction_id?: string;
|
|
1153
|
+
};
|
|
1154
|
+
/** @returns {ErrorResponse} */
|
|
1155
|
+
declare function ErrorResponse(): ErrorResponse;
|
|
1156
|
+
type ErrorResponse = {
|
|
1157
|
+
error?: ErrorDescription;
|
|
1158
|
+
/**
|
|
1159
|
+
* - Message
|
|
1160
|
+
*/
|
|
1161
|
+
message: string;
|
|
1162
|
+
/**
|
|
1163
|
+
* - HTTP status code
|
|
1164
|
+
*/
|
|
1165
|
+
status_code: number;
|
|
1166
|
+
/**
|
|
1167
|
+
* - Successful or failure
|
|
1168
|
+
*/
|
|
1169
|
+
success: boolean;
|
|
1170
|
+
};
|
|
1171
|
+
/** @returns {GetOauthUrlResponse} */
|
|
1172
|
+
declare function GetOauthUrlResponse(): GetOauthUrlResponse;
|
|
1173
|
+
type GetOauthUrlResponse = {
|
|
1174
|
+
/**
|
|
1175
|
+
* - Response is successful or not
|
|
1176
|
+
*/
|
|
1177
|
+
success: boolean;
|
|
1178
|
+
/**
|
|
1179
|
+
* - The url to call for authenticating
|
|
1180
|
+
*/
|
|
1181
|
+
url: string;
|
|
1182
|
+
};
|
|
1183
|
+
/** @returns {GetPaymentCode} */
|
|
1184
|
+
declare function GetPaymentCode(): GetPaymentCode;
|
|
1185
|
+
type GetPaymentCode = {
|
|
1186
|
+
/**
|
|
1187
|
+
* - Payment method code
|
|
1188
|
+
*/
|
|
1189
|
+
method_code: PaymentCode;
|
|
1190
|
+
};
|
|
1191
|
+
/** @returns {GetPaymentCodeResponse} */
|
|
1192
|
+
declare function GetPaymentCodeResponse(): GetPaymentCodeResponse;
|
|
1193
|
+
type GetPaymentCodeResponse = {
|
|
1194
|
+
/**
|
|
1195
|
+
* - Data about Payment Code.
|
|
1196
|
+
*/
|
|
1197
|
+
data: GetPaymentCode;
|
|
1198
|
+
/**
|
|
1199
|
+
* - Response is successful or not.
|
|
1200
|
+
*/
|
|
1201
|
+
success: boolean;
|
|
1202
|
+
};
|
|
1203
|
+
/** @returns {GetPaymentLinkResponse} */
|
|
1204
|
+
declare function GetPaymentLinkResponse(): GetPaymentLinkResponse;
|
|
1205
|
+
type GetPaymentLinkResponse = {
|
|
1206
|
+
/**
|
|
1207
|
+
* - Total value of order
|
|
1208
|
+
*/
|
|
1209
|
+
amount?: number;
|
|
1210
|
+
/**
|
|
1211
|
+
* - Merchant order id
|
|
1212
|
+
*/
|
|
1213
|
+
external_order_id?: string;
|
|
1214
|
+
/**
|
|
1215
|
+
* - Merchant name
|
|
1216
|
+
*/
|
|
1217
|
+
merchant_name?: string;
|
|
1218
|
+
/**
|
|
1219
|
+
* - Message
|
|
1220
|
+
*/
|
|
1221
|
+
message: string;
|
|
1222
|
+
/**
|
|
1223
|
+
* - Status of payment link
|
|
1224
|
+
*/
|
|
1225
|
+
payment_link_current_status?: string;
|
|
1226
|
+
/**
|
|
1227
|
+
* - Url of payment link
|
|
1228
|
+
*/
|
|
1229
|
+
payment_link_url?: string;
|
|
1230
|
+
/**
|
|
1231
|
+
* - Polling request timeout
|
|
1232
|
+
*/
|
|
1233
|
+
polling_timeout?: number;
|
|
1234
|
+
/**
|
|
1235
|
+
* - HTTP status code
|
|
1236
|
+
*/
|
|
1237
|
+
status_code: number;
|
|
1238
|
+
/**
|
|
1239
|
+
* - Successful or failure
|
|
1240
|
+
*/
|
|
1241
|
+
success: boolean;
|
|
1242
|
+
};
|
|
1243
|
+
/** @returns {GetUserCODLimitResponse} */
|
|
1244
|
+
declare function GetUserCODLimitResponse(): GetUserCODLimitResponse;
|
|
1245
|
+
type GetUserCODLimitResponse = {
|
|
1246
|
+
/**
|
|
1247
|
+
* - Response is successful or not
|
|
1248
|
+
*/
|
|
1249
|
+
success: boolean;
|
|
1250
|
+
/**
|
|
1251
|
+
* - User COD Data
|
|
1252
|
+
*/
|
|
1253
|
+
user_cod_data: CODdata;
|
|
1254
|
+
};
|
|
1255
|
+
/** @returns {HttpErrorCodeAndResponse} */
|
|
1256
|
+
declare function HttpErrorCodeAndResponse(): HttpErrorCodeAndResponse;
|
|
1257
|
+
type HttpErrorCodeAndResponse = {
|
|
1258
|
+
error: ErrorCodeAndDescription;
|
|
1259
|
+
/**
|
|
1260
|
+
* - Response is successful or not
|
|
1261
|
+
*/
|
|
1262
|
+
success: boolean;
|
|
1263
|
+
};
|
|
1264
|
+
/** @returns {IfscCodeResponse} */
|
|
1265
|
+
declare function IfscCodeResponse(): IfscCodeResponse;
|
|
1266
|
+
type IfscCodeResponse = {
|
|
1267
|
+
/**
|
|
1268
|
+
* - Bank Name Of Account
|
|
1269
|
+
*/
|
|
1270
|
+
bank_name: string;
|
|
1271
|
+
/**
|
|
1272
|
+
* - Branch Name Of Account
|
|
1273
|
+
*/
|
|
1274
|
+
branch_name: string;
|
|
1275
|
+
/**
|
|
1276
|
+
* - Response is successful or not
|
|
1277
|
+
*/
|
|
1278
|
+
success?: boolean;
|
|
1279
|
+
};
|
|
1280
|
+
/** @returns {IntentApp} */
|
|
1281
|
+
declare function IntentApp(): IntentApp;
|
|
1282
|
+
type IntentApp = {
|
|
1283
|
+
/**
|
|
1284
|
+
* - Code
|
|
1285
|
+
*/
|
|
1286
|
+
code?: string;
|
|
1287
|
+
/**
|
|
1288
|
+
* - Display_name
|
|
1289
|
+
*/
|
|
1290
|
+
display_name?: string;
|
|
1291
|
+
/**
|
|
1292
|
+
* - Logos
|
|
1293
|
+
*/
|
|
1294
|
+
logos?: PaymentModeLogo;
|
|
1295
|
+
/**
|
|
1296
|
+
* - Package_name
|
|
1297
|
+
*/
|
|
1298
|
+
package_name?: string;
|
|
1299
|
+
};
|
|
1300
|
+
/** @returns {IntentAppErrorList} */
|
|
1301
|
+
declare function IntentAppErrorList(): IntentAppErrorList;
|
|
1302
|
+
type IntentAppErrorList = {
|
|
1303
|
+
/**
|
|
1304
|
+
* - Code
|
|
1305
|
+
*/
|
|
1306
|
+
code?: string;
|
|
1307
|
+
/**
|
|
1308
|
+
* - Package_name
|
|
1309
|
+
*/
|
|
1310
|
+
package_name?: string;
|
|
1311
|
+
};
|
|
1312
|
+
/** @returns {LinkStatus} */
|
|
1313
|
+
declare function LinkStatus(): LinkStatus;
|
|
1314
|
+
type LinkStatus = {
|
|
1315
|
+
/**
|
|
1316
|
+
* - Message
|
|
1317
|
+
*/
|
|
1318
|
+
message: string;
|
|
1319
|
+
/**
|
|
1320
|
+
* - Link action status
|
|
1321
|
+
*/
|
|
1322
|
+
status: boolean;
|
|
1323
|
+
};
|
|
1324
|
+
/** @returns {MerchantOnBoardingRequest} */
|
|
1325
|
+
declare function MerchantOnBoardingRequest(): MerchantOnBoardingRequest;
|
|
1326
|
+
type MerchantOnBoardingRequest = {
|
|
1327
|
+
/**
|
|
1328
|
+
* - Payment aggregator name
|
|
1329
|
+
*/
|
|
1330
|
+
aggregator: string;
|
|
1331
|
+
/**
|
|
1332
|
+
* - Application id
|
|
1333
|
+
*/
|
|
1334
|
+
app_id: string;
|
|
1335
|
+
/**
|
|
1336
|
+
* - Merchant ID at Ajiodhan's end
|
|
1337
|
+
*/
|
|
1338
|
+
credit_line_id: string;
|
|
1339
|
+
/**
|
|
1340
|
+
* - Status
|
|
1341
|
+
*/
|
|
1342
|
+
status: string;
|
|
1343
|
+
/**
|
|
1344
|
+
* - Deadlock/Grimlock user id
|
|
1345
|
+
*/
|
|
1346
|
+
user_id: string;
|
|
1347
|
+
};
|
|
1348
|
+
/** @returns {MerchantOnBoardingResponse} */
|
|
1349
|
+
declare function MerchantOnBoardingResponse(): MerchantOnBoardingResponse;
|
|
1350
|
+
type MerchantOnBoardingResponse = {
|
|
1351
|
+
data: any;
|
|
1352
|
+
/**
|
|
1353
|
+
* - Success/Failure of the transaction
|
|
1354
|
+
*/
|
|
1355
|
+
success: boolean;
|
|
1356
|
+
};
|
|
1357
|
+
/** @returns {MultiTenderPaymentMeta} */
|
|
1358
|
+
declare function MultiTenderPaymentMeta(): MultiTenderPaymentMeta;
|
|
1359
|
+
type MultiTenderPaymentMeta = {
|
|
1360
|
+
current_status?: string;
|
|
1361
|
+
extra_meta?: any;
|
|
1362
|
+
order_id?: string;
|
|
1363
|
+
payment_gateway?: string;
|
|
1364
|
+
payment_id?: string;
|
|
1365
|
+
};
|
|
1366
|
+
/** @returns {MultiTenderPaymentMethod} */
|
|
1367
|
+
declare function MultiTenderPaymentMethod(): MultiTenderPaymentMethod;
|
|
1368
|
+
type MultiTenderPaymentMethod = {
|
|
1369
|
+
/**
|
|
1370
|
+
* - Payment amount
|
|
1371
|
+
*/
|
|
1372
|
+
amount: number;
|
|
1373
|
+
meta?: MultiTenderPaymentMeta;
|
|
1374
|
+
mode: string;
|
|
1375
|
+
/**
|
|
1376
|
+
* - Payment mode name
|
|
1377
|
+
*/
|
|
1378
|
+
name?: string;
|
|
1379
|
+
};
|
|
1380
|
+
/** @returns {NotFoundResourceError} */
|
|
1381
|
+
declare function NotFoundResourceError(): NotFoundResourceError;
|
|
1382
|
+
type NotFoundResourceError = {
|
|
1383
|
+
/**
|
|
1384
|
+
* - Bad Request Data
|
|
1385
|
+
*/
|
|
1386
|
+
code: string;
|
|
1387
|
+
/**
|
|
1388
|
+
* - Not Found
|
|
1389
|
+
*/
|
|
1390
|
+
description: string;
|
|
1391
|
+
/**
|
|
1392
|
+
* - Response is successful or not
|
|
1393
|
+
*/
|
|
1394
|
+
success: boolean;
|
|
1395
|
+
};
|
|
1396
|
+
/** @returns {OrderBeneficiaryDetails} */
|
|
1397
|
+
declare function OrderBeneficiaryDetails(): OrderBeneficiaryDetails;
|
|
1398
|
+
type OrderBeneficiaryDetails = {
|
|
1399
|
+
/**
|
|
1400
|
+
* - Account Holder Name
|
|
1401
|
+
*/
|
|
1402
|
+
account_holder: string;
|
|
1403
|
+
/**
|
|
1404
|
+
* - Account Number
|
|
1405
|
+
*/
|
|
1406
|
+
account_no: string;
|
|
1407
|
+
/**
|
|
1408
|
+
* - Address of User
|
|
1409
|
+
*/
|
|
1410
|
+
address: string;
|
|
1411
|
+
/**
|
|
1412
|
+
* - Bank Name Of Account
|
|
1413
|
+
*/
|
|
1414
|
+
bank_name: string;
|
|
1415
|
+
/**
|
|
1416
|
+
* - Benenficiary Id
|
|
1417
|
+
*/
|
|
1418
|
+
beneficiary_id: string;
|
|
1419
|
+
/**
|
|
1420
|
+
* - Branch Name Of Account
|
|
1421
|
+
*/
|
|
1422
|
+
branch_name?: string;
|
|
1423
|
+
/**
|
|
1424
|
+
* - Remarks
|
|
1425
|
+
*/
|
|
1426
|
+
comment?: string;
|
|
1427
|
+
/**
|
|
1428
|
+
* - Creation Date of Beneficiary
|
|
1429
|
+
*/
|
|
1430
|
+
created_on: string;
|
|
1431
|
+
/**
|
|
1432
|
+
* - User Id Who filled the Beneficiary
|
|
1433
|
+
*/
|
|
1434
|
+
delights_user_name?: string;
|
|
1435
|
+
/**
|
|
1436
|
+
* - Display Name Of Account
|
|
1437
|
+
*/
|
|
1438
|
+
display_name: string;
|
|
1439
|
+
/**
|
|
1440
|
+
* - EMail of User
|
|
1441
|
+
*/
|
|
1442
|
+
email: string;
|
|
1443
|
+
/**
|
|
1444
|
+
* -
|
|
1445
|
+
*/
|
|
1446
|
+
id: number;
|
|
1447
|
+
/**
|
|
1448
|
+
* - Ifsc Code Of Account
|
|
1449
|
+
*/
|
|
1450
|
+
ifsc_code: string;
|
|
1451
|
+
/**
|
|
1452
|
+
* - Boolean Flag whether Beneficiary set or not
|
|
1453
|
+
*/
|
|
1454
|
+
is_active: boolean;
|
|
1455
|
+
/**
|
|
1456
|
+
* - MObile no of User
|
|
1457
|
+
*/
|
|
1458
|
+
mobile?: string;
|
|
1459
|
+
/**
|
|
1460
|
+
* - MOdification Date of Beneficiary
|
|
1461
|
+
*/
|
|
1462
|
+
modified_on: string;
|
|
1463
|
+
/**
|
|
1464
|
+
* - SHort Title Of Account
|
|
1465
|
+
*/
|
|
1466
|
+
subtitle: string;
|
|
1467
|
+
/**
|
|
1468
|
+
* - Title Of Account
|
|
1469
|
+
*/
|
|
1470
|
+
title: string;
|
|
1471
|
+
/**
|
|
1472
|
+
* - Transfer Mode Of Account
|
|
1473
|
+
*/
|
|
1474
|
+
transfer_mode: string;
|
|
1475
|
+
};
|
|
1476
|
+
/** @returns {OrderBeneficiaryResponse} */
|
|
1477
|
+
declare function OrderBeneficiaryResponse(): OrderBeneficiaryResponse;
|
|
1478
|
+
type OrderBeneficiaryResponse = {
|
|
1479
|
+
/**
|
|
1480
|
+
* - All Beneficiaries Of An Order
|
|
1481
|
+
*/
|
|
1482
|
+
beneficiaries?: OrderBeneficiaryDetails[];
|
|
1483
|
+
/**
|
|
1484
|
+
* - Show beneficiary details or not.
|
|
1485
|
+
*/
|
|
1486
|
+
show_beneficiary_details?: boolean;
|
|
1487
|
+
};
|
|
1488
|
+
/** @returns {Page} */
|
|
1489
|
+
declare function Page(): Page;
|
|
1490
|
+
type Page = {
|
|
1491
|
+
current?: number;
|
|
1492
|
+
has_next?: boolean;
|
|
1493
|
+
has_previous?: boolean;
|
|
1494
|
+
item_total?: number;
|
|
1495
|
+
next_id?: string;
|
|
1496
|
+
size?: number;
|
|
1497
|
+
type: string;
|
|
1498
|
+
};
|
|
1499
|
+
/** @returns {PaymentCode} */
|
|
1500
|
+
declare function PaymentCode(): PaymentCode;
|
|
1501
|
+
type PaymentCode = {
|
|
1502
|
+
/**
|
|
1503
|
+
* - List of dict that contains payment method data
|
|
1504
|
+
*/
|
|
1505
|
+
codes: Code;
|
|
1506
|
+
/**
|
|
1507
|
+
* - Name of payment name
|
|
1508
|
+
*/
|
|
1509
|
+
name: string;
|
|
1510
|
+
/**
|
|
1511
|
+
* - Payment networks
|
|
1512
|
+
*/
|
|
1513
|
+
networks: string;
|
|
1514
|
+
/**
|
|
1515
|
+
* - Type of payment mode
|
|
1516
|
+
*/
|
|
1517
|
+
types: string;
|
|
1518
|
+
};
|
|
1519
|
+
/** @returns {PaymentConfirmationRequest} */
|
|
1520
|
+
declare function PaymentConfirmationRequest(): PaymentConfirmationRequest;
|
|
1521
|
+
type PaymentConfirmationRequest = {
|
|
1522
|
+
/**
|
|
1523
|
+
* - Unique order id
|
|
1524
|
+
*/
|
|
1525
|
+
order_id: string;
|
|
1526
|
+
payment_methods: MultiTenderPaymentMethod[];
|
|
1527
|
+
};
|
|
1528
|
+
/** @returns {PaymentConfirmationResponse} */
|
|
1529
|
+
declare function PaymentConfirmationResponse(): PaymentConfirmationResponse;
|
|
1530
|
+
type PaymentConfirmationResponse = {
|
|
1531
|
+
/**
|
|
1532
|
+
* - Message
|
|
1533
|
+
*/
|
|
1534
|
+
message: string;
|
|
1535
|
+
/**
|
|
1536
|
+
* - Unique order id
|
|
1537
|
+
*/
|
|
1538
|
+
order_id: string;
|
|
1539
|
+
/**
|
|
1540
|
+
* - Payment confirmation updated or not.
|
|
1541
|
+
*/
|
|
1542
|
+
success: boolean;
|
|
1543
|
+
};
|
|
1544
|
+
/** @returns {PaymentGatewayConfig} */
|
|
1545
|
+
declare function PaymentGatewayConfig(): PaymentGatewayConfig;
|
|
1546
|
+
type PaymentGatewayConfig = {
|
|
1547
|
+
/**
|
|
1548
|
+
* - Config Type of the aggregator
|
|
1549
|
+
*/
|
|
1550
|
+
config_type: string;
|
|
1551
|
+
/**
|
|
1552
|
+
* - Enable/ Disable Flag
|
|
1553
|
+
*/
|
|
1554
|
+
is_active?: boolean;
|
|
1555
|
+
/**
|
|
1556
|
+
* - Api key of the payment aggregator
|
|
1557
|
+
*/
|
|
1558
|
+
key: string;
|
|
1559
|
+
/**
|
|
1560
|
+
* - Merchant key of the payment aggregator
|
|
1561
|
+
*/
|
|
1562
|
+
merchant_salt: string;
|
|
1563
|
+
/**
|
|
1564
|
+
* - Secret Key of the payment aggregator
|
|
1565
|
+
*/
|
|
1566
|
+
secret: string;
|
|
1567
|
+
};
|
|
1568
|
+
/** @returns {PaymentGatewayConfigRequest} */
|
|
1569
|
+
declare function PaymentGatewayConfigRequest(): PaymentGatewayConfigRequest;
|
|
1570
|
+
type PaymentGatewayConfigRequest = {
|
|
1571
|
+
aggregator_name?: PaymentGatewayConfig;
|
|
1572
|
+
/**
|
|
1573
|
+
* - Application Id to which Payment config Mapped
|
|
1574
|
+
*/
|
|
1575
|
+
app_id: string;
|
|
1576
|
+
/**
|
|
1577
|
+
* - Enable/ Disable Flag
|
|
1578
|
+
*/
|
|
1579
|
+
is_active?: boolean;
|
|
1580
|
+
};
|
|
1581
|
+
/** @returns {PaymentGatewayConfigResponse} */
|
|
1582
|
+
declare function PaymentGatewayConfigResponse(): PaymentGatewayConfigResponse;
|
|
1583
|
+
type PaymentGatewayConfigResponse = {
|
|
1584
|
+
/**
|
|
1585
|
+
* - List of all speceific Payment options
|
|
1586
|
+
* with their Details.
|
|
1587
|
+
*/
|
|
1588
|
+
aggregators?: any[];
|
|
1589
|
+
/**
|
|
1590
|
+
* - Application Id to which Payment config Mapped
|
|
1591
|
+
*/
|
|
1592
|
+
app_id: string;
|
|
1593
|
+
/**
|
|
1594
|
+
* - Response is created or not
|
|
1595
|
+
*/
|
|
1596
|
+
created: boolean;
|
|
1597
|
+
/**
|
|
1598
|
+
* - List of all included options with their Details.
|
|
1599
|
+
*/
|
|
1600
|
+
display_fields: string[];
|
|
1601
|
+
/**
|
|
1602
|
+
* - List of all excluded options with their Details.
|
|
1603
|
+
*/
|
|
1604
|
+
excluded_fields: string[];
|
|
1605
|
+
/**
|
|
1606
|
+
* - Response is successful or not
|
|
1607
|
+
*/
|
|
1608
|
+
success: boolean;
|
|
1609
|
+
};
|
|
1610
|
+
/** @returns {PaymentGatewayToBeReviewed} */
|
|
1611
|
+
declare function PaymentGatewayToBeReviewed(): PaymentGatewayToBeReviewed;
|
|
1612
|
+
type PaymentGatewayToBeReviewed = {
|
|
1613
|
+
/**
|
|
1614
|
+
* - List of added payment gateway
|
|
1615
|
+
*/
|
|
1616
|
+
aggregator: string[];
|
|
1617
|
+
/**
|
|
1618
|
+
* - Response is successful or not
|
|
1619
|
+
*/
|
|
1620
|
+
success: boolean;
|
|
1621
|
+
};
|
|
1622
|
+
/** @returns {PaymentInitializationRequest} */
|
|
1623
|
+
declare function PaymentInitializationRequest(): PaymentInitializationRequest;
|
|
1624
|
+
type PaymentInitializationRequest = {
|
|
1625
|
+
/**
|
|
1626
|
+
* - Payment gateway name
|
|
1627
|
+
*/
|
|
1628
|
+
aggregator: string;
|
|
1629
|
+
/**
|
|
1630
|
+
* - Payable amount.
|
|
1631
|
+
*/
|
|
1632
|
+
amount: number;
|
|
1633
|
+
/**
|
|
1634
|
+
* - Customer valid mobile number
|
|
1635
|
+
*/
|
|
1636
|
+
contact: string;
|
|
1637
|
+
/**
|
|
1638
|
+
* - Currency code.
|
|
1639
|
+
*/
|
|
1640
|
+
currency: string;
|
|
1641
|
+
/**
|
|
1642
|
+
* - Payment gateway customer id.
|
|
1643
|
+
*/
|
|
1644
|
+
customer_id: string;
|
|
1645
|
+
/**
|
|
1646
|
+
* - EDC machine Unique Identifier
|
|
1647
|
+
*/
|
|
1648
|
+
device_id?: string;
|
|
1649
|
+
/**
|
|
1650
|
+
* - Customer valid email
|
|
1651
|
+
*/
|
|
1652
|
+
email: string;
|
|
1653
|
+
/**
|
|
1654
|
+
* - Unique fynd order id
|
|
1655
|
+
*/
|
|
1656
|
+
merchant_order_id: string;
|
|
1657
|
+
/**
|
|
1658
|
+
* - Payment method
|
|
1659
|
+
*/
|
|
1660
|
+
method: string;
|
|
1661
|
+
/**
|
|
1662
|
+
* - Payment gateway order id
|
|
1663
|
+
*/
|
|
1664
|
+
order_id: string;
|
|
1665
|
+
/**
|
|
1666
|
+
* - Payment gateway payment id
|
|
1667
|
+
*/
|
|
1668
|
+
razorpay_payment_id?: string;
|
|
1669
|
+
/**
|
|
1670
|
+
* - Payment polling timeout if not recieved response
|
|
1671
|
+
*/
|
|
1672
|
+
timeout?: number;
|
|
1673
|
+
/**
|
|
1674
|
+
* - Customer vpa address
|
|
1675
|
+
*/
|
|
1676
|
+
vpa?: string;
|
|
1677
|
+
};
|
|
1678
|
+
/** @returns {PaymentInitializationResponse} */
|
|
1679
|
+
declare function PaymentInitializationResponse(): PaymentInitializationResponse;
|
|
1680
|
+
type PaymentInitializationResponse = {
|
|
1681
|
+
/**
|
|
1682
|
+
* - Payment gateway name
|
|
1683
|
+
*/
|
|
1684
|
+
aggregator: string;
|
|
1685
|
+
/**
|
|
1686
|
+
* - Payment order id
|
|
1687
|
+
*/
|
|
1688
|
+
aggregator_order_id?: string;
|
|
1689
|
+
/**
|
|
1690
|
+
* - Payable amount.
|
|
1691
|
+
*/
|
|
1692
|
+
amount?: number;
|
|
1693
|
+
/**
|
|
1694
|
+
* - Bharath qr image url.
|
|
1695
|
+
*/
|
|
1696
|
+
bqr_image?: string;
|
|
1697
|
+
/**
|
|
1698
|
+
* - Currency code.
|
|
1699
|
+
*/
|
|
1700
|
+
currency?: string;
|
|
1701
|
+
/**
|
|
1702
|
+
* - Payment gateway customer id.
|
|
1703
|
+
*/
|
|
1704
|
+
customer_id?: string;
|
|
1705
|
+
/**
|
|
1706
|
+
* - EDC machine Unique Identifier
|
|
1707
|
+
*/
|
|
1708
|
+
device_id?: string;
|
|
1709
|
+
/**
|
|
1710
|
+
* - Order id
|
|
1711
|
+
*/
|
|
1712
|
+
merchant_order_id: string;
|
|
1713
|
+
/**
|
|
1714
|
+
* - Payment method
|
|
1715
|
+
*/
|
|
1716
|
+
method: string;
|
|
1717
|
+
/**
|
|
1718
|
+
* - Polling url.
|
|
1719
|
+
*/
|
|
1720
|
+
polling_url: string;
|
|
1721
|
+
/**
|
|
1722
|
+
* - Payment id.
|
|
1723
|
+
*/
|
|
1724
|
+
razorpay_payment_id?: string;
|
|
1725
|
+
/**
|
|
1726
|
+
* - Status of payment.
|
|
1727
|
+
*/
|
|
1728
|
+
status?: string;
|
|
1729
|
+
/**
|
|
1730
|
+
* - Response is successful or not.
|
|
1731
|
+
*/
|
|
1732
|
+
success: boolean;
|
|
1733
|
+
/**
|
|
1734
|
+
* - Timeout.
|
|
1735
|
+
*/
|
|
1736
|
+
timeout?: number;
|
|
1737
|
+
/**
|
|
1738
|
+
* - UPI poll url.
|
|
1739
|
+
*/
|
|
1740
|
+
upi_poll_url?: string;
|
|
1741
|
+
/**
|
|
1742
|
+
* - Payment virtual address.
|
|
1743
|
+
*/
|
|
1744
|
+
virtual_id?: string;
|
|
1745
|
+
/**
|
|
1746
|
+
* - Customer vpa address
|
|
1747
|
+
*/
|
|
1748
|
+
vpa?: string;
|
|
1749
|
+
};
|
|
1750
|
+
/** @returns {PaymentModeList} */
|
|
1751
|
+
declare function PaymentModeList(): PaymentModeList;
|
|
1752
|
+
type PaymentModeList = {
|
|
1753
|
+
/**
|
|
1754
|
+
* - Aggregator_name
|
|
1755
|
+
*/
|
|
1756
|
+
aggregator_name: string;
|
|
1757
|
+
/**
|
|
1758
|
+
* - Card_brand
|
|
1759
|
+
*/
|
|
1760
|
+
card_brand?: string;
|
|
1761
|
+
/**
|
|
1762
|
+
* - Card_brand_image
|
|
1763
|
+
*/
|
|
1764
|
+
card_brand_image?: string;
|
|
1765
|
+
/**
|
|
1766
|
+
* - Card_fingerprint
|
|
1767
|
+
*/
|
|
1768
|
+
card_fingerprint?: string;
|
|
1769
|
+
/**
|
|
1770
|
+
* - Card_id
|
|
1771
|
+
*/
|
|
1772
|
+
card_id?: string;
|
|
1773
|
+
/**
|
|
1774
|
+
* - Card_isin
|
|
1775
|
+
*/
|
|
1776
|
+
card_isin?: string;
|
|
1777
|
+
/**
|
|
1778
|
+
* - Card_issuer
|
|
1779
|
+
*/
|
|
1780
|
+
card_issuer?: string;
|
|
1781
|
+
/**
|
|
1782
|
+
* - Card_name
|
|
1783
|
+
*/
|
|
1784
|
+
card_name?: string;
|
|
1785
|
+
/**
|
|
1786
|
+
* - Card_number
|
|
1787
|
+
*/
|
|
1788
|
+
card_number?: string;
|
|
1789
|
+
/**
|
|
1790
|
+
* - Card_reference
|
|
1791
|
+
*/
|
|
1792
|
+
card_reference?: string;
|
|
1793
|
+
/**
|
|
1794
|
+
* - Card_token
|
|
1795
|
+
*/
|
|
1796
|
+
card_token?: string;
|
|
1797
|
+
/**
|
|
1798
|
+
* - Card_type
|
|
1799
|
+
*/
|
|
1800
|
+
card_type?: string;
|
|
1801
|
+
/**
|
|
1802
|
+
* - Cod limit
|
|
1803
|
+
*/
|
|
1804
|
+
cod_limit?: number;
|
|
1805
|
+
/**
|
|
1806
|
+
* - Cod limit per order
|
|
1807
|
+
*/
|
|
1808
|
+
cod_limit_per_order?: number;
|
|
1809
|
+
/**
|
|
1810
|
+
* - Code
|
|
1811
|
+
*/
|
|
1812
|
+
code?: string;
|
|
1813
|
+
/**
|
|
1814
|
+
* - If card is
|
|
1815
|
+
* tokenised or not
|
|
1816
|
+
*/
|
|
1817
|
+
compliant_with_tokenisation_guidelines?: boolean;
|
|
1818
|
+
/**
|
|
1819
|
+
* - Display name
|
|
1820
|
+
*/
|
|
1821
|
+
display_name?: string;
|
|
1822
|
+
/**
|
|
1823
|
+
* - Dispaly Priority
|
|
1824
|
+
*/
|
|
1825
|
+
display_priority?: number;
|
|
1826
|
+
/**
|
|
1827
|
+
* - Exp_month
|
|
1828
|
+
*/
|
|
1829
|
+
exp_month?: number;
|
|
1830
|
+
/**
|
|
1831
|
+
* - Exp_year
|
|
1832
|
+
*/
|
|
1833
|
+
exp_year?: number;
|
|
1834
|
+
/**
|
|
1835
|
+
* - Expired
|
|
1836
|
+
*/
|
|
1837
|
+
expired?: boolean;
|
|
1838
|
+
/**
|
|
1839
|
+
* - Fynd_vpa
|
|
1840
|
+
*/
|
|
1841
|
+
fynd_vpa?: string;
|
|
1842
|
+
/**
|
|
1843
|
+
* - Intent_app
|
|
1844
|
+
*/
|
|
1845
|
+
intent_app?: IntentApp[];
|
|
1846
|
+
/**
|
|
1847
|
+
* -
|
|
1848
|
+
* Intent_app_error_dict_list
|
|
1849
|
+
*/
|
|
1850
|
+
intent_app_error_dict_list?: IntentAppErrorList[];
|
|
1851
|
+
/**
|
|
1852
|
+
* - Intent_app_error_list
|
|
1853
|
+
*/
|
|
1854
|
+
intent_app_error_list?: string[];
|
|
1855
|
+
/**
|
|
1856
|
+
* - Intent_flow
|
|
1857
|
+
*/
|
|
1858
|
+
intent_flow?: boolean;
|
|
1859
|
+
/**
|
|
1860
|
+
* - Logo
|
|
1861
|
+
*/
|
|
1862
|
+
logo_url?: PaymentModeLogo;
|
|
1863
|
+
/**
|
|
1864
|
+
* - Merchant code
|
|
1865
|
+
*/
|
|
1866
|
+
merchant_code?: string;
|
|
1867
|
+
/**
|
|
1868
|
+
* - Name
|
|
1869
|
+
*/
|
|
1870
|
+
name?: string;
|
|
1871
|
+
/**
|
|
1872
|
+
* - Nickname
|
|
1873
|
+
*/
|
|
1874
|
+
nickname?: string;
|
|
1875
|
+
/**
|
|
1876
|
+
* - Remaining limit
|
|
1877
|
+
*/
|
|
1878
|
+
remaining_limit?: number;
|
|
1879
|
+
/**
|
|
1880
|
+
* - Retry_count
|
|
1881
|
+
*/
|
|
1882
|
+
retry_count?: number;
|
|
1883
|
+
/**
|
|
1884
|
+
* - Timeout
|
|
1885
|
+
*/
|
|
1886
|
+
timeout?: number;
|
|
1887
|
+
};
|
|
1888
|
+
/** @returns {PaymentModeLogo} */
|
|
1889
|
+
declare function PaymentModeLogo(): PaymentModeLogo;
|
|
1890
|
+
type PaymentModeLogo = {
|
|
1891
|
+
/**
|
|
1892
|
+
* - Large
|
|
1893
|
+
*/
|
|
1894
|
+
large: string;
|
|
1895
|
+
/**
|
|
1896
|
+
* - Smalll
|
|
1897
|
+
*/
|
|
1898
|
+
small: string;
|
|
1899
|
+
};
|
|
1900
|
+
/** @returns {PaymentObjectListSerializer} */
|
|
1901
|
+
declare function PaymentObjectListSerializer(): PaymentObjectListSerializer;
|
|
1902
|
+
type PaymentObjectListSerializer = {
|
|
1903
|
+
aggregator_payment_object?: any;
|
|
1904
|
+
all_status: string[];
|
|
1905
|
+
amount_in_paisa: string;
|
|
1906
|
+
application_id: string;
|
|
1907
|
+
collected_by: string;
|
|
1908
|
+
company_id: string;
|
|
1909
|
+
created_on: string;
|
|
1910
|
+
currency: string;
|
|
1911
|
+
current_status: string;
|
|
1912
|
+
id: string;
|
|
1913
|
+
modified_on: string;
|
|
1914
|
+
payment_gateway: string;
|
|
1915
|
+
payment_id?: string;
|
|
1916
|
+
payment_mode: string;
|
|
1917
|
+
payment_mode_identifier: string;
|
|
1918
|
+
refund_object?: any;
|
|
1919
|
+
refunded_by: string;
|
|
1920
|
+
user_object: any;
|
|
1921
|
+
};
|
|
1922
|
+
/** @returns {PaymentOptions} */
|
|
1923
|
+
declare function PaymentOptions(): PaymentOptions;
|
|
1924
|
+
type PaymentOptions = {
|
|
1925
|
+
/**
|
|
1926
|
+
* - Payment options
|
|
1927
|
+
*/
|
|
1928
|
+
payment_option: RootPaymentMode[];
|
|
1929
|
+
};
|
|
1930
|
+
/** @returns {PaymentOptionsResponse} */
|
|
1931
|
+
declare function PaymentOptionsResponse(): PaymentOptionsResponse;
|
|
1932
|
+
type PaymentOptionsResponse = {
|
|
1933
|
+
/**
|
|
1934
|
+
* - Payment options
|
|
1935
|
+
*/
|
|
1936
|
+
payment_options: PaymentOptions;
|
|
1937
|
+
/**
|
|
1938
|
+
* - Response is successful or not
|
|
1939
|
+
*/
|
|
1940
|
+
success: boolean;
|
|
1941
|
+
};
|
|
1942
|
+
/** @returns {PaymentStatusBulkHandlerRequest} */
|
|
1943
|
+
declare function PaymentStatusBulkHandlerRequest(): PaymentStatusBulkHandlerRequest;
|
|
1944
|
+
type PaymentStatusBulkHandlerRequest = {
|
|
1945
|
+
/**
|
|
1946
|
+
* - List of order ids
|
|
1947
|
+
*/
|
|
1948
|
+
merchant_order_id: string[];
|
|
1949
|
+
};
|
|
1950
|
+
/** @returns {PaymentStatusBulkHandlerResponse} */
|
|
1951
|
+
declare function PaymentStatusBulkHandlerResponse(): PaymentStatusBulkHandlerResponse;
|
|
1952
|
+
type PaymentStatusBulkHandlerResponse = {
|
|
1953
|
+
count?: number;
|
|
1954
|
+
data?: PaymentStatusObject[];
|
|
1955
|
+
error?: string;
|
|
1956
|
+
status: number;
|
|
1957
|
+
success: string;
|
|
1958
|
+
};
|
|
1959
|
+
/** @returns {PaymentStatusObject} */
|
|
1960
|
+
declare function PaymentStatusObject(): PaymentStatusObject;
|
|
1961
|
+
type PaymentStatusObject = {
|
|
1962
|
+
merchant_order_id: string;
|
|
1963
|
+
payment_object_list?: PaymentObjectListSerializer[];
|
|
1964
|
+
};
|
|
1965
|
+
/** @returns {PaymentStatusUpdateRequest} */
|
|
1966
|
+
declare function PaymentStatusUpdateRequest(): PaymentStatusUpdateRequest;
|
|
1967
|
+
type PaymentStatusUpdateRequest = {
|
|
1968
|
+
/**
|
|
1969
|
+
* - Payment gateway name
|
|
1970
|
+
*/
|
|
1971
|
+
aggregator: string;
|
|
1972
|
+
/**
|
|
1973
|
+
* - Payable amount.
|
|
1974
|
+
*/
|
|
1975
|
+
amount: number;
|
|
1976
|
+
/**
|
|
1977
|
+
* - Customer valid mobile number
|
|
1978
|
+
*/
|
|
1979
|
+
contact: string;
|
|
1980
|
+
/**
|
|
1981
|
+
* - Currency code.
|
|
1982
|
+
*/
|
|
1983
|
+
currency: string;
|
|
1984
|
+
/**
|
|
1985
|
+
* - Payment gateway customer id.
|
|
1986
|
+
*/
|
|
1987
|
+
customer_id: string;
|
|
1988
|
+
/**
|
|
1989
|
+
* - EDC machine Unique Identifier
|
|
1990
|
+
*/
|
|
1991
|
+
device_id?: string;
|
|
1992
|
+
/**
|
|
1993
|
+
* - Customer valid email
|
|
1994
|
+
*/
|
|
1995
|
+
email: string;
|
|
1996
|
+
/**
|
|
1997
|
+
* - Unique fynd order id
|
|
1998
|
+
*/
|
|
1999
|
+
merchant_order_id: string;
|
|
2000
|
+
/**
|
|
2001
|
+
* - Unique fynd transaction id
|
|
2002
|
+
*/
|
|
2003
|
+
merchant_transaction_id: string;
|
|
2004
|
+
/**
|
|
2005
|
+
* - Payment method
|
|
2006
|
+
*/
|
|
2007
|
+
method: string;
|
|
2008
|
+
/**
|
|
2009
|
+
* - Payment gateway order id
|
|
2010
|
+
*/
|
|
2011
|
+
order_id: string;
|
|
2012
|
+
/**
|
|
2013
|
+
* - Status of payment.
|
|
2014
|
+
*/
|
|
2015
|
+
status: string;
|
|
2016
|
+
/**
|
|
2017
|
+
* - Customer vpa address
|
|
2018
|
+
*/
|
|
2019
|
+
vpa?: string;
|
|
2020
|
+
};
|
|
2021
|
+
/** @returns {PaymentStatusUpdateResponse} */
|
|
2022
|
+
declare function PaymentStatusUpdateResponse(): PaymentStatusUpdateResponse;
|
|
2023
|
+
type PaymentStatusUpdateResponse = {
|
|
2024
|
+
/**
|
|
2025
|
+
* - Payment gateway name
|
|
2026
|
+
*/
|
|
2027
|
+
aggregator_name: string;
|
|
2028
|
+
/**
|
|
2029
|
+
* - Redirect url
|
|
2030
|
+
*/
|
|
2031
|
+
redirect_url?: string;
|
|
2032
|
+
/**
|
|
2033
|
+
* - Response is successful or not.
|
|
2034
|
+
*/
|
|
2035
|
+
retry: boolean;
|
|
2036
|
+
/**
|
|
2037
|
+
* - Payment status
|
|
2038
|
+
*/
|
|
2039
|
+
status: string;
|
|
2040
|
+
/**
|
|
2041
|
+
* - Response is successful or not
|
|
2042
|
+
*/
|
|
2043
|
+
success?: boolean;
|
|
2044
|
+
};
|
|
2045
|
+
/** @returns {Payout} */
|
|
2046
|
+
declare function Payout(): Payout;
|
|
2047
|
+
type Payout = {
|
|
2048
|
+
/**
|
|
2049
|
+
* - Customers details object
|
|
2050
|
+
*/
|
|
2051
|
+
customers: PayoutCustomer;
|
|
2052
|
+
/**
|
|
2053
|
+
* - Enable/DIsable Flag Payout
|
|
2054
|
+
*/
|
|
2055
|
+
is_active: boolean;
|
|
2056
|
+
/**
|
|
2057
|
+
* - Default or not
|
|
2058
|
+
*/
|
|
2059
|
+
is_default: boolean;
|
|
2060
|
+
/**
|
|
2061
|
+
* - Bank details object
|
|
2062
|
+
*/
|
|
2063
|
+
more_attributes: PayoutMoreAttributes;
|
|
2064
|
+
payouts_aggregators?: PayoutAggregator[];
|
|
2065
|
+
/**
|
|
2066
|
+
* - Transafer type
|
|
2067
|
+
*/
|
|
2068
|
+
transfer_type: string;
|
|
2069
|
+
/**
|
|
2070
|
+
* - Display priority of the payment mode
|
|
2071
|
+
*/
|
|
2072
|
+
unique_transfer_no: string;
|
|
2073
|
+
};
|
|
2074
|
+
/** @returns {PayoutAggregator} */
|
|
2075
|
+
declare function PayoutAggregator(): PayoutAggregator;
|
|
2076
|
+
type PayoutAggregator = {
|
|
2077
|
+
/**
|
|
2078
|
+
* - Aggregator_fund_id
|
|
2079
|
+
*/
|
|
2080
|
+
aggregator_fund_id?: number;
|
|
2081
|
+
/**
|
|
2082
|
+
* - Aggregator_id
|
|
2083
|
+
*/
|
|
2084
|
+
aggregator_id?: number;
|
|
2085
|
+
/**
|
|
2086
|
+
* - Payout_details_id
|
|
2087
|
+
*/
|
|
2088
|
+
payout_details_id?: number;
|
|
2089
|
+
};
|
|
2090
|
+
/** @returns {PayoutBankDetails} */
|
|
2091
|
+
declare function PayoutBankDetails(): PayoutBankDetails;
|
|
2092
|
+
type PayoutBankDetails = {
|
|
2093
|
+
account_holder?: string;
|
|
2094
|
+
account_no?: string;
|
|
2095
|
+
account_type: string;
|
|
2096
|
+
bank_name?: string;
|
|
2097
|
+
branch_name?: string;
|
|
2098
|
+
city?: string;
|
|
2099
|
+
country?: string;
|
|
2100
|
+
ifsc_code: string;
|
|
2101
|
+
pincode?: number;
|
|
2102
|
+
state?: string;
|
|
2103
|
+
};
|
|
2104
|
+
/** @returns {PayoutCustomer} */
|
|
2105
|
+
declare function PayoutCustomer(): PayoutCustomer;
|
|
2106
|
+
type PayoutCustomer = {
|
|
2107
|
+
/**
|
|
2108
|
+
* - Customer Email
|
|
2109
|
+
*/
|
|
2110
|
+
email?: string;
|
|
2111
|
+
/**
|
|
2112
|
+
* - Customer ID
|
|
2113
|
+
*/
|
|
2114
|
+
id?: number;
|
|
2115
|
+
/**
|
|
2116
|
+
* - Customer Mobile No
|
|
2117
|
+
*/
|
|
2118
|
+
mobile?: string;
|
|
2119
|
+
/**
|
|
2120
|
+
* - Customer Name
|
|
2121
|
+
*/
|
|
2122
|
+
name?: string;
|
|
2123
|
+
/**
|
|
2124
|
+
* - Unique_external_id
|
|
2125
|
+
*/
|
|
2126
|
+
unique_external_id?: string;
|
|
2127
|
+
};
|
|
2128
|
+
/** @returns {PayoutMoreAttributes} */
|
|
2129
|
+
declare function PayoutMoreAttributes(): PayoutMoreAttributes;
|
|
2130
|
+
type PayoutMoreAttributes = {
|
|
2131
|
+
/**
|
|
2132
|
+
* - Account Holder Name
|
|
2133
|
+
*/
|
|
2134
|
+
account_holder?: string;
|
|
2135
|
+
/**
|
|
2136
|
+
* - Account Number
|
|
2137
|
+
*/
|
|
2138
|
+
account_no?: string;
|
|
2139
|
+
/**
|
|
2140
|
+
* - Account Type Saving/Current
|
|
2141
|
+
*/
|
|
2142
|
+
account_type?: string;
|
|
2143
|
+
/**
|
|
2144
|
+
* - Name of Bank
|
|
2145
|
+
*/
|
|
2146
|
+
bank_name?: string;
|
|
2147
|
+
/**
|
|
2148
|
+
* - Branch Name
|
|
2149
|
+
*/
|
|
2150
|
+
branch_name?: string;
|
|
2151
|
+
/**
|
|
2152
|
+
* - City
|
|
2153
|
+
*/
|
|
2154
|
+
city?: string;
|
|
2155
|
+
/**
|
|
2156
|
+
* - Country
|
|
2157
|
+
*/
|
|
2158
|
+
country?: string;
|
|
2159
|
+
/**
|
|
2160
|
+
* - IFSC Code
|
|
2161
|
+
*/
|
|
2162
|
+
ifsc_code?: string;
|
|
2163
|
+
/**
|
|
2164
|
+
* - State
|
|
2165
|
+
*/
|
|
2166
|
+
state?: string;
|
|
2167
|
+
};
|
|
2168
|
+
/** @returns {PayoutRequest} */
|
|
2169
|
+
declare function PayoutRequest(): PayoutRequest;
|
|
2170
|
+
type PayoutRequest = {
|
|
2171
|
+
/**
|
|
2172
|
+
* - Aggregator Name
|
|
2173
|
+
*/
|
|
2174
|
+
aggregator: string;
|
|
2175
|
+
/**
|
|
2176
|
+
* - Payout bank details object
|
|
2177
|
+
*/
|
|
2178
|
+
bank_details: PayoutBankDetails;
|
|
2179
|
+
/**
|
|
2180
|
+
* - Enable/Disable Flag Payout
|
|
2181
|
+
*/
|
|
2182
|
+
is_active: boolean;
|
|
2183
|
+
/**
|
|
2184
|
+
* - Transafer type
|
|
2185
|
+
*/
|
|
2186
|
+
transfer_type: string;
|
|
2187
|
+
/**
|
|
2188
|
+
* - Unique Id of Payout
|
|
2189
|
+
*/
|
|
2190
|
+
unique_external_id: string;
|
|
2191
|
+
/**
|
|
2192
|
+
* - Payout users object
|
|
2193
|
+
*/
|
|
2194
|
+
users: any;
|
|
2195
|
+
};
|
|
2196
|
+
/** @returns {PayoutResponse} */
|
|
2197
|
+
declare function PayoutResponse(): PayoutResponse;
|
|
2198
|
+
type PayoutResponse = {
|
|
2199
|
+
/**
|
|
2200
|
+
* - Aggregator Name
|
|
2201
|
+
*/
|
|
2202
|
+
aggregator: string;
|
|
2203
|
+
/**
|
|
2204
|
+
* - Payout bank_details object
|
|
2205
|
+
*/
|
|
2206
|
+
bank_details: any;
|
|
2207
|
+
/**
|
|
2208
|
+
* - Created flag
|
|
2209
|
+
*/
|
|
2210
|
+
created: boolean;
|
|
2211
|
+
/**
|
|
2212
|
+
* - Enable/DIsable Flag Payout
|
|
2213
|
+
*/
|
|
2214
|
+
is_active: boolean;
|
|
2215
|
+
/**
|
|
2216
|
+
* - Status of payment
|
|
2217
|
+
*/
|
|
2218
|
+
payment_status: string;
|
|
2219
|
+
/**
|
|
2220
|
+
* - Payout object
|
|
2221
|
+
*/
|
|
2222
|
+
payouts: any;
|
|
2223
|
+
/**
|
|
2224
|
+
* - Response is successful or not
|
|
2225
|
+
*/
|
|
2226
|
+
success: boolean;
|
|
2227
|
+
/**
|
|
2228
|
+
* - Transfer type
|
|
2229
|
+
*/
|
|
2230
|
+
transfer_type: string;
|
|
2231
|
+
/**
|
|
2232
|
+
* - Unique transfer no
|
|
2233
|
+
*/
|
|
2234
|
+
unique_transfer_no: string;
|
|
2235
|
+
/**
|
|
2236
|
+
* - Users details object
|
|
2237
|
+
*/
|
|
2238
|
+
users: any;
|
|
2239
|
+
};
|
|
2240
|
+
/** @returns {PayoutsResponse} */
|
|
2241
|
+
declare function PayoutsResponse(): PayoutsResponse;
|
|
2242
|
+
type PayoutsResponse = {
|
|
2243
|
+
/**
|
|
2244
|
+
* - Contains list of PayoutSchema
|
|
2245
|
+
*/
|
|
2246
|
+
items: Payout[];
|
|
2247
|
+
/**
|
|
2248
|
+
* - Response is successful or not
|
|
2249
|
+
*/
|
|
2250
|
+
success: boolean;
|
|
2251
|
+
};
|
|
2252
|
+
/** @returns {PollingPaymentLinkResponse} */
|
|
2253
|
+
declare function PollingPaymentLinkResponse(): PollingPaymentLinkResponse;
|
|
2254
|
+
type PollingPaymentLinkResponse = {
|
|
2255
|
+
/**
|
|
2256
|
+
* - Aggregator name
|
|
2257
|
+
*/
|
|
2258
|
+
aggregator_name?: string;
|
|
2259
|
+
/**
|
|
2260
|
+
* - Amount
|
|
2261
|
+
*/
|
|
2262
|
+
amount?: number;
|
|
2263
|
+
/**
|
|
2264
|
+
* - HTTP status code
|
|
2265
|
+
*/
|
|
2266
|
+
http_status?: number;
|
|
2267
|
+
/**
|
|
2268
|
+
* - Message
|
|
2269
|
+
*/
|
|
2270
|
+
message?: string;
|
|
2271
|
+
/**
|
|
2272
|
+
* - Fynd order id
|
|
2273
|
+
*/
|
|
2274
|
+
order_id?: string;
|
|
2275
|
+
/**
|
|
2276
|
+
* - Payment link id
|
|
2277
|
+
*/
|
|
2278
|
+
payment_link_id?: string;
|
|
2279
|
+
/**
|
|
2280
|
+
* - Url to redirect to
|
|
2281
|
+
*/
|
|
2282
|
+
redirect_url?: string;
|
|
2283
|
+
/**
|
|
2284
|
+
* - Status of payment link
|
|
2285
|
+
*/
|
|
2286
|
+
status?: string;
|
|
2287
|
+
/**
|
|
2288
|
+
* - HTTP status code
|
|
2289
|
+
*/
|
|
2290
|
+
status_code?: number;
|
|
2291
|
+
/**
|
|
2292
|
+
* - Successful or failure
|
|
2293
|
+
*/
|
|
2294
|
+
success?: boolean;
|
|
2295
|
+
};
|
|
2296
|
+
/** @returns {RefundAccountResponse} */
|
|
2297
|
+
declare function RefundAccountResponse(): RefundAccountResponse;
|
|
2298
|
+
type RefundAccountResponse = {
|
|
2299
|
+
/**
|
|
2300
|
+
* - Refund account data.
|
|
2301
|
+
*/
|
|
2302
|
+
data?: any;
|
|
2303
|
+
is_verified_flag?: boolean;
|
|
2304
|
+
/**
|
|
2305
|
+
* - Response message
|
|
2306
|
+
*/
|
|
2307
|
+
message: string;
|
|
2308
|
+
/**
|
|
2309
|
+
* - Success or failure flag.
|
|
2310
|
+
*/
|
|
2311
|
+
success: boolean;
|
|
2312
|
+
};
|
|
2313
|
+
/** @returns {RepaymentDetailsSerialiserPayAll} */
|
|
2314
|
+
declare function RepaymentDetailsSerialiserPayAll(): RepaymentDetailsSerialiserPayAll;
|
|
2315
|
+
type RepaymentDetailsSerialiserPayAll = {
|
|
2316
|
+
/**
|
|
2317
|
+
* - Id of payment gateway
|
|
2318
|
+
*/
|
|
2319
|
+
aggregator_order_id: string;
|
|
2320
|
+
/**
|
|
2321
|
+
* - Unique Id for the transaction
|
|
2322
|
+
*/
|
|
2323
|
+
aggregator_transaction_id: string;
|
|
2324
|
+
/**
|
|
2325
|
+
* - Order id created in extension
|
|
2326
|
+
*/
|
|
2327
|
+
extension_order_id: string;
|
|
2328
|
+
shipment_details?: RepaymentRequestDetails[];
|
|
2329
|
+
/**
|
|
2330
|
+
* - Total amount
|
|
2331
|
+
*/
|
|
2332
|
+
total_amount: number;
|
|
2333
|
+
};
|
|
2334
|
+
/** @returns {RepaymentRequestDetails} */
|
|
2335
|
+
declare function RepaymentRequestDetails(): RepaymentRequestDetails;
|
|
2336
|
+
type RepaymentRequestDetails = {
|
|
2337
|
+
/**
|
|
2338
|
+
* - Name of Payment Gateway
|
|
2339
|
+
*/
|
|
2340
|
+
aggregator: string;
|
|
2341
|
+
/**
|
|
2342
|
+
* - Id of payment gateway
|
|
2343
|
+
*/
|
|
2344
|
+
aggregator_order_id: string;
|
|
2345
|
+
/**
|
|
2346
|
+
* - Unique Id for the transaction
|
|
2347
|
+
*/
|
|
2348
|
+
aggregator_transaction_id: string;
|
|
2349
|
+
/**
|
|
2350
|
+
* - Amount to paid back
|
|
2351
|
+
*/
|
|
2352
|
+
amount: number;
|
|
2353
|
+
/**
|
|
2354
|
+
* - Status
|
|
2355
|
+
*/
|
|
2356
|
+
current_status: string;
|
|
2357
|
+
/**
|
|
2358
|
+
* - Purchase Shipment Id
|
|
2359
|
+
*/
|
|
2360
|
+
fwd_shipment_id: string;
|
|
2361
|
+
/**
|
|
2362
|
+
* - Merchant's Order Id
|
|
2363
|
+
*/
|
|
2364
|
+
merchant_order_id: string;
|
|
2365
|
+
/**
|
|
2366
|
+
* - Outstanding details ID
|
|
2367
|
+
*/
|
|
2368
|
+
outstanding_details_id: number;
|
|
2369
|
+
/**
|
|
2370
|
+
* - Payment Mode
|
|
2371
|
+
*/
|
|
2372
|
+
payment_mode: string;
|
|
2373
|
+
/**
|
|
2374
|
+
* - Payment Mode Id
|
|
2375
|
+
*/
|
|
2376
|
+
payment_mode_identifier: string;
|
|
2377
|
+
};
|
|
2378
|
+
/** @returns {RepaymentResponse} */
|
|
2379
|
+
declare function RepaymentResponse(): RepaymentResponse;
|
|
2380
|
+
type RepaymentResponse = {
|
|
2381
|
+
data: any;
|
|
2382
|
+
/**
|
|
2383
|
+
* - Success/Failure of the transaction
|
|
2384
|
+
*/
|
|
2385
|
+
success: boolean;
|
|
2386
|
+
};
|
|
2387
|
+
/** @returns {ResendOrCancelPaymentRequest} */
|
|
2388
|
+
declare function ResendOrCancelPaymentRequest(): ResendOrCancelPaymentRequest;
|
|
2389
|
+
type ResendOrCancelPaymentRequest = {
|
|
2390
|
+
/**
|
|
2391
|
+
* - EDC machine Unique Identifier
|
|
2392
|
+
*/
|
|
2393
|
+
device_id?: string;
|
|
2394
|
+
/**
|
|
2395
|
+
* - Unique order id
|
|
2396
|
+
*/
|
|
2397
|
+
order_id: string;
|
|
2398
|
+
/**
|
|
2399
|
+
* - Either resend or cancel
|
|
2400
|
+
*/
|
|
2401
|
+
request_type: string;
|
|
2402
|
+
};
|
|
2403
|
+
/** @returns {ResendOrCancelPaymentResponse} */
|
|
2404
|
+
declare function ResendOrCancelPaymentResponse(): ResendOrCancelPaymentResponse;
|
|
2405
|
+
type ResendOrCancelPaymentResponse = {
|
|
2406
|
+
/**
|
|
2407
|
+
* - Data about link action status.
|
|
2408
|
+
*/
|
|
2409
|
+
data: LinkStatus;
|
|
2410
|
+
/**
|
|
2411
|
+
* - Response is successful or not.
|
|
2412
|
+
*/
|
|
2413
|
+
success: boolean;
|
|
2414
|
+
};
|
|
2415
|
+
/** @returns {ResendPaymentLinkResponse} */
|
|
2416
|
+
declare function ResendPaymentLinkResponse(): ResendPaymentLinkResponse;
|
|
2417
|
+
type ResendPaymentLinkResponse = {
|
|
2418
|
+
/**
|
|
2419
|
+
* - Message
|
|
2420
|
+
*/
|
|
2421
|
+
message: string;
|
|
2422
|
+
/**
|
|
2423
|
+
* - Polling request timeout
|
|
2424
|
+
*/
|
|
2425
|
+
polling_timeout?: number;
|
|
2426
|
+
/**
|
|
2427
|
+
* - HTTP status code
|
|
2428
|
+
*/
|
|
2429
|
+
status_code: number;
|
|
2430
|
+
/**
|
|
2431
|
+
* - Successful or failure
|
|
2432
|
+
*/
|
|
2433
|
+
success: boolean;
|
|
2434
|
+
};
|
|
2435
|
+
/** @returns {RevokeOAuthToken} */
|
|
2436
|
+
declare function RevokeOAuthToken(): RevokeOAuthToken;
|
|
2437
|
+
type RevokeOAuthToken = {
|
|
2438
|
+
/**
|
|
2439
|
+
* - The confirmation message of the token revoke.
|
|
2440
|
+
*/
|
|
2441
|
+
message: string;
|
|
2442
|
+
/**
|
|
2443
|
+
* - Response is successful or not
|
|
2444
|
+
*/
|
|
2445
|
+
success: boolean;
|
|
2446
|
+
};
|
|
2447
|
+
/** @returns {RootPaymentMode} */
|
|
2448
|
+
declare function RootPaymentMode(): RootPaymentMode;
|
|
2449
|
+
type RootPaymentMode = {
|
|
2450
|
+
/**
|
|
2451
|
+
* - Annonymous card flag
|
|
2452
|
+
*/
|
|
2453
|
+
add_card_enabled?: boolean;
|
|
2454
|
+
/**
|
|
2455
|
+
* - Dispaly Priority
|
|
2456
|
+
*/
|
|
2457
|
+
aggregator_name?: string;
|
|
2458
|
+
/**
|
|
2459
|
+
* - Annonymous card flag
|
|
2460
|
+
*/
|
|
2461
|
+
anonymous_enable?: boolean;
|
|
2462
|
+
/**
|
|
2463
|
+
* - Payment mode display name
|
|
2464
|
+
*/
|
|
2465
|
+
display_name: string;
|
|
2466
|
+
/**
|
|
2467
|
+
* - Dispaly Priority
|
|
2468
|
+
*/
|
|
2469
|
+
display_priority: number;
|
|
2470
|
+
/**
|
|
2471
|
+
* - This flag will be true in case of
|
|
2472
|
+
* Payment link payment through card
|
|
2473
|
+
*/
|
|
2474
|
+
is_pay_by_card_pl?: boolean;
|
|
2475
|
+
/**
|
|
2476
|
+
* - Payment mode
|
|
2477
|
+
*/
|
|
2478
|
+
list?: PaymentModeList[];
|
|
2479
|
+
/**
|
|
2480
|
+
* - Payment mode name
|
|
2481
|
+
*/
|
|
2482
|
+
name: string;
|
|
2483
|
+
/**
|
|
2484
|
+
* - Card save or not
|
|
2485
|
+
*/
|
|
2486
|
+
save_card?: boolean;
|
|
2487
|
+
};
|
|
2488
|
+
/** @returns {SaveSubscriptionSetupIntentRequest} */
|
|
2489
|
+
declare function SaveSubscriptionSetupIntentRequest(): SaveSubscriptionSetupIntentRequest;
|
|
2490
|
+
type SaveSubscriptionSetupIntentRequest = {
|
|
2491
|
+
/**
|
|
2492
|
+
* - Unique id i.e company:id
|
|
2493
|
+
*/
|
|
2494
|
+
unique_external_id: string;
|
|
2495
|
+
};
|
|
2496
|
+
/** @returns {SaveSubscriptionSetupIntentResponse} */
|
|
2497
|
+
declare function SaveSubscriptionSetupIntentResponse(): SaveSubscriptionSetupIntentResponse;
|
|
2498
|
+
type SaveSubscriptionSetupIntentResponse = {
|
|
2499
|
+
/**
|
|
2500
|
+
* - Subscription Payment Method Object
|
|
2501
|
+
*/
|
|
2502
|
+
data: any;
|
|
2503
|
+
/**
|
|
2504
|
+
* - Response is successful or not
|
|
2505
|
+
*/
|
|
2506
|
+
success: boolean;
|
|
2507
|
+
};
|
|
2508
|
+
/** @returns {SetCODForUserRequest} */
|
|
2509
|
+
declare function SetCODForUserRequest(): SetCODForUserRequest;
|
|
2510
|
+
type SetCODForUserRequest = {
|
|
2511
|
+
/**
|
|
2512
|
+
* - Either true or false
|
|
2513
|
+
*/
|
|
2514
|
+
is_active: boolean;
|
|
2515
|
+
/**
|
|
2516
|
+
* - Merchant User id
|
|
2517
|
+
*/
|
|
2518
|
+
merchant_user_id: string;
|
|
2519
|
+
/**
|
|
2520
|
+
* - Mobile No. of User
|
|
2521
|
+
*/
|
|
2522
|
+
mobileno: string;
|
|
2523
|
+
};
|
|
2524
|
+
/** @returns {SetCODOptionResponse} */
|
|
2525
|
+
declare function SetCODOptionResponse(): SetCODOptionResponse;
|
|
2526
|
+
type SetCODOptionResponse = {
|
|
2527
|
+
/**
|
|
2528
|
+
* - Message
|
|
2529
|
+
*/
|
|
2530
|
+
message: string;
|
|
2531
|
+
/**
|
|
2532
|
+
* - Response is successful or not
|
|
2533
|
+
*/
|
|
2534
|
+
success: boolean;
|
|
2535
|
+
};
|
|
2536
|
+
/** @returns {StatisticsData} */
|
|
2537
|
+
declare function StatisticsData(): StatisticsData;
|
|
2538
|
+
type StatisticsData = {
|
|
2539
|
+
/**
|
|
2540
|
+
* - No of active devices
|
|
2541
|
+
*/
|
|
2542
|
+
active_device_count: number;
|
|
2543
|
+
/**
|
|
2544
|
+
* - No of inactive devices
|
|
2545
|
+
*/
|
|
2546
|
+
inactive_device_count: number;
|
|
2547
|
+
};
|
|
2548
|
+
/** @returns {SubscriptionConfigResponse} */
|
|
2549
|
+
declare function SubscriptionConfigResponse(): SubscriptionConfigResponse;
|
|
2550
|
+
type SubscriptionConfigResponse = {
|
|
2551
|
+
/**
|
|
2552
|
+
* - Aggregator Name
|
|
2553
|
+
*/
|
|
2554
|
+
aggregator: string;
|
|
2555
|
+
/**
|
|
2556
|
+
* - Aggregator Config
|
|
2557
|
+
*/
|
|
2558
|
+
config: any;
|
|
2559
|
+
/**
|
|
2560
|
+
* - Response is successful or not
|
|
2561
|
+
*/
|
|
2562
|
+
success: boolean;
|
|
2563
|
+
};
|
|
2564
|
+
/** @returns {SubscriptionPaymentMethodResponse} */
|
|
2565
|
+
declare function SubscriptionPaymentMethodResponse(): SubscriptionPaymentMethodResponse;
|
|
2566
|
+
type SubscriptionPaymentMethodResponse = {
|
|
2567
|
+
/**
|
|
2568
|
+
* - Subscription Payment Method Object
|
|
2569
|
+
*/
|
|
2570
|
+
data: any[];
|
|
2571
|
+
/**
|
|
2572
|
+
* - Response is successful or not
|
|
2573
|
+
*/
|
|
2574
|
+
success: boolean;
|
|
2575
|
+
};
|
|
2576
|
+
/** @returns {UpdatePayoutRequest} */
|
|
2577
|
+
declare function UpdatePayoutRequest(): UpdatePayoutRequest;
|
|
2578
|
+
type UpdatePayoutRequest = {
|
|
2579
|
+
/**
|
|
2580
|
+
* - Enable/Disable Flag Payout
|
|
2581
|
+
*/
|
|
2582
|
+
is_active: boolean;
|
|
2583
|
+
/**
|
|
2584
|
+
* - Enable/Disable Default Payout
|
|
2585
|
+
*/
|
|
2586
|
+
is_default: boolean;
|
|
2587
|
+
/**
|
|
2588
|
+
* - Unique Id of Payout
|
|
2589
|
+
*/
|
|
2590
|
+
unique_external_id: string;
|
|
2591
|
+
};
|
|
2592
|
+
/** @returns {UpdatePayoutResponse} */
|
|
2593
|
+
declare function UpdatePayoutResponse(): UpdatePayoutResponse;
|
|
2594
|
+
type UpdatePayoutResponse = {
|
|
2595
|
+
/**
|
|
2596
|
+
* - Enable/DIsable Flag Payout
|
|
2597
|
+
*/
|
|
2598
|
+
is_active: boolean;
|
|
2599
|
+
/**
|
|
2600
|
+
* - Enable/Disable Default Payout
|
|
2601
|
+
*/
|
|
2602
|
+
is_default: boolean;
|
|
2603
|
+
/**
|
|
2604
|
+
* - Response is successful or not
|
|
2605
|
+
*/
|
|
2606
|
+
success: boolean;
|
|
2607
|
+
};
|
|
2608
|
+
/** @returns {ValidateCustomerRequest} */
|
|
2609
|
+
declare function ValidateCustomerRequest(): ValidateCustomerRequest;
|
|
2610
|
+
type ValidateCustomerRequest = {
|
|
2611
|
+
/**
|
|
2612
|
+
* - Payment gateway name in camel case i.e Simpl, Rupifi
|
|
2613
|
+
*/
|
|
2614
|
+
aggregator: string;
|
|
2615
|
+
/**
|
|
2616
|
+
* - Extra meta fields.
|
|
2617
|
+
*/
|
|
2618
|
+
billing_address?: any;
|
|
2619
|
+
/**
|
|
2620
|
+
* - Extra meta fields.
|
|
2621
|
+
*/
|
|
2622
|
+
delivery_address?: any;
|
|
2623
|
+
/**
|
|
2624
|
+
* - Extra meta fields.
|
|
2625
|
+
*/
|
|
2626
|
+
merchant_params?: any;
|
|
2627
|
+
/**
|
|
2628
|
+
* - Extra meta fields.
|
|
2629
|
+
*/
|
|
2630
|
+
order_items?: any[];
|
|
2631
|
+
/**
|
|
2632
|
+
* - Hashed payload string.
|
|
2633
|
+
*/
|
|
2634
|
+
payload?: string;
|
|
2635
|
+
/**
|
|
2636
|
+
* - User mobile number without country code.
|
|
2637
|
+
*/
|
|
2638
|
+
phone_number: string;
|
|
2639
|
+
/**
|
|
2640
|
+
* - Payable amount in paise
|
|
2641
|
+
*/
|
|
2642
|
+
transaction_amount_in_paise: number;
|
|
2643
|
+
};
|
|
2644
|
+
/** @returns {ValidateCustomerResponse} */
|
|
2645
|
+
declare function ValidateCustomerResponse(): ValidateCustomerResponse;
|
|
2646
|
+
type ValidateCustomerResponse = {
|
|
2647
|
+
/**
|
|
2648
|
+
* - Payment gateway response data
|
|
2649
|
+
*/
|
|
2650
|
+
data: any;
|
|
2651
|
+
/**
|
|
2652
|
+
* - Error or success message.
|
|
2653
|
+
*/
|
|
2654
|
+
message: string;
|
|
2655
|
+
/**
|
|
2656
|
+
* - Response is successful or not
|
|
2657
|
+
*/
|
|
2658
|
+
success: boolean;
|
|
2659
|
+
};
|