@gofynd/fdk-client-javascript 1.4.12 → 1.4.14
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 +1 -1
- package/package.json +2 -2
- package/sdk/application/ApplicationClient.d.ts +2 -0
- package/sdk/application/ApplicationClient.js +2 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +60 -53
- package/sdk/application/Cart/CartApplicationClient.js +130 -53
- package/sdk/application/Cart/CartApplicationModel.d.ts +489 -143
- package/sdk/application/Cart/CartApplicationModel.js +380 -159
- package/sdk/application/Cart/CartApplicationValidator.d.ts +38 -19
- package/sdk/application/Cart/CartApplicationValidator.js +34 -18
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +88 -68
- package/sdk/application/Catalog/CatalogApplicationClient.js +114 -94
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +194 -142
- package/sdk/application/Catalog/CatalogApplicationModel.js +171 -133
- package/sdk/application/Common/CommonApplicationClient.d.ts +3 -2
- package/sdk/application/Common/CommonApplicationClient.js +6 -5
- package/sdk/application/Common/CommonApplicationModel.d.ts +9 -9
- package/sdk/application/Common/CommonApplicationModel.js +6 -6
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +34 -27
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +34 -27
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +45 -57
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +35 -47
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +2 -2
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +2 -2
- package/sdk/application/Content/ContentApplicationClient.d.ts +23 -33
- package/sdk/application/Content/ContentApplicationClient.js +54 -75
- package/sdk/application/Content/ContentApplicationModel.d.ts +96 -39
- package/sdk/application/Content/ContentApplicationModel.js +88 -34
- package/sdk/application/Content/ContentApplicationValidator.d.ts +23 -17
- package/sdk/application/Content/ContentApplicationValidator.js +15 -10
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +9 -8
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +14 -13
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +23 -25
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +16 -18
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +6 -6
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +6 -6
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +36 -0
- package/sdk/application/Finance/FinanceApplicationClient.js +202 -0
- package/sdk/application/Finance/FinanceApplicationModel.d.ts +289 -0
- package/sdk/application/Finance/FinanceApplicationModel.js +208 -0
- package/sdk/application/Finance/FinanceApplicationValidator.d.ts +25 -0
- package/sdk/application/Finance/FinanceApplicationValidator.js +31 -0
- package/sdk/application/Lead/LeadApplicationClient.d.ts +2 -3
- package/sdk/application/Lead/LeadApplicationClient.js +2 -3
- package/sdk/application/Lead/LeadApplicationModel.d.ts +11 -11
- package/sdk/application/Lead/LeadApplicationModel.js +19 -19
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +39 -16
- package/sdk/application/Logistic/LogisticApplicationClient.js +189 -21
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +532 -173
- package/sdk/application/Logistic/LogisticApplicationModel.js +409 -139
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +54 -9
- package/sdk/application/Logistic/LogisticApplicationValidator.js +42 -8
- package/sdk/application/Order/OrderApplicationClient.d.ts +24 -10
- package/sdk/application/Order/OrderApplicationClient.js +96 -13
- package/sdk/application/Order/OrderApplicationModel.d.ts +434 -102
- package/sdk/application/Order/OrderApplicationModel.js +278 -73
- package/sdk/application/Order/OrderApplicationValidator.d.ts +17 -3
- package/sdk/application/Order/OrderApplicationValidator.js +15 -2
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +96 -99
- package/sdk/application/Payment/PaymentApplicationClient.js +111 -114
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +293 -289
- package/sdk/application/Payment/PaymentApplicationModel.js +243 -241
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +46 -46
- package/sdk/application/Payment/PaymentApplicationValidator.js +46 -46
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -16
- package/sdk/application/Rewards/RewardsApplicationClient.js +19 -22
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +37 -37
- package/sdk/application/Rewards/RewardsApplicationModel.js +29 -29
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +6 -6
- package/sdk/application/Rewards/RewardsApplicationValidator.js +6 -6
- package/sdk/application/Share/ShareApplicationModel.js +1 -1
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
- package/sdk/application/Theme/ThemeApplicationClient.js +8 -6
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +51 -19
- package/sdk/application/Theme/ThemeApplicationModel.js +47 -24
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +16 -3
- package/sdk/application/Theme/ThemeApplicationValidator.js +9 -2
- package/sdk/application/User/UserApplicationClient.d.ts +10 -10
- package/sdk/application/User/UserApplicationClient.js +10 -10
- package/sdk/application/User/UserApplicationModel.d.ts +17 -17
- package/sdk/application/User/UserApplicationModel.js +16 -16
- package/sdk/application/User/UserApplicationValidator.d.ts +2 -2
- package/sdk/application/User/UserApplicationValidator.js +2 -2
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
- package/sdk/application/Webhook/WebhookApplicationClient.js +4 -4
- package/sdk/application/Webhook/WebhookApplicationModel.d.ts +11 -9
- package/sdk/application/Webhook/WebhookApplicationModel.js +8 -6
- package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +2 -2
- package/sdk/application/Webhook/WebhookApplicationValidator.js +2 -2
- package/sdk/application/index.d.ts +1 -0
- package/sdk/application/index.js +2 -0
- package/sdk/common/Clickstream.js +12 -0
- package/sdk/common/Constant.d.ts +5 -0
- package/sdk/common/Constant.js +5 -0
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +86 -12
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +582 -24
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +116 -19
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +121 -14
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +8 -1
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +51 -4
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
- package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
- package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +126 -20
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +970 -20
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +767 -85
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +429 -76
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +10 -0
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +120 -6
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +8 -10
- package/sdk/partner/Theme/ThemePartnerClient.js +14 -16
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +99 -39
- package/sdk/partner/Theme/ThemePartnerModel.js +95 -38
- package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +28 -18
- package/sdk/partner/Webhook/WebhookPartnerClient.js +103 -18
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +612 -179
- package/sdk/partner/Webhook/WebhookPartnerModel.js +253 -150
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +1 -0
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +11 -3
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +5 -4
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +14 -8
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +59 -9
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +40 -4
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +11 -130
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +12 -152
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
- package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
- package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
- package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +134 -103
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +407 -112
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +111 -65
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +106 -44
- package/sdk/platform/Cart/CartPlatformModel.d.ts +4978 -1303
- package/sdk/platform/Cart/CartPlatformModel.js +1922 -1217
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +192 -164
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +371 -343
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +99 -99
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +54 -54
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +139 -116
- package/sdk/platform/Catalog/CatalogPlatformClient.js +191 -168
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1374 -749
- package/sdk/platform/Catalog/CatalogPlatformModel.js +1241 -830
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +18 -18
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +18 -18
- package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -2
- package/sdk/platform/Common/CommonPlatformClient.js +3 -2
- package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
- package/sdk/platform/Common/CommonPlatformModel.js +6 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +16 -17
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +16 -17
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +43 -33
- package/sdk/platform/Communication/CommunicationPlatformModel.js +38 -34
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +46 -42
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +47 -43
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +210 -212
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +46 -33
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +67 -54
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +45 -24
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +134 -30
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +283 -124
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +219 -94
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +124 -141
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +449 -422
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +179 -141
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +168 -130
- package/sdk/platform/Content/ContentPlatformClient.d.ts +142 -106
- package/sdk/platform/Content/ContentPlatformClient.js +523 -336
- package/sdk/platform/Content/ContentPlatformModel.d.ts +1244 -397
- package/sdk/platform/Content/ContentPlatformModel.js +526 -392
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +168 -117
- package/sdk/platform/Content/ContentPlatformValidator.js +162 -108
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +14 -12
- package/sdk/platform/Discount/DiscountPlatformClient.js +14 -12
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
- package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +94 -36
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +462 -60
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +62 -15
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +75 -13
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +370 -101
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +313 -84
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
- package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
- package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +15 -4
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +83 -5
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +25 -4
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +16 -3
- package/sdk/platform/Order/OrderPlatformClient.d.ts +138 -101
- package/sdk/platform/Order/OrderPlatformClient.js +267 -203
- package/sdk/platform/Order/OrderPlatformModel.d.ts +4497 -877
- package/sdk/platform/Order/OrderPlatformModel.js +2336 -812
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +147 -50
- package/sdk/platform/Order/OrderPlatformValidator.js +75 -46
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
- package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +93 -105
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +129 -141
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +48 -48
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +48 -48
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
- package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +327 -313
- package/sdk/platform/Payment/PaymentPlatformModel.js +283 -273
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
- package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
- package/sdk/platform/PlatformClient.d.ts +0 -2
- package/sdk/platform/PlatformClient.js +0 -4
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
- package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +45 -35
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +117 -38
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +22 -13
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +24 -12
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +40 -46
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +58 -64
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +602 -341
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +483 -284
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +8 -8
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
- package/sdk/platform/Share/SharePlatformModel.d.ts +36 -5
- package/sdk/platform/Share/SharePlatformModel.js +27 -4
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +8 -4
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +5 -0
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +2 -0
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +40 -13
- package/sdk/platform/Theme/ThemePlatformModel.js +38 -17
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
- package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
- package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
- package/sdk/platform/User/UserPlatformModel.js +23 -23
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
- package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +720 -427
- package/sdk/platform/Webhook/WebhookPlatformModel.js +410 -386
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
- package/sdk/platform/index.d.ts +0 -1
- package/sdk/platform/index.js +0 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +3 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.js +6 -5
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
- package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
- package/sdk/public/Content/ContentPublicClient.d.ts +112 -2
- package/sdk/public/Content/ContentPublicClient.js +791 -5
- package/sdk/public/Content/ContentPublicModel.d.ts +549 -3
- package/sdk/public/Content/ContentPublicModel.js +649 -3
- package/sdk/public/Content/ContentPublicValidator.d.ts +69 -3
- package/sdk/public/Content/ContentPublicValidator.js +88 -2
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
- package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
- package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
- package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2890
- package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
- package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export = PaymentPlatformModel;
|
|
2
2
|
/**
|
|
3
|
-
* @typedef
|
|
3
|
+
* @typedef PaymentGatewayConfigDetails
|
|
4
4
|
* @property {Object[]} [aggregators] - List of all speceific Payment options
|
|
5
5
|
* with their Details.
|
|
6
6
|
* @property {string} app_id - Application Id to which Payment config Mapped
|
|
@@ -24,7 +24,7 @@ export = PaymentPlatformModel;
|
|
|
24
24
|
* @property {string} merchant_salt - Merchant key of the payment aggregator
|
|
25
25
|
*/
|
|
26
26
|
/**
|
|
27
|
-
* @typedef
|
|
27
|
+
* @typedef PaymentGatewayConfigCreation
|
|
28
28
|
* @property {string} app_id - Application Id to which Payment config Mapped
|
|
29
29
|
* @property {boolean} [is_active] - Enable or Disable Flag
|
|
30
30
|
* @property {PaymentGatewayConfig} [aggregator_name]
|
|
@@ -40,7 +40,7 @@ export = PaymentPlatformModel;
|
|
|
40
40
|
* @property {string} code - Error descrption code.
|
|
41
41
|
*/
|
|
42
42
|
/**
|
|
43
|
-
* @typedef
|
|
43
|
+
* @typedef HttpErrorDetails
|
|
44
44
|
* @property {ErrorCodeAndDescription} error
|
|
45
45
|
* @property {boolean} success - Response is successful or not
|
|
46
46
|
*/
|
|
@@ -52,10 +52,10 @@ export = PaymentPlatformModel;
|
|
|
52
52
|
/**
|
|
53
53
|
* @typedef ProductCODData
|
|
54
54
|
* @property {Object} [items] - Item id with its cod availability.
|
|
55
|
-
* @property {
|
|
55
|
+
* @property {CODChargesLimitsDetails} [cod_charges]
|
|
56
56
|
*/
|
|
57
57
|
/**
|
|
58
|
-
* @typedef
|
|
58
|
+
* @typedef CODChargesLimitsDetails
|
|
59
59
|
* @property {number} [max_cart_value] - Max allowed cart value for cod order.
|
|
60
60
|
* @property {number} [min_cart_value] - Min allowed cart value for cod order.
|
|
61
61
|
* @property {number} [cod_charge] - Cod charges to be applied on order.
|
|
@@ -197,14 +197,14 @@ export = PaymentPlatformModel;
|
|
|
197
197
|
* @property {AdvanceObject} [advance]
|
|
198
198
|
*/
|
|
199
199
|
/**
|
|
200
|
-
* @typedef
|
|
200
|
+
* @typedef PaymentModeRouteDetails
|
|
201
201
|
* @property {PaymentOptionAndFlow} payment_options
|
|
202
202
|
* @property {boolean} success - Response is successful or not
|
|
203
203
|
* @property {Object} [payment_breakup] - Payment Breakup for advance payment
|
|
204
204
|
* @property {AdvancePaymentObject[]} [advance_payment] - Advance Payment Array
|
|
205
205
|
*/
|
|
206
206
|
/**
|
|
207
|
-
* @typedef
|
|
207
|
+
* @typedef PaymentOptionsDetails
|
|
208
208
|
* @property {PaymentOptions} payment_options
|
|
209
209
|
* @property {boolean} success - Response is successful or not
|
|
210
210
|
* @property {Object} [payment_breakup] - Payment Breakup for advance payment
|
|
@@ -246,7 +246,7 @@ export = PaymentPlatformModel;
|
|
|
246
246
|
* @property {string} transfer_type - Transafer type
|
|
247
247
|
*/
|
|
248
248
|
/**
|
|
249
|
-
* @typedef
|
|
249
|
+
* @typedef PayoutsDetails
|
|
250
250
|
* @property {boolean} success - Response is successful or not
|
|
251
251
|
* @property {Payout[]} items - Contains list of PayoutSchema
|
|
252
252
|
*/
|
|
@@ -264,7 +264,7 @@ export = PaymentPlatformModel;
|
|
|
264
264
|
* @property {number} [pincode]
|
|
265
265
|
*/
|
|
266
266
|
/**
|
|
267
|
-
* @typedef
|
|
267
|
+
* @typedef PayoutCreation
|
|
268
268
|
* @property {string} aggregator - Aggregator Name
|
|
269
269
|
* @property {Object} users - Payout users object
|
|
270
270
|
* @property {string} unique_external_id - Unique Id of Payout
|
|
@@ -273,7 +273,7 @@ export = PaymentPlatformModel;
|
|
|
273
273
|
* @property {string} transfer_type - Transafer type
|
|
274
274
|
*/
|
|
275
275
|
/**
|
|
276
|
-
* @typedef
|
|
276
|
+
* @typedef PayoutDetails
|
|
277
277
|
* @property {string} payment_status - Status of payment
|
|
278
278
|
* @property {Object} users - Users details object
|
|
279
279
|
* @property {string} aggregator - Aggregator Name
|
|
@@ -286,47 +286,47 @@ export = PaymentPlatformModel;
|
|
|
286
286
|
* @property {Object} payouts - Payout object
|
|
287
287
|
*/
|
|
288
288
|
/**
|
|
289
|
-
* @typedef
|
|
289
|
+
* @typedef UpdatePayoutDetails
|
|
290
290
|
* @property {boolean} is_default - Enable or Disable Default Payout
|
|
291
291
|
* @property {boolean} is_active - Enable or DIsable Flag Payout
|
|
292
292
|
* @property {boolean} success - Response is successful or not
|
|
293
293
|
*/
|
|
294
294
|
/**
|
|
295
|
-
* @typedef
|
|
295
|
+
* @typedef UpdatePayoutCreation
|
|
296
296
|
* @property {boolean} is_default - Enable or Disable Default Payout
|
|
297
297
|
* @property {boolean} is_active - Enable or Disable Flag Payout
|
|
298
298
|
* @property {string} unique_external_id - Unique Id of Payout
|
|
299
299
|
*/
|
|
300
300
|
/**
|
|
301
|
-
* @typedef
|
|
301
|
+
* @typedef DeletePayoutDetails
|
|
302
302
|
* @property {boolean} success - Response is successful or not
|
|
303
303
|
*/
|
|
304
304
|
/**
|
|
305
|
-
* @typedef
|
|
305
|
+
* @typedef SubscriptionPaymentMethodDetails
|
|
306
306
|
* @property {Object[]} data - Subscription Payment Method Object
|
|
307
307
|
* @property {boolean} success - Response is successful or not
|
|
308
308
|
*/
|
|
309
309
|
/**
|
|
310
|
-
* @typedef
|
|
310
|
+
* @typedef DeleteSubscriptionPaymentMethodDetails
|
|
311
311
|
* @property {boolean} success - Success or failure.
|
|
312
312
|
*/
|
|
313
313
|
/**
|
|
314
|
-
* @typedef
|
|
314
|
+
* @typedef SubscriptionConfigDetails
|
|
315
315
|
* @property {string} aggregator - Aggregator Name
|
|
316
316
|
* @property {Object} config - Aggregator Config
|
|
317
317
|
* @property {boolean} success - Response is successful or not
|
|
318
318
|
*/
|
|
319
319
|
/**
|
|
320
|
-
* @typedef
|
|
320
|
+
* @typedef SaveSubscriptionSetupIntentCreation
|
|
321
321
|
* @property {string} unique_external_id - Unique id i.e company:id
|
|
322
322
|
*/
|
|
323
323
|
/**
|
|
324
|
-
* @typedef
|
|
324
|
+
* @typedef SaveSubscriptionSetupIntentDetails
|
|
325
325
|
* @property {Object} data - Subscription Payment Method Object
|
|
326
326
|
* @property {boolean} success - Response is successful or not
|
|
327
327
|
*/
|
|
328
328
|
/**
|
|
329
|
-
* @typedef
|
|
329
|
+
* @typedef RefundAccountDetails
|
|
330
330
|
* @property {boolean} [is_verified_flag]
|
|
331
331
|
* @property {string} message - Response message
|
|
332
332
|
* @property {Object} [data] - Refund account data.
|
|
@@ -347,12 +347,12 @@ export = PaymentPlatformModel;
|
|
|
347
347
|
* @property {string} account_holder
|
|
348
348
|
*/
|
|
349
349
|
/**
|
|
350
|
-
* @typedef
|
|
350
|
+
* @typedef AddBeneficiaryDetailsOTPCreation
|
|
351
351
|
* @property {string} order_id
|
|
352
352
|
* @property {BankDetailsForOTP} details
|
|
353
353
|
*/
|
|
354
354
|
/**
|
|
355
|
-
* @typedef
|
|
355
|
+
* @typedef IfscCodeDetails
|
|
356
356
|
* @property {string} branch_name - Branch Name Of Account
|
|
357
357
|
* @property {boolean} [success] - Response is successful or not
|
|
358
358
|
* @property {string} bank_name - Bank Name Of Account
|
|
@@ -380,7 +380,7 @@ export = PaymentPlatformModel;
|
|
|
380
380
|
* @property {string} [mobile] - MObile no of User
|
|
381
381
|
*/
|
|
382
382
|
/**
|
|
383
|
-
* @typedef
|
|
383
|
+
* @typedef OrderBeneficiaryFetchResults
|
|
384
384
|
* @property {OrderBeneficiaryDetails[]} [beneficiaries] - All Beneficiaries Of An Order
|
|
385
385
|
* @property {boolean} [show_beneficiary_details] - Show beneficiary details or not.
|
|
386
386
|
*/
|
|
@@ -406,12 +406,12 @@ export = PaymentPlatformModel;
|
|
|
406
406
|
* @property {string} mode
|
|
407
407
|
*/
|
|
408
408
|
/**
|
|
409
|
-
* @typedef
|
|
409
|
+
* @typedef PaymentConfirmationCreation
|
|
410
410
|
* @property {string} order_id - Unique order id
|
|
411
411
|
* @property {MultiTenderPaymentMethod[]} payment_methods
|
|
412
412
|
*/
|
|
413
413
|
/**
|
|
414
|
-
* @typedef
|
|
414
|
+
* @typedef PaymentConfirmationDetails
|
|
415
415
|
* @property {string} order_id - Unique order id
|
|
416
416
|
* @property {string} message - Message
|
|
417
417
|
* @property {boolean} success - Payment confirmation updated or not.
|
|
@@ -425,19 +425,19 @@ export = PaymentPlatformModel;
|
|
|
425
425
|
* @property {number} usages - Used COD limit from the user Limit
|
|
426
426
|
*/
|
|
427
427
|
/**
|
|
428
|
-
* @typedef
|
|
428
|
+
* @typedef GetUserCODLimitDetails
|
|
429
429
|
* @property {CODdata} user_cod_data
|
|
430
430
|
* @property {boolean} success - Response is successful or not
|
|
431
431
|
*/
|
|
432
432
|
/**
|
|
433
|
-
* @typedef
|
|
433
|
+
* @typedef SetCODForUserCreation
|
|
434
434
|
* @property {string} [business_unit] - Business unit
|
|
435
435
|
* @property {string} mobileno - Mobile No. of User
|
|
436
436
|
* @property {boolean} is_active - Either true or false
|
|
437
437
|
* @property {string} merchant_user_id - Merchant User id
|
|
438
438
|
*/
|
|
439
439
|
/**
|
|
440
|
-
* @typedef
|
|
440
|
+
* @typedef SetCODOptionDetails
|
|
441
441
|
* @property {string} message - Message
|
|
442
442
|
* @property {boolean} success - Response is successful or not
|
|
443
443
|
*/
|
|
@@ -448,7 +448,7 @@ export = PaymentPlatformModel;
|
|
|
448
448
|
* @property {string[]} models - List of string of edc models
|
|
449
449
|
*/
|
|
450
450
|
/**
|
|
451
|
-
* @typedef
|
|
451
|
+
* @typedef EdcAggregatorAndModelListDetails
|
|
452
452
|
* @property {EdcModelData[]} data - List of aggregators and their edc models
|
|
453
453
|
* @property {boolean} success - Response is successful or not
|
|
454
454
|
*/
|
|
@@ -458,12 +458,12 @@ export = PaymentPlatformModel;
|
|
|
458
458
|
* @property {number} active_device_count - No of active devices
|
|
459
459
|
*/
|
|
460
460
|
/**
|
|
461
|
-
* @typedef
|
|
461
|
+
* @typedef EdcDeviceStatsDetails
|
|
462
462
|
* @property {StatisticsData} statistics
|
|
463
463
|
* @property {boolean} success - Response is successful or not
|
|
464
464
|
*/
|
|
465
465
|
/**
|
|
466
|
-
* @typedef
|
|
466
|
+
* @typedef EdcAddCreation
|
|
467
467
|
* @property {string} edc_model - Model of the edc machine
|
|
468
468
|
* @property {number} store_id - Store at which devices is to used
|
|
469
469
|
* @property {number} aggregator_id - Aggregator which will accept payment
|
|
@@ -488,17 +488,17 @@ export = PaymentPlatformModel;
|
|
|
488
488
|
* @property {string} application_id - Application ID
|
|
489
489
|
*/
|
|
490
490
|
/**
|
|
491
|
-
* @typedef
|
|
491
|
+
* @typedef EdcDeviceAddDetails
|
|
492
492
|
* @property {EdcDevice} data
|
|
493
493
|
* @property {boolean} success - Response is successful or not
|
|
494
494
|
*/
|
|
495
495
|
/**
|
|
496
|
-
* @typedef
|
|
496
|
+
* @typedef EdcDeviceDetails
|
|
497
497
|
* @property {EdcDevice} data
|
|
498
498
|
* @property {boolean} success - Response is successful or not
|
|
499
499
|
*/
|
|
500
500
|
/**
|
|
501
|
-
* @typedef
|
|
501
|
+
* @typedef EdcUpdate
|
|
502
502
|
* @property {string} [edc_model] - Model of the edc machine
|
|
503
503
|
* @property {number} [store_id] - Store at which devices is to used
|
|
504
504
|
* @property {number} [aggregator_id] - Aggregator which will accept payment
|
|
@@ -508,7 +508,7 @@ export = PaymentPlatformModel;
|
|
|
508
508
|
* @property {string} [device_tag] - Device tag of edc device to identify it
|
|
509
509
|
*/
|
|
510
510
|
/**
|
|
511
|
-
* @typedef
|
|
511
|
+
* @typedef EdcDeviceUpdateDetails
|
|
512
512
|
* @property {boolean} success - Response is successful or not
|
|
513
513
|
*/
|
|
514
514
|
/**
|
|
@@ -522,14 +522,14 @@ export = PaymentPlatformModel;
|
|
|
522
522
|
* @property {number} [size] - The number of items per page.
|
|
523
523
|
*/
|
|
524
524
|
/**
|
|
525
|
-
* @typedef
|
|
525
|
+
* @typedef EdcDeviceListDetails
|
|
526
526
|
* @property {EdcDevice[]} items - List of all edc mapped to the application
|
|
527
527
|
* options with their Details.
|
|
528
528
|
* @property {Page} page
|
|
529
529
|
* @property {boolean} success - Response is successful or not
|
|
530
530
|
*/
|
|
531
531
|
/**
|
|
532
|
-
* @typedef
|
|
532
|
+
* @typedef PaymentInitializationCreation
|
|
533
533
|
* @property {string} [razorpay_payment_id] - Payment gateway payment id
|
|
534
534
|
* @property {string} [device_id] - EDC machine Unique Identifier
|
|
535
535
|
* @property {string} email - Customer valid email
|
|
@@ -545,7 +545,7 @@ export = PaymentPlatformModel;
|
|
|
545
545
|
* @property {string} method - Payment method
|
|
546
546
|
*/
|
|
547
547
|
/**
|
|
548
|
-
* @typedef
|
|
548
|
+
* @typedef PaymentInitializationDetails
|
|
549
549
|
* @property {string} [razorpay_payment_id] - Payment id.
|
|
550
550
|
* @property {string} [device_id] - EDC machine Unique Identifier
|
|
551
551
|
* @property {string} [upi_poll_url] - UPI poll url.
|
|
@@ -565,7 +565,7 @@ export = PaymentPlatformModel;
|
|
|
565
565
|
* @property {string} method - Payment method
|
|
566
566
|
*/
|
|
567
567
|
/**
|
|
568
|
-
* @typedef
|
|
568
|
+
* @typedef PaymentStatusUpdateCreation
|
|
569
569
|
* @property {string} [device_id] - EDC machine Unique Identifier
|
|
570
570
|
* @property {string} email - Customer valid email
|
|
571
571
|
* @property {string} customer_id - Payment gateway customer id.
|
|
@@ -581,7 +581,7 @@ export = PaymentPlatformModel;
|
|
|
581
581
|
* @property {string} merchant_transaction_id - Unique fynd transaction id
|
|
582
582
|
*/
|
|
583
583
|
/**
|
|
584
|
-
* @typedef
|
|
584
|
+
* @typedef PaymentStatusUpdateDetails
|
|
585
585
|
* @property {string} [redirect_url] - Redirect url
|
|
586
586
|
* @property {boolean} retry - Response is successful or not.
|
|
587
587
|
* @property {boolean} [success] - Response is successful or not
|
|
@@ -589,7 +589,7 @@ export = PaymentPlatformModel;
|
|
|
589
589
|
* @property {string} aggregator_name - Payment gateway name
|
|
590
590
|
*/
|
|
591
591
|
/**
|
|
592
|
-
* @typedef
|
|
592
|
+
* @typedef ResendOrCancelPaymentCreation
|
|
593
593
|
* @property {string} order_id - Unique order id
|
|
594
594
|
* @property {string} [device_id] - EDC machine Unique Identifier
|
|
595
595
|
* @property {string} request_type - Either resend or cancel
|
|
@@ -602,16 +602,16 @@ export = PaymentPlatformModel;
|
|
|
602
602
|
* status of payment link.
|
|
603
603
|
*/
|
|
604
604
|
/**
|
|
605
|
-
* @typedef
|
|
605
|
+
* @typedef ResendOrCancelPaymentDetails
|
|
606
606
|
* @property {LinkStatus} data
|
|
607
607
|
* @property {boolean} success - Response is successful or not.
|
|
608
608
|
*/
|
|
609
609
|
/**
|
|
610
|
-
* @typedef
|
|
610
|
+
* @typedef PaymentStatusBulkHandlerCreation
|
|
611
611
|
* @property {string[]} merchant_order_id - List of order ids
|
|
612
612
|
*/
|
|
613
613
|
/**
|
|
614
|
-
* @typedef
|
|
614
|
+
* @typedef PaymentObjectList
|
|
615
615
|
* @property {Object} user_object
|
|
616
616
|
* @property {string} modified_on
|
|
617
617
|
* @property {string} collected_by
|
|
@@ -634,10 +634,10 @@ export = PaymentPlatformModel;
|
|
|
634
634
|
/**
|
|
635
635
|
* @typedef PaymentStatusObject
|
|
636
636
|
* @property {string} merchant_order_id
|
|
637
|
-
* @property {
|
|
637
|
+
* @property {PaymentObjectList[]} [payment_object_list]
|
|
638
638
|
*/
|
|
639
639
|
/**
|
|
640
|
-
* @typedef
|
|
640
|
+
* @typedef PaymentStatusBulkHandlerDetails
|
|
641
641
|
* @property {number} [count]
|
|
642
642
|
* @property {PaymentStatusObject[]} [data]
|
|
643
643
|
* @property {string} success
|
|
@@ -645,7 +645,7 @@ export = PaymentPlatformModel;
|
|
|
645
645
|
* @property {number} status
|
|
646
646
|
*/
|
|
647
647
|
/**
|
|
648
|
-
* @typedef
|
|
648
|
+
* @typedef GetOauthUrlDetails
|
|
649
649
|
* @property {string} url - The url to call for authenticating
|
|
650
650
|
* @property {boolean} success - Response is successful or not
|
|
651
651
|
*/
|
|
@@ -676,12 +676,12 @@ export = PaymentPlatformModel;
|
|
|
676
676
|
* @property {RepaymentRequestDetails[]} [shipment_details]
|
|
677
677
|
*/
|
|
678
678
|
/**
|
|
679
|
-
* @typedef
|
|
679
|
+
* @typedef RepaymentDetails
|
|
680
680
|
* @property {Object} data
|
|
681
681
|
* @property {boolean} success - Success/Failure of the transaction
|
|
682
682
|
*/
|
|
683
683
|
/**
|
|
684
|
-
* @typedef
|
|
684
|
+
* @typedef MerchantOnBoardingCreation
|
|
685
685
|
* @property {string} credit_line_id - Merchant ID at Ajiodhan's end
|
|
686
686
|
* @property {string} aggregator - Payment aggregator name
|
|
687
687
|
* @property {string} app_id - Application id
|
|
@@ -689,12 +689,12 @@ export = PaymentPlatformModel;
|
|
|
689
689
|
* @property {string} status - Status
|
|
690
690
|
*/
|
|
691
691
|
/**
|
|
692
|
-
* @typedef
|
|
692
|
+
* @typedef MerchantOnBoardingDetails
|
|
693
693
|
* @property {Object} data
|
|
694
694
|
* @property {boolean} success - Success/Failure of the transaction
|
|
695
695
|
*/
|
|
696
696
|
/**
|
|
697
|
-
* @typedef
|
|
697
|
+
* @typedef ValidateCustomerCreation
|
|
698
698
|
* @property {string} phone_number - User mobile number without country code.
|
|
699
699
|
* @property {string} aggregator - Payment gateway name in camel case i.e Simpl, Rupifi
|
|
700
700
|
* @property {string} [payload] - Hashed payload string.
|
|
@@ -705,13 +705,13 @@ export = PaymentPlatformModel;
|
|
|
705
705
|
* @property {Object} [billing_address] - Extra meta fields.
|
|
706
706
|
*/
|
|
707
707
|
/**
|
|
708
|
-
* @typedef
|
|
708
|
+
* @typedef ValidateCustomerDetails
|
|
709
709
|
* @property {string} message - Error or success message.
|
|
710
710
|
* @property {Object} [data] - Payment gateway response data
|
|
711
711
|
* @property {boolean} success - Response is successful or not
|
|
712
712
|
*/
|
|
713
713
|
/**
|
|
714
|
-
* @typedef
|
|
714
|
+
* @typedef GetPaymentLinkDetails
|
|
715
715
|
* @property {string} message - Message
|
|
716
716
|
* @property {number} status_code - HTTP status code
|
|
717
717
|
* @property {number} [amount] - Total value of order
|
|
@@ -734,7 +734,7 @@ export = PaymentPlatformModel;
|
|
|
734
734
|
* @property {boolean} [cancelled] - Payment link is cancelled or not
|
|
735
735
|
*/
|
|
736
736
|
/**
|
|
737
|
-
* @typedef
|
|
737
|
+
* @typedef ErrorDetails
|
|
738
738
|
* @property {number} status_code - HTTP status code
|
|
739
739
|
* @property {ErrorDescription} [error]
|
|
740
740
|
* @property {string} message - Message
|
|
@@ -748,7 +748,7 @@ export = PaymentPlatformModel;
|
|
|
748
748
|
* @property {string} [assign_card_id]
|
|
749
749
|
*/
|
|
750
750
|
/**
|
|
751
|
-
* @typedef
|
|
751
|
+
* @typedef CreatePaymentLinkCreation
|
|
752
752
|
* @property {string} email - Email to which the payment link is to be sent
|
|
753
753
|
* @property {number} amount - Total value of order
|
|
754
754
|
* @property {string} mobile_number - Mobile number to which the payment link is
|
|
@@ -757,9 +757,13 @@ export = PaymentPlatformModel;
|
|
|
757
757
|
* @property {string} [description] - Merchant order id
|
|
758
758
|
* @property {CreatePaymentLinkMeta} meta
|
|
759
759
|
* @property {string} external_order_id - Merchant order id
|
|
760
|
+
* @property {string} [success_redirection_url] - URL to which the user will be
|
|
761
|
+
* redirected after a successful payment.
|
|
762
|
+
* @property {string} [failure_redirection_url] - URL to which the user will be
|
|
763
|
+
* redirected if the payment fails.
|
|
760
764
|
*/
|
|
761
765
|
/**
|
|
762
|
-
* @typedef
|
|
766
|
+
* @typedef CreatePaymentLinkDetails
|
|
763
767
|
* @property {string} message - Message
|
|
764
768
|
* @property {number} status_code - HTTP status code
|
|
765
769
|
* @property {string} [payment_link_url] - Url of payment link
|
|
@@ -768,7 +772,7 @@ export = PaymentPlatformModel;
|
|
|
768
772
|
* @property {string} [payment_link_id] - Unique id of payment link
|
|
769
773
|
*/
|
|
770
774
|
/**
|
|
771
|
-
* @typedef
|
|
775
|
+
* @typedef PollingPaymentLinkDetails
|
|
772
776
|
* @property {string} [message] - Message
|
|
773
777
|
* @property {number} [http_status] - HTTP status code
|
|
774
778
|
* @property {number} [status_code] - HTTP status code
|
|
@@ -781,18 +785,18 @@ export = PaymentPlatformModel;
|
|
|
781
785
|
* @property {string} [aggregator_name] - Aggregator name
|
|
782
786
|
*/
|
|
783
787
|
/**
|
|
784
|
-
* @typedef
|
|
788
|
+
* @typedef CancelOrResendPaymentLinkCreation
|
|
785
789
|
* @property {string} payment_link_id - Unique id of payment link
|
|
786
790
|
*/
|
|
787
791
|
/**
|
|
788
|
-
* @typedef
|
|
792
|
+
* @typedef ResendPaymentLinkDetails
|
|
789
793
|
* @property {number} status_code - HTTP status code
|
|
790
794
|
* @property {string} message - Message
|
|
791
795
|
* @property {number} [polling_timeout] - Polling request timeout
|
|
792
796
|
* @property {boolean} success - Successful or failure
|
|
793
797
|
*/
|
|
794
798
|
/**
|
|
795
|
-
* @typedef
|
|
799
|
+
* @typedef CancelPaymentLinkDetails
|
|
796
800
|
* @property {number} status_code - HTTP status code
|
|
797
801
|
* @property {string} message - Message
|
|
798
802
|
* @property {boolean} success - Successful or failure
|
|
@@ -815,18 +819,18 @@ export = PaymentPlatformModel;
|
|
|
815
819
|
* @property {PaymentCode} method_code
|
|
816
820
|
*/
|
|
817
821
|
/**
|
|
818
|
-
* @typedef
|
|
822
|
+
* @typedef GetPaymentCodeDetails
|
|
819
823
|
* @property {GetPaymentCode} data
|
|
820
824
|
* @property {boolean} success - Response is successful or not.
|
|
821
825
|
*/
|
|
822
826
|
/**
|
|
823
|
-
* @typedef
|
|
827
|
+
* @typedef PlatformPaymentModeDetails
|
|
824
828
|
* @property {string} [message] - Message
|
|
825
829
|
* @property {Object[]} [items] - List of all aggregator and payment mode details.
|
|
826
830
|
* @property {boolean} success - Response is successful or not.
|
|
827
831
|
*/
|
|
828
832
|
/**
|
|
829
|
-
* @typedef
|
|
833
|
+
* @typedef MerchnatPaymentModeCreation
|
|
830
834
|
* @property {Object} [offline] - Details to be updated for online payment configuration.
|
|
831
835
|
* @property {Object} [online] - Details to be updated for offline payment configuration.
|
|
832
836
|
*/
|
|
@@ -902,7 +906,7 @@ export = PaymentPlatformModel;
|
|
|
902
906
|
* @property {string} status - Stautus of the payment
|
|
903
907
|
*/
|
|
904
908
|
/**
|
|
905
|
-
* @typedef
|
|
909
|
+
* @typedef PaymentSessionCreation
|
|
906
910
|
* @property {Object} [meta] - Meta
|
|
907
911
|
* @property {string} gid - Global identifier of the entity (e.g. order, cart
|
|
908
912
|
* etc.) against which payment_session was initiated. This is generated by
|
|
@@ -916,7 +920,7 @@ export = PaymentPlatformModel;
|
|
|
916
920
|
* @property {string} checksum - Checksum to verify the payload
|
|
917
921
|
*/
|
|
918
922
|
/**
|
|
919
|
-
* @typedef
|
|
923
|
+
* @typedef PaymentSessionPutDetails
|
|
920
924
|
* @property {string} gid - Global identifier of the entity (e.g. order, cart
|
|
921
925
|
* etc.) against which payment_session was initiated. This is generated by
|
|
922
926
|
* Fynd payments platform and is unique.
|
|
@@ -945,7 +949,7 @@ export = PaymentPlatformModel;
|
|
|
945
949
|
* @property {string} [balance_transaction] - Balance transaction.
|
|
946
950
|
*/
|
|
947
951
|
/**
|
|
948
|
-
* @typedef
|
|
952
|
+
* @typedef RefundSessionCreation
|
|
949
953
|
* @property {Object} [meta] - Meta
|
|
950
954
|
* @property {string} gid - Global identifier of the entity (e.g. order, cart
|
|
951
955
|
* etc.) against which payment_session was initiated. This is generated by
|
|
@@ -960,7 +964,7 @@ export = PaymentPlatformModel;
|
|
|
960
964
|
* @property {string} checksum - Checksum to verify payload
|
|
961
965
|
*/
|
|
962
966
|
/**
|
|
963
|
-
* @typedef
|
|
967
|
+
* @typedef RefundSessionDetails
|
|
964
968
|
* @property {string} gid - Global identifier of the entity (e.g. order, cart
|
|
965
969
|
* etc.) against which payment_session was initiated. This is generated by
|
|
966
970
|
* Fynd payments platform and is unique.
|
|
@@ -970,7 +974,7 @@ export = PaymentPlatformModel;
|
|
|
970
974
|
* @property {number} total_refund_amount - The total amount refunded.
|
|
971
975
|
*/
|
|
972
976
|
/**
|
|
973
|
-
* @typedef
|
|
977
|
+
* @typedef PaymentDetails
|
|
974
978
|
* @property {Object[]} payment_methods - Method of payment
|
|
975
979
|
* @property {string} gid - Global identifier of the entity (e.g. order, cart
|
|
976
980
|
* etc.) against which payment_session was initiated. This is generated by
|
|
@@ -1004,7 +1008,7 @@ export = PaymentPlatformModel;
|
|
|
1004
1008
|
* id generated by payment gateway
|
|
1005
1009
|
*/
|
|
1006
1010
|
/**
|
|
1007
|
-
* @typedef
|
|
1011
|
+
* @typedef CartDetails
|
|
1008
1012
|
* @property {Object} items - Items that are added in cart
|
|
1009
1013
|
* @property {Object[]} articles - List of articles that are added in cart
|
|
1010
1014
|
* @property {number} cart_value - Total cart value i.e. amount to be paid
|
|
@@ -1013,7 +1017,7 @@ export = PaymentPlatformModel;
|
|
|
1013
1017
|
* retrieve custom data fields to cart items.
|
|
1014
1018
|
*/
|
|
1015
1019
|
/**
|
|
1016
|
-
* @typedef
|
|
1020
|
+
* @typedef RefundDetails
|
|
1017
1021
|
* @property {number} amount - Refunded amount
|
|
1018
1022
|
* @property {string} currency - The currency of the payment.
|
|
1019
1023
|
* @property {string} request_id - Refund request id, unique id generated by Fynd platform
|
|
@@ -1022,7 +1026,7 @@ export = PaymentPlatformModel;
|
|
|
1022
1026
|
* @property {string} refund_utr - Unique refund utr generated by payment gateway.
|
|
1023
1027
|
*/
|
|
1024
1028
|
/**
|
|
1025
|
-
* @typedef
|
|
1029
|
+
* @typedef PaymentSessionFetchDetails
|
|
1026
1030
|
* @property {Object} payment_details - Object of payment details
|
|
1027
1031
|
* @property {string} [currency] - The currency of the payment.
|
|
1028
1032
|
* @property {string} status - The status of the payment session.
|
|
@@ -1030,8 +1034,8 @@ export = PaymentPlatformModel;
|
|
|
1030
1034
|
* @property {string} gid - Global identifier of the entity (e.g. order, cart
|
|
1031
1035
|
* etc.) against which payment_session was initiated. This is generated by
|
|
1032
1036
|
* Fynd payments platform and is unique.
|
|
1033
|
-
* @property {
|
|
1034
|
-
* @property {
|
|
1037
|
+
* @property {CartDetails} [cart_details]
|
|
1038
|
+
* @property {RefundDetails[]} refund_details - Object of refund details
|
|
1035
1039
|
*/
|
|
1036
1040
|
/**
|
|
1037
1041
|
* @typedef RefundSourcesPriority
|
|
@@ -1040,7 +1044,7 @@ export = PaymentPlatformModel;
|
|
|
1040
1044
|
* @property {string} source - Source of refund
|
|
1041
1045
|
*/
|
|
1042
1046
|
/**
|
|
1043
|
-
* @typedef
|
|
1047
|
+
* @typedef RefundPriorityDetails
|
|
1044
1048
|
* @property {string} configuration - Configuration for merchant or customer
|
|
1045
1049
|
* @property {boolean} success - Success
|
|
1046
1050
|
* @property {boolean} apportion - Apportion refund to multiple sources
|
|
@@ -1048,12 +1052,12 @@ export = PaymentPlatformModel;
|
|
|
1048
1052
|
* @property {string} [message] - Message
|
|
1049
1053
|
*/
|
|
1050
1054
|
/**
|
|
1051
|
-
* @typedef
|
|
1055
|
+
* @typedef RefundPriorityCreation
|
|
1052
1056
|
* @property {boolean} apportion - Apportion refund to multiple sources
|
|
1053
1057
|
* @property {RefundSourcesPriority[]} refund_sources_priority - Refund sources priority
|
|
1054
1058
|
*/
|
|
1055
1059
|
/**
|
|
1056
|
-
* @typedef
|
|
1060
|
+
* @typedef MerchantPaymentModeCreation
|
|
1057
1061
|
* @property {string} business_unit - Business unit
|
|
1058
1062
|
* @property {Object[]} items - List of item details with respect to payment_mode
|
|
1059
1063
|
* @property {Object} device - List of devices and its activation status
|
|
@@ -1069,7 +1073,7 @@ export = PaymentPlatformModel;
|
|
|
1069
1073
|
* @property {string} business_unit - Business unit name
|
|
1070
1074
|
*/
|
|
1071
1075
|
/**
|
|
1072
|
-
* @typedef
|
|
1076
|
+
* @typedef PlatformPaymentModeCopyConfigCreation
|
|
1073
1077
|
* @property {FromConfig} from_config
|
|
1074
1078
|
* @property {ToConfig} to_config
|
|
1075
1079
|
*/
|
|
@@ -1088,7 +1092,7 @@ export = PaymentPlatformModel;
|
|
|
1088
1092
|
* @property {string} name - Payment mode name
|
|
1089
1093
|
*/
|
|
1090
1094
|
/**
|
|
1091
|
-
* @typedef
|
|
1095
|
+
* @typedef PaymentOrderCreation
|
|
1092
1096
|
* @property {string} order_id - Order id
|
|
1093
1097
|
* @property {PaymentOrderMethods[]} [payment_methods]
|
|
1094
1098
|
* @property {string} [shipment_id] - Shipment_id
|
|
@@ -1107,7 +1111,7 @@ export = PaymentPlatformModel;
|
|
|
1107
1111
|
* @property {string} [merchant_order_id] - Merchant order id
|
|
1108
1112
|
*/
|
|
1109
1113
|
/**
|
|
1110
|
-
* @typedef
|
|
1114
|
+
* @typedef PaymentOrderDetails
|
|
1111
1115
|
* @property {string} message - Message
|
|
1112
1116
|
* @property {boolean} success - Successful or failure
|
|
1113
1117
|
* @property {string} [payment_confirm_url] - Payment confirm url for aggregator
|
|
@@ -1123,7 +1127,7 @@ export = PaymentPlatformModel;
|
|
|
1123
1127
|
* @property {string} [is_greater_than]
|
|
1124
1128
|
*/
|
|
1125
1129
|
/**
|
|
1126
|
-
* @typedef
|
|
1130
|
+
* @typedef AggregatorVersionDetails
|
|
1127
1131
|
* @property {string} message - Message
|
|
1128
1132
|
* @property {boolean} success - Successful or failure
|
|
1129
1133
|
* @property {AggregatorVersionItemSchema} [items]
|
|
@@ -1135,7 +1139,7 @@ export = PaymentPlatformModel;
|
|
|
1135
1139
|
* @property {string} [is_greater_than]
|
|
1136
1140
|
*/
|
|
1137
1141
|
/**
|
|
1138
|
-
* @typedef
|
|
1142
|
+
* @typedef PatchAggregatorControl
|
|
1139
1143
|
* @property {string} [business_unit] - Business unit
|
|
1140
1144
|
* @property {Object[]} [items] - List of item details with respect to payment_mode
|
|
1141
1145
|
* @property {string} [device] - Device name
|
|
@@ -1190,11 +1194,11 @@ export = PaymentPlatformModel;
|
|
|
1190
1194
|
declare class PaymentPlatformModel {
|
|
1191
1195
|
}
|
|
1192
1196
|
declare namespace PaymentPlatformModel {
|
|
1193
|
-
export {
|
|
1197
|
+
export { PaymentGatewayConfigDetails, ErrorCodeDescription, PaymentGatewayConfig, PaymentGatewayConfigCreation, PaymentGatewayToBeReviewed, ErrorCodeAndDescription, HttpErrorDetails, IntentAppErrorList, ProductCODData, CODChargesLimitsDetails, PaymentModeLogo, IntentApp, PaymentModeList, RootPaymentMode, PaymentOptions, AggregatorRoute, PaymentDefaultSelection, PaymentFlow, PaymentOptionAndFlow, AdvanceObject, SplitObject, AdvancePaymentObject, PaymentModeRouteDetails, PaymentOptionsDetails, PayoutCustomer, PayoutMoreAttributes, PayoutAggregator, Payout, PayoutsDetails, PayoutBankDetails, PayoutCreation, PayoutDetails, UpdatePayoutDetails, UpdatePayoutCreation, DeletePayoutDetails, SubscriptionPaymentMethodDetails, DeleteSubscriptionPaymentMethodDetails, SubscriptionConfigDetails, SaveSubscriptionSetupIntentCreation, SaveSubscriptionSetupIntentDetails, RefundAccountDetails, NotFoundResourceError, BankDetailsForOTP, AddBeneficiaryDetailsOTPCreation, IfscCodeDetails, OrderBeneficiaryDetails, OrderBeneficiaryFetchResults, MultiTenderPaymentMeta, MultiTenderPaymentMethod, PaymentConfirmationCreation, PaymentConfirmationDetails, CODdata, GetUserCODLimitDetails, SetCODForUserCreation, SetCODOptionDetails, EdcModelData, EdcAggregatorAndModelListDetails, StatisticsData, EdcDeviceStatsDetails, EdcAddCreation, EdcDevice, EdcDeviceAddDetails, EdcDeviceDetails, EdcUpdate, EdcDeviceUpdateDetails, Page, EdcDeviceListDetails, PaymentInitializationCreation, PaymentInitializationDetails, PaymentStatusUpdateCreation, PaymentStatusUpdateDetails, ResendOrCancelPaymentCreation, LinkStatus, ResendOrCancelPaymentDetails, PaymentStatusBulkHandlerCreation, PaymentObjectList, PaymentStatusObject, PaymentStatusBulkHandlerDetails, GetOauthUrlDetails, RevokeOAuthToken, RepaymentRequestDetails, RepaymentDetailsSerialiserPayAll, RepaymentDetails, MerchantOnBoardingCreation, MerchantOnBoardingDetails, ValidateCustomerCreation, ValidateCustomerDetails, GetPaymentLinkDetails, ErrorDescription, ErrorDetails, CreatePaymentLinkMeta, CreatePaymentLinkCreation, CreatePaymentLinkDetails, PollingPaymentLinkDetails, CancelOrResendPaymentLinkCreation, ResendPaymentLinkDetails, CancelPaymentLinkDetails, Code, PaymentCode, GetPaymentCode, GetPaymentCodeDetails, PlatformPaymentModeDetails, MerchnatPaymentModeCreation, OrderDetail, AddressDetail, PaymentSessionDetail, PaymentSessionCreation, PaymentSessionPutDetails, RefundSessionDetail, RefundSessionCreation, RefundSessionDetails, PaymentDetails, CartDetails, RefundDetails, PaymentSessionFetchDetails, RefundSourcesPriority, RefundPriorityDetails, RefundPriorityCreation, MerchantPaymentModeCreation, FromConfig, ToConfig, PlatformPaymentModeCopyConfigCreation, PaymentMethodsMetaOrder, PaymentOrderMethods, PaymentOrderCreation, PaymentOrderData, PaymentOrderDetails, AggregatorVersionItemSchema, AggregatorVersionDetails, AggregatorVersionRequestSchema, PatchAggregatorControl, PaymentModeCustomConfigSchema, PaymentCustomConfigDetailsSchema, PaymentCustomConfigCustomerSchema, PaymentCustomConfigModeSchema, PaymentCustomConfigDetailsRequestSchema, PaymentCustomConfigCustomerRequestSchema, PaymentCustomConfigRequestSchema, PaymentCustomConfigResponseSchema };
|
|
1194
1198
|
}
|
|
1195
|
-
/** @returns {
|
|
1196
|
-
declare function
|
|
1197
|
-
type
|
|
1199
|
+
/** @returns {PaymentGatewayConfigDetails} */
|
|
1200
|
+
declare function PaymentGatewayConfigDetails(): PaymentGatewayConfigDetails;
|
|
1201
|
+
type PaymentGatewayConfigDetails = {
|
|
1198
1202
|
/**
|
|
1199
1203
|
* - List of all speceific Payment options
|
|
1200
1204
|
* with their Details.
|
|
@@ -1261,9 +1265,9 @@ type PaymentGatewayConfig = {
|
|
|
1261
1265
|
*/
|
|
1262
1266
|
merchant_salt: string;
|
|
1263
1267
|
};
|
|
1264
|
-
/** @returns {
|
|
1265
|
-
declare function
|
|
1266
|
-
type
|
|
1268
|
+
/** @returns {PaymentGatewayConfigCreation} */
|
|
1269
|
+
declare function PaymentGatewayConfigCreation(): PaymentGatewayConfigCreation;
|
|
1270
|
+
type PaymentGatewayConfigCreation = {
|
|
1267
1271
|
/**
|
|
1268
1272
|
* - Application Id to which Payment config Mapped
|
|
1269
1273
|
*/
|
|
@@ -1298,9 +1302,9 @@ type ErrorCodeAndDescription = {
|
|
|
1298
1302
|
*/
|
|
1299
1303
|
code: string;
|
|
1300
1304
|
};
|
|
1301
|
-
/** @returns {
|
|
1302
|
-
declare function
|
|
1303
|
-
type
|
|
1305
|
+
/** @returns {HttpErrorDetails} */
|
|
1306
|
+
declare function HttpErrorDetails(): HttpErrorDetails;
|
|
1307
|
+
type HttpErrorDetails = {
|
|
1304
1308
|
error: ErrorCodeAndDescription;
|
|
1305
1309
|
/**
|
|
1306
1310
|
* - Response is successful or not
|
|
@@ -1326,11 +1330,11 @@ type ProductCODData = {
|
|
|
1326
1330
|
* - Item id with its cod availability.
|
|
1327
1331
|
*/
|
|
1328
1332
|
items?: any;
|
|
1329
|
-
cod_charges?:
|
|
1333
|
+
cod_charges?: CODChargesLimitsDetails;
|
|
1330
1334
|
};
|
|
1331
|
-
/** @returns {
|
|
1332
|
-
declare function
|
|
1333
|
-
type
|
|
1335
|
+
/** @returns {CODChargesLimitsDetails} */
|
|
1336
|
+
declare function CODChargesLimitsDetails(): CODChargesLimitsDetails;
|
|
1337
|
+
type CODChargesLimitsDetails = {
|
|
1334
1338
|
/**
|
|
1335
1339
|
* - Max allowed cart value for cod order.
|
|
1336
1340
|
*/
|
|
@@ -1717,9 +1721,9 @@ type AdvancePaymentObject = {
|
|
|
1717
1721
|
split?: SplitObject;
|
|
1718
1722
|
advance?: AdvanceObject;
|
|
1719
1723
|
};
|
|
1720
|
-
/** @returns {
|
|
1721
|
-
declare function
|
|
1722
|
-
type
|
|
1724
|
+
/** @returns {PaymentModeRouteDetails} */
|
|
1725
|
+
declare function PaymentModeRouteDetails(): PaymentModeRouteDetails;
|
|
1726
|
+
type PaymentModeRouteDetails = {
|
|
1723
1727
|
payment_options: PaymentOptionAndFlow;
|
|
1724
1728
|
/**
|
|
1725
1729
|
* - Response is successful or not
|
|
@@ -1734,9 +1738,9 @@ type PaymentModeRouteResponse = {
|
|
|
1734
1738
|
*/
|
|
1735
1739
|
advance_payment?: AdvancePaymentObject[];
|
|
1736
1740
|
};
|
|
1737
|
-
/** @returns {
|
|
1738
|
-
declare function
|
|
1739
|
-
type
|
|
1741
|
+
/** @returns {PaymentOptionsDetails} */
|
|
1742
|
+
declare function PaymentOptionsDetails(): PaymentOptionsDetails;
|
|
1743
|
+
type PaymentOptionsDetails = {
|
|
1740
1744
|
payment_options: PaymentOptions;
|
|
1741
1745
|
/**
|
|
1742
1746
|
* - Response is successful or not
|
|
@@ -1850,9 +1854,9 @@ type Payout = {
|
|
|
1850
1854
|
*/
|
|
1851
1855
|
transfer_type: string;
|
|
1852
1856
|
};
|
|
1853
|
-
/** @returns {
|
|
1854
|
-
declare function
|
|
1855
|
-
type
|
|
1857
|
+
/** @returns {PayoutsDetails} */
|
|
1858
|
+
declare function PayoutsDetails(): PayoutsDetails;
|
|
1859
|
+
type PayoutsDetails = {
|
|
1856
1860
|
/**
|
|
1857
1861
|
* - Response is successful or not
|
|
1858
1862
|
*/
|
|
@@ -1876,9 +1880,9 @@ type PayoutBankDetails = {
|
|
|
1876
1880
|
branch_name?: string;
|
|
1877
1881
|
pincode?: number;
|
|
1878
1882
|
};
|
|
1879
|
-
/** @returns {
|
|
1880
|
-
declare function
|
|
1881
|
-
type
|
|
1883
|
+
/** @returns {PayoutCreation} */
|
|
1884
|
+
declare function PayoutCreation(): PayoutCreation;
|
|
1885
|
+
type PayoutCreation = {
|
|
1882
1886
|
/**
|
|
1883
1887
|
* - Aggregator Name
|
|
1884
1888
|
*/
|
|
@@ -1901,9 +1905,9 @@ type PayoutRequest = {
|
|
|
1901
1905
|
*/
|
|
1902
1906
|
transfer_type: string;
|
|
1903
1907
|
};
|
|
1904
|
-
/** @returns {
|
|
1905
|
-
declare function
|
|
1906
|
-
type
|
|
1908
|
+
/** @returns {PayoutDetails} */
|
|
1909
|
+
declare function PayoutDetails(): PayoutDetails;
|
|
1910
|
+
type PayoutDetails = {
|
|
1907
1911
|
/**
|
|
1908
1912
|
* - Status of payment
|
|
1909
1913
|
*/
|
|
@@ -1945,9 +1949,9 @@ type PayoutResponse = {
|
|
|
1945
1949
|
*/
|
|
1946
1950
|
payouts: any;
|
|
1947
1951
|
};
|
|
1948
|
-
/** @returns {
|
|
1949
|
-
declare function
|
|
1950
|
-
type
|
|
1952
|
+
/** @returns {UpdatePayoutDetails} */
|
|
1953
|
+
declare function UpdatePayoutDetails(): UpdatePayoutDetails;
|
|
1954
|
+
type UpdatePayoutDetails = {
|
|
1951
1955
|
/**
|
|
1952
1956
|
* - Enable or Disable Default Payout
|
|
1953
1957
|
*/
|
|
@@ -1961,9 +1965,9 @@ type UpdatePayoutResponse = {
|
|
|
1961
1965
|
*/
|
|
1962
1966
|
success: boolean;
|
|
1963
1967
|
};
|
|
1964
|
-
/** @returns {
|
|
1965
|
-
declare function
|
|
1966
|
-
type
|
|
1968
|
+
/** @returns {UpdatePayoutCreation} */
|
|
1969
|
+
declare function UpdatePayoutCreation(): UpdatePayoutCreation;
|
|
1970
|
+
type UpdatePayoutCreation = {
|
|
1967
1971
|
/**
|
|
1968
1972
|
* - Enable or Disable Default Payout
|
|
1969
1973
|
*/
|
|
@@ -1977,17 +1981,17 @@ type UpdatePayoutRequest = {
|
|
|
1977
1981
|
*/
|
|
1978
1982
|
unique_external_id: string;
|
|
1979
1983
|
};
|
|
1980
|
-
/** @returns {
|
|
1981
|
-
declare function
|
|
1982
|
-
type
|
|
1984
|
+
/** @returns {DeletePayoutDetails} */
|
|
1985
|
+
declare function DeletePayoutDetails(): DeletePayoutDetails;
|
|
1986
|
+
type DeletePayoutDetails = {
|
|
1983
1987
|
/**
|
|
1984
1988
|
* - Response is successful or not
|
|
1985
1989
|
*/
|
|
1986
1990
|
success: boolean;
|
|
1987
1991
|
};
|
|
1988
|
-
/** @returns {
|
|
1989
|
-
declare function
|
|
1990
|
-
type
|
|
1992
|
+
/** @returns {SubscriptionPaymentMethodDetails} */
|
|
1993
|
+
declare function SubscriptionPaymentMethodDetails(): SubscriptionPaymentMethodDetails;
|
|
1994
|
+
type SubscriptionPaymentMethodDetails = {
|
|
1991
1995
|
/**
|
|
1992
1996
|
* - Subscription Payment Method Object
|
|
1993
1997
|
*/
|
|
@@ -1997,17 +2001,17 @@ type SubscriptionPaymentMethodResponse = {
|
|
|
1997
2001
|
*/
|
|
1998
2002
|
success: boolean;
|
|
1999
2003
|
};
|
|
2000
|
-
/** @returns {
|
|
2001
|
-
declare function
|
|
2002
|
-
type
|
|
2004
|
+
/** @returns {DeleteSubscriptionPaymentMethodDetails} */
|
|
2005
|
+
declare function DeleteSubscriptionPaymentMethodDetails(): DeleteSubscriptionPaymentMethodDetails;
|
|
2006
|
+
type DeleteSubscriptionPaymentMethodDetails = {
|
|
2003
2007
|
/**
|
|
2004
2008
|
* - Success or failure.
|
|
2005
2009
|
*/
|
|
2006
2010
|
success: boolean;
|
|
2007
2011
|
};
|
|
2008
|
-
/** @returns {
|
|
2009
|
-
declare function
|
|
2010
|
-
type
|
|
2012
|
+
/** @returns {SubscriptionConfigDetails} */
|
|
2013
|
+
declare function SubscriptionConfigDetails(): SubscriptionConfigDetails;
|
|
2014
|
+
type SubscriptionConfigDetails = {
|
|
2011
2015
|
/**
|
|
2012
2016
|
* - Aggregator Name
|
|
2013
2017
|
*/
|
|
@@ -2021,17 +2025,17 @@ type SubscriptionConfigResponse = {
|
|
|
2021
2025
|
*/
|
|
2022
2026
|
success: boolean;
|
|
2023
2027
|
};
|
|
2024
|
-
/** @returns {
|
|
2025
|
-
declare function
|
|
2026
|
-
type
|
|
2028
|
+
/** @returns {SaveSubscriptionSetupIntentCreation} */
|
|
2029
|
+
declare function SaveSubscriptionSetupIntentCreation(): SaveSubscriptionSetupIntentCreation;
|
|
2030
|
+
type SaveSubscriptionSetupIntentCreation = {
|
|
2027
2031
|
/**
|
|
2028
2032
|
* - Unique id i.e company:id
|
|
2029
2033
|
*/
|
|
2030
2034
|
unique_external_id: string;
|
|
2031
2035
|
};
|
|
2032
|
-
/** @returns {
|
|
2033
|
-
declare function
|
|
2034
|
-
type
|
|
2036
|
+
/** @returns {SaveSubscriptionSetupIntentDetails} */
|
|
2037
|
+
declare function SaveSubscriptionSetupIntentDetails(): SaveSubscriptionSetupIntentDetails;
|
|
2038
|
+
type SaveSubscriptionSetupIntentDetails = {
|
|
2035
2039
|
/**
|
|
2036
2040
|
* - Subscription Payment Method Object
|
|
2037
2041
|
*/
|
|
@@ -2041,9 +2045,9 @@ type SaveSubscriptionSetupIntentResponse = {
|
|
|
2041
2045
|
*/
|
|
2042
2046
|
success: boolean;
|
|
2043
2047
|
};
|
|
2044
|
-
/** @returns {
|
|
2045
|
-
declare function
|
|
2046
|
-
type
|
|
2048
|
+
/** @returns {RefundAccountDetails} */
|
|
2049
|
+
declare function RefundAccountDetails(): RefundAccountDetails;
|
|
2050
|
+
type RefundAccountDetails = {
|
|
2047
2051
|
is_verified_flag?: boolean;
|
|
2048
2052
|
/**
|
|
2049
2053
|
* - Response message
|
|
@@ -2083,15 +2087,15 @@ type BankDetailsForOTP = {
|
|
|
2083
2087
|
bank_name: string;
|
|
2084
2088
|
account_holder: string;
|
|
2085
2089
|
};
|
|
2086
|
-
/** @returns {
|
|
2087
|
-
declare function
|
|
2088
|
-
type
|
|
2090
|
+
/** @returns {AddBeneficiaryDetailsOTPCreation} */
|
|
2091
|
+
declare function AddBeneficiaryDetailsOTPCreation(): AddBeneficiaryDetailsOTPCreation;
|
|
2092
|
+
type AddBeneficiaryDetailsOTPCreation = {
|
|
2089
2093
|
order_id: string;
|
|
2090
2094
|
details: BankDetailsForOTP;
|
|
2091
2095
|
};
|
|
2092
|
-
/** @returns {
|
|
2093
|
-
declare function
|
|
2094
|
-
type
|
|
2096
|
+
/** @returns {IfscCodeDetails} */
|
|
2097
|
+
declare function IfscCodeDetails(): IfscCodeDetails;
|
|
2098
|
+
type IfscCodeDetails = {
|
|
2095
2099
|
/**
|
|
2096
2100
|
* - Branch Name Of Account
|
|
2097
2101
|
*/
|
|
@@ -2185,9 +2189,9 @@ type OrderBeneficiaryDetails = {
|
|
|
2185
2189
|
*/
|
|
2186
2190
|
mobile?: string;
|
|
2187
2191
|
};
|
|
2188
|
-
/** @returns {
|
|
2189
|
-
declare function
|
|
2190
|
-
type
|
|
2192
|
+
/** @returns {OrderBeneficiaryFetchResults} */
|
|
2193
|
+
declare function OrderBeneficiaryFetchResults(): OrderBeneficiaryFetchResults;
|
|
2194
|
+
type OrderBeneficiaryFetchResults = {
|
|
2191
2195
|
/**
|
|
2192
2196
|
* - All Beneficiaries Of An Order
|
|
2193
2197
|
*/
|
|
@@ -2241,18 +2245,18 @@ type MultiTenderPaymentMethod = {
|
|
|
2241
2245
|
amount: number;
|
|
2242
2246
|
mode: string;
|
|
2243
2247
|
};
|
|
2244
|
-
/** @returns {
|
|
2245
|
-
declare function
|
|
2246
|
-
type
|
|
2248
|
+
/** @returns {PaymentConfirmationCreation} */
|
|
2249
|
+
declare function PaymentConfirmationCreation(): PaymentConfirmationCreation;
|
|
2250
|
+
type PaymentConfirmationCreation = {
|
|
2247
2251
|
/**
|
|
2248
2252
|
* - Unique order id
|
|
2249
2253
|
*/
|
|
2250
2254
|
order_id: string;
|
|
2251
2255
|
payment_methods: MultiTenderPaymentMethod[];
|
|
2252
2256
|
};
|
|
2253
|
-
/** @returns {
|
|
2254
|
-
declare function
|
|
2255
|
-
type
|
|
2257
|
+
/** @returns {PaymentConfirmationDetails} */
|
|
2258
|
+
declare function PaymentConfirmationDetails(): PaymentConfirmationDetails;
|
|
2259
|
+
type PaymentConfirmationDetails = {
|
|
2256
2260
|
/**
|
|
2257
2261
|
* - Unique order id
|
|
2258
2262
|
*/
|
|
@@ -2290,18 +2294,18 @@ type CODdata = {
|
|
|
2290
2294
|
*/
|
|
2291
2295
|
usages: number;
|
|
2292
2296
|
};
|
|
2293
|
-
/** @returns {
|
|
2294
|
-
declare function
|
|
2295
|
-
type
|
|
2297
|
+
/** @returns {GetUserCODLimitDetails} */
|
|
2298
|
+
declare function GetUserCODLimitDetails(): GetUserCODLimitDetails;
|
|
2299
|
+
type GetUserCODLimitDetails = {
|
|
2296
2300
|
user_cod_data: CODdata;
|
|
2297
2301
|
/**
|
|
2298
2302
|
* - Response is successful or not
|
|
2299
2303
|
*/
|
|
2300
2304
|
success: boolean;
|
|
2301
2305
|
};
|
|
2302
|
-
/** @returns {
|
|
2303
|
-
declare function
|
|
2304
|
-
type
|
|
2306
|
+
/** @returns {SetCODForUserCreation} */
|
|
2307
|
+
declare function SetCODForUserCreation(): SetCODForUserCreation;
|
|
2308
|
+
type SetCODForUserCreation = {
|
|
2305
2309
|
/**
|
|
2306
2310
|
* - Business unit
|
|
2307
2311
|
*/
|
|
@@ -2319,9 +2323,9 @@ type SetCODForUserRequest = {
|
|
|
2319
2323
|
*/
|
|
2320
2324
|
merchant_user_id: string;
|
|
2321
2325
|
};
|
|
2322
|
-
/** @returns {
|
|
2323
|
-
declare function
|
|
2324
|
-
type
|
|
2326
|
+
/** @returns {SetCODOptionDetails} */
|
|
2327
|
+
declare function SetCODOptionDetails(): SetCODOptionDetails;
|
|
2328
|
+
type SetCODOptionDetails = {
|
|
2325
2329
|
/**
|
|
2326
2330
|
* - Message
|
|
2327
2331
|
*/
|
|
@@ -2347,9 +2351,9 @@ type EdcModelData = {
|
|
|
2347
2351
|
*/
|
|
2348
2352
|
models: string[];
|
|
2349
2353
|
};
|
|
2350
|
-
/** @returns {
|
|
2351
|
-
declare function
|
|
2352
|
-
type
|
|
2354
|
+
/** @returns {EdcAggregatorAndModelListDetails} */
|
|
2355
|
+
declare function EdcAggregatorAndModelListDetails(): EdcAggregatorAndModelListDetails;
|
|
2356
|
+
type EdcAggregatorAndModelListDetails = {
|
|
2353
2357
|
/**
|
|
2354
2358
|
* - List of aggregators and their edc models
|
|
2355
2359
|
*/
|
|
@@ -2371,18 +2375,18 @@ type StatisticsData = {
|
|
|
2371
2375
|
*/
|
|
2372
2376
|
active_device_count: number;
|
|
2373
2377
|
};
|
|
2374
|
-
/** @returns {
|
|
2375
|
-
declare function
|
|
2376
|
-
type
|
|
2378
|
+
/** @returns {EdcDeviceStatsDetails} */
|
|
2379
|
+
declare function EdcDeviceStatsDetails(): EdcDeviceStatsDetails;
|
|
2380
|
+
type EdcDeviceStatsDetails = {
|
|
2377
2381
|
statistics: StatisticsData;
|
|
2378
2382
|
/**
|
|
2379
2383
|
* - Response is successful or not
|
|
2380
2384
|
*/
|
|
2381
2385
|
success: boolean;
|
|
2382
2386
|
};
|
|
2383
|
-
/** @returns {
|
|
2384
|
-
declare function
|
|
2385
|
-
type
|
|
2387
|
+
/** @returns {EdcAddCreation} */
|
|
2388
|
+
declare function EdcAddCreation(): EdcAddCreation;
|
|
2389
|
+
type EdcAddCreation = {
|
|
2386
2390
|
/**
|
|
2387
2391
|
* - Model of the edc machine
|
|
2388
2392
|
*/
|
|
@@ -2458,27 +2462,27 @@ type EdcDevice = {
|
|
|
2458
2462
|
*/
|
|
2459
2463
|
application_id: string;
|
|
2460
2464
|
};
|
|
2461
|
-
/** @returns {
|
|
2462
|
-
declare function
|
|
2463
|
-
type
|
|
2465
|
+
/** @returns {EdcDeviceAddDetails} */
|
|
2466
|
+
declare function EdcDeviceAddDetails(): EdcDeviceAddDetails;
|
|
2467
|
+
type EdcDeviceAddDetails = {
|
|
2464
2468
|
data: EdcDevice;
|
|
2465
2469
|
/**
|
|
2466
2470
|
* - Response is successful or not
|
|
2467
2471
|
*/
|
|
2468
2472
|
success: boolean;
|
|
2469
2473
|
};
|
|
2470
|
-
/** @returns {
|
|
2471
|
-
declare function
|
|
2472
|
-
type
|
|
2474
|
+
/** @returns {EdcDeviceDetails} */
|
|
2475
|
+
declare function EdcDeviceDetails(): EdcDeviceDetails;
|
|
2476
|
+
type EdcDeviceDetails = {
|
|
2473
2477
|
data: EdcDevice;
|
|
2474
2478
|
/**
|
|
2475
2479
|
* - Response is successful or not
|
|
2476
2480
|
*/
|
|
2477
2481
|
success: boolean;
|
|
2478
2482
|
};
|
|
2479
|
-
/** @returns {
|
|
2480
|
-
declare function
|
|
2481
|
-
type
|
|
2483
|
+
/** @returns {EdcUpdate} */
|
|
2484
|
+
declare function EdcUpdate(): EdcUpdate;
|
|
2485
|
+
type EdcUpdate = {
|
|
2482
2486
|
/**
|
|
2483
2487
|
* - Model of the edc machine
|
|
2484
2488
|
*/
|
|
@@ -2508,9 +2512,9 @@ type EdcUpdateRequest = {
|
|
|
2508
2512
|
*/
|
|
2509
2513
|
device_tag?: string;
|
|
2510
2514
|
};
|
|
2511
|
-
/** @returns {
|
|
2512
|
-
declare function
|
|
2513
|
-
type
|
|
2515
|
+
/** @returns {EdcDeviceUpdateDetails} */
|
|
2516
|
+
declare function EdcDeviceUpdateDetails(): EdcDeviceUpdateDetails;
|
|
2517
|
+
type EdcDeviceUpdateDetails = {
|
|
2514
2518
|
/**
|
|
2515
2519
|
* - Response is successful or not
|
|
2516
2520
|
*/
|
|
@@ -2548,9 +2552,9 @@ type Page = {
|
|
|
2548
2552
|
*/
|
|
2549
2553
|
size?: number;
|
|
2550
2554
|
};
|
|
2551
|
-
/** @returns {
|
|
2552
|
-
declare function
|
|
2553
|
-
type
|
|
2555
|
+
/** @returns {EdcDeviceListDetails} */
|
|
2556
|
+
declare function EdcDeviceListDetails(): EdcDeviceListDetails;
|
|
2557
|
+
type EdcDeviceListDetails = {
|
|
2554
2558
|
/**
|
|
2555
2559
|
* - List of all edc mapped to the application
|
|
2556
2560
|
* options with their Details.
|
|
@@ -2562,9 +2566,9 @@ type EdcDeviceListResponse = {
|
|
|
2562
2566
|
*/
|
|
2563
2567
|
success: boolean;
|
|
2564
2568
|
};
|
|
2565
|
-
/** @returns {
|
|
2566
|
-
declare function
|
|
2567
|
-
type
|
|
2569
|
+
/** @returns {PaymentInitializationCreation} */
|
|
2570
|
+
declare function PaymentInitializationCreation(): PaymentInitializationCreation;
|
|
2571
|
+
type PaymentInitializationCreation = {
|
|
2568
2572
|
/**
|
|
2569
2573
|
* - Payment gateway payment id
|
|
2570
2574
|
*/
|
|
@@ -2618,9 +2622,9 @@ type PaymentInitializationRequest = {
|
|
|
2618
2622
|
*/
|
|
2619
2623
|
method: string;
|
|
2620
2624
|
};
|
|
2621
|
-
/** @returns {
|
|
2622
|
-
declare function
|
|
2623
|
-
type
|
|
2625
|
+
/** @returns {PaymentInitializationDetails} */
|
|
2626
|
+
declare function PaymentInitializationDetails(): PaymentInitializationDetails;
|
|
2627
|
+
type PaymentInitializationDetails = {
|
|
2624
2628
|
/**
|
|
2625
2629
|
* - Payment id.
|
|
2626
2630
|
*/
|
|
@@ -2690,9 +2694,9 @@ type PaymentInitializationResponse = {
|
|
|
2690
2694
|
*/
|
|
2691
2695
|
method: string;
|
|
2692
2696
|
};
|
|
2693
|
-
/** @returns {
|
|
2694
|
-
declare function
|
|
2695
|
-
type
|
|
2697
|
+
/** @returns {PaymentStatusUpdateCreation} */
|
|
2698
|
+
declare function PaymentStatusUpdateCreation(): PaymentStatusUpdateCreation;
|
|
2699
|
+
type PaymentStatusUpdateCreation = {
|
|
2696
2700
|
/**
|
|
2697
2701
|
* - EDC machine Unique Identifier
|
|
2698
2702
|
*/
|
|
@@ -2746,9 +2750,9 @@ type PaymentStatusUpdateRequest = {
|
|
|
2746
2750
|
*/
|
|
2747
2751
|
merchant_transaction_id: string;
|
|
2748
2752
|
};
|
|
2749
|
-
/** @returns {
|
|
2750
|
-
declare function
|
|
2751
|
-
type
|
|
2753
|
+
/** @returns {PaymentStatusUpdateDetails} */
|
|
2754
|
+
declare function PaymentStatusUpdateDetails(): PaymentStatusUpdateDetails;
|
|
2755
|
+
type PaymentStatusUpdateDetails = {
|
|
2752
2756
|
/**
|
|
2753
2757
|
* - Redirect url
|
|
2754
2758
|
*/
|
|
@@ -2770,9 +2774,9 @@ type PaymentStatusUpdateResponse = {
|
|
|
2770
2774
|
*/
|
|
2771
2775
|
aggregator_name: string;
|
|
2772
2776
|
};
|
|
2773
|
-
/** @returns {
|
|
2774
|
-
declare function
|
|
2775
|
-
type
|
|
2777
|
+
/** @returns {ResendOrCancelPaymentCreation} */
|
|
2778
|
+
declare function ResendOrCancelPaymentCreation(): ResendOrCancelPaymentCreation;
|
|
2779
|
+
type ResendOrCancelPaymentCreation = {
|
|
2776
2780
|
/**
|
|
2777
2781
|
* - Unique order id
|
|
2778
2782
|
*/
|
|
@@ -2803,26 +2807,26 @@ type LinkStatus = {
|
|
|
2803
2807
|
*/
|
|
2804
2808
|
is_payment_done?: boolean;
|
|
2805
2809
|
};
|
|
2806
|
-
/** @returns {
|
|
2807
|
-
declare function
|
|
2808
|
-
type
|
|
2810
|
+
/** @returns {ResendOrCancelPaymentDetails} */
|
|
2811
|
+
declare function ResendOrCancelPaymentDetails(): ResendOrCancelPaymentDetails;
|
|
2812
|
+
type ResendOrCancelPaymentDetails = {
|
|
2809
2813
|
data: LinkStatus;
|
|
2810
2814
|
/**
|
|
2811
2815
|
* - Response is successful or not.
|
|
2812
2816
|
*/
|
|
2813
2817
|
success: boolean;
|
|
2814
2818
|
};
|
|
2815
|
-
/** @returns {
|
|
2816
|
-
declare function
|
|
2817
|
-
type
|
|
2819
|
+
/** @returns {PaymentStatusBulkHandlerCreation} */
|
|
2820
|
+
declare function PaymentStatusBulkHandlerCreation(): PaymentStatusBulkHandlerCreation;
|
|
2821
|
+
type PaymentStatusBulkHandlerCreation = {
|
|
2818
2822
|
/**
|
|
2819
2823
|
* - List of order ids
|
|
2820
2824
|
*/
|
|
2821
2825
|
merchant_order_id: string[];
|
|
2822
2826
|
};
|
|
2823
|
-
/** @returns {
|
|
2824
|
-
declare function
|
|
2825
|
-
type
|
|
2827
|
+
/** @returns {PaymentObjectList} */
|
|
2828
|
+
declare function PaymentObjectList(): PaymentObjectList;
|
|
2829
|
+
type PaymentObjectList = {
|
|
2826
2830
|
user_object: any;
|
|
2827
2831
|
modified_on: string;
|
|
2828
2832
|
collected_by: string;
|
|
@@ -2846,20 +2850,20 @@ type PaymentObjectListSerializer = {
|
|
|
2846
2850
|
declare function PaymentStatusObject(): PaymentStatusObject;
|
|
2847
2851
|
type PaymentStatusObject = {
|
|
2848
2852
|
merchant_order_id: string;
|
|
2849
|
-
payment_object_list?:
|
|
2853
|
+
payment_object_list?: PaymentObjectList[];
|
|
2850
2854
|
};
|
|
2851
|
-
/** @returns {
|
|
2852
|
-
declare function
|
|
2853
|
-
type
|
|
2855
|
+
/** @returns {PaymentStatusBulkHandlerDetails} */
|
|
2856
|
+
declare function PaymentStatusBulkHandlerDetails(): PaymentStatusBulkHandlerDetails;
|
|
2857
|
+
type PaymentStatusBulkHandlerDetails = {
|
|
2854
2858
|
count?: number;
|
|
2855
2859
|
data?: PaymentStatusObject[];
|
|
2856
2860
|
success: string;
|
|
2857
2861
|
error?: string;
|
|
2858
2862
|
status: number;
|
|
2859
2863
|
};
|
|
2860
|
-
/** @returns {
|
|
2861
|
-
declare function
|
|
2862
|
-
type
|
|
2864
|
+
/** @returns {GetOauthUrlDetails} */
|
|
2865
|
+
declare function GetOauthUrlDetails(): GetOauthUrlDetails;
|
|
2866
|
+
type GetOauthUrlDetails = {
|
|
2863
2867
|
/**
|
|
2864
2868
|
* - The url to call for authenticating
|
|
2865
2869
|
*/
|
|
@@ -2946,18 +2950,18 @@ type RepaymentDetailsSerialiserPayAll = {
|
|
|
2946
2950
|
aggregator_order_id: string;
|
|
2947
2951
|
shipment_details?: RepaymentRequestDetails[];
|
|
2948
2952
|
};
|
|
2949
|
-
/** @returns {
|
|
2950
|
-
declare function
|
|
2951
|
-
type
|
|
2953
|
+
/** @returns {RepaymentDetails} */
|
|
2954
|
+
declare function RepaymentDetails(): RepaymentDetails;
|
|
2955
|
+
type RepaymentDetails = {
|
|
2952
2956
|
data: any;
|
|
2953
2957
|
/**
|
|
2954
2958
|
* - Success/Failure of the transaction
|
|
2955
2959
|
*/
|
|
2956
2960
|
success: boolean;
|
|
2957
2961
|
};
|
|
2958
|
-
/** @returns {
|
|
2959
|
-
declare function
|
|
2960
|
-
type
|
|
2962
|
+
/** @returns {MerchantOnBoardingCreation} */
|
|
2963
|
+
declare function MerchantOnBoardingCreation(): MerchantOnBoardingCreation;
|
|
2964
|
+
type MerchantOnBoardingCreation = {
|
|
2961
2965
|
/**
|
|
2962
2966
|
* - Merchant ID at Ajiodhan's end
|
|
2963
2967
|
*/
|
|
@@ -2979,18 +2983,18 @@ type MerchantOnBoardingRequest = {
|
|
|
2979
2983
|
*/
|
|
2980
2984
|
status: string;
|
|
2981
2985
|
};
|
|
2982
|
-
/** @returns {
|
|
2983
|
-
declare function
|
|
2984
|
-
type
|
|
2986
|
+
/** @returns {MerchantOnBoardingDetails} */
|
|
2987
|
+
declare function MerchantOnBoardingDetails(): MerchantOnBoardingDetails;
|
|
2988
|
+
type MerchantOnBoardingDetails = {
|
|
2985
2989
|
data: any;
|
|
2986
2990
|
/**
|
|
2987
2991
|
* - Success/Failure of the transaction
|
|
2988
2992
|
*/
|
|
2989
2993
|
success: boolean;
|
|
2990
2994
|
};
|
|
2991
|
-
/** @returns {
|
|
2992
|
-
declare function
|
|
2993
|
-
type
|
|
2995
|
+
/** @returns {ValidateCustomerCreation} */
|
|
2996
|
+
declare function ValidateCustomerCreation(): ValidateCustomerCreation;
|
|
2997
|
+
type ValidateCustomerCreation = {
|
|
2994
2998
|
/**
|
|
2995
2999
|
* - User mobile number without country code.
|
|
2996
3000
|
*/
|
|
@@ -3024,9 +3028,9 @@ type ValidateCustomerRequest = {
|
|
|
3024
3028
|
*/
|
|
3025
3029
|
billing_address?: any;
|
|
3026
3030
|
};
|
|
3027
|
-
/** @returns {
|
|
3028
|
-
declare function
|
|
3029
|
-
type
|
|
3031
|
+
/** @returns {ValidateCustomerDetails} */
|
|
3032
|
+
declare function ValidateCustomerDetails(): ValidateCustomerDetails;
|
|
3033
|
+
type ValidateCustomerDetails = {
|
|
3030
3034
|
/**
|
|
3031
3035
|
* - Error or success message.
|
|
3032
3036
|
*/
|
|
@@ -3040,9 +3044,9 @@ type ValidateCustomerResponse = {
|
|
|
3040
3044
|
*/
|
|
3041
3045
|
success: boolean;
|
|
3042
3046
|
};
|
|
3043
|
-
/** @returns {
|
|
3044
|
-
declare function
|
|
3045
|
-
type
|
|
3047
|
+
/** @returns {GetPaymentLinkDetails} */
|
|
3048
|
+
declare function GetPaymentLinkDetails(): GetPaymentLinkDetails;
|
|
3049
|
+
type GetPaymentLinkDetails = {
|
|
3046
3050
|
/**
|
|
3047
3051
|
* - Message
|
|
3048
3052
|
*/
|
|
@@ -3116,9 +3120,9 @@ type ErrorDescription = {
|
|
|
3116
3120
|
*/
|
|
3117
3121
|
cancelled?: boolean;
|
|
3118
3122
|
};
|
|
3119
|
-
/** @returns {
|
|
3120
|
-
declare function
|
|
3121
|
-
type
|
|
3123
|
+
/** @returns {ErrorDetails} */
|
|
3124
|
+
declare function ErrorDetails(): ErrorDetails;
|
|
3125
|
+
type ErrorDetails = {
|
|
3122
3126
|
/**
|
|
3123
3127
|
* - HTTP status code
|
|
3124
3128
|
*/
|
|
@@ -3141,9 +3145,9 @@ type CreatePaymentLinkMeta = {
|
|
|
3141
3145
|
amount: string;
|
|
3142
3146
|
assign_card_id?: string;
|
|
3143
3147
|
};
|
|
3144
|
-
/** @returns {
|
|
3145
|
-
declare function
|
|
3146
|
-
type
|
|
3148
|
+
/** @returns {CreatePaymentLinkCreation} */
|
|
3149
|
+
declare function CreatePaymentLinkCreation(): CreatePaymentLinkCreation;
|
|
3150
|
+
type CreatePaymentLinkCreation = {
|
|
3147
3151
|
/**
|
|
3148
3152
|
* - Email to which the payment link is to be sent
|
|
3149
3153
|
*/
|
|
@@ -3170,10 +3174,20 @@ type CreatePaymentLinkRequest = {
|
|
|
3170
3174
|
* - Merchant order id
|
|
3171
3175
|
*/
|
|
3172
3176
|
external_order_id: string;
|
|
3177
|
+
/**
|
|
3178
|
+
* - URL to which the user will be
|
|
3179
|
+
* redirected after a successful payment.
|
|
3180
|
+
*/
|
|
3181
|
+
success_redirection_url?: string;
|
|
3182
|
+
/**
|
|
3183
|
+
* - URL to which the user will be
|
|
3184
|
+
* redirected if the payment fails.
|
|
3185
|
+
*/
|
|
3186
|
+
failure_redirection_url?: string;
|
|
3173
3187
|
};
|
|
3174
|
-
/** @returns {
|
|
3175
|
-
declare function
|
|
3176
|
-
type
|
|
3188
|
+
/** @returns {CreatePaymentLinkDetails} */
|
|
3189
|
+
declare function CreatePaymentLinkDetails(): CreatePaymentLinkDetails;
|
|
3190
|
+
type CreatePaymentLinkDetails = {
|
|
3177
3191
|
/**
|
|
3178
3192
|
* - Message
|
|
3179
3193
|
*/
|
|
@@ -3199,9 +3213,9 @@ type CreatePaymentLinkResponse = {
|
|
|
3199
3213
|
*/
|
|
3200
3214
|
payment_link_id?: string;
|
|
3201
3215
|
};
|
|
3202
|
-
/** @returns {
|
|
3203
|
-
declare function
|
|
3204
|
-
type
|
|
3216
|
+
/** @returns {PollingPaymentLinkDetails} */
|
|
3217
|
+
declare function PollingPaymentLinkDetails(): PollingPaymentLinkDetails;
|
|
3218
|
+
type PollingPaymentLinkDetails = {
|
|
3205
3219
|
/**
|
|
3206
3220
|
* - Message
|
|
3207
3221
|
*/
|
|
@@ -3243,17 +3257,17 @@ type PollingPaymentLinkResponse = {
|
|
|
3243
3257
|
*/
|
|
3244
3258
|
aggregator_name?: string;
|
|
3245
3259
|
};
|
|
3246
|
-
/** @returns {
|
|
3247
|
-
declare function
|
|
3248
|
-
type
|
|
3260
|
+
/** @returns {CancelOrResendPaymentLinkCreation} */
|
|
3261
|
+
declare function CancelOrResendPaymentLinkCreation(): CancelOrResendPaymentLinkCreation;
|
|
3262
|
+
type CancelOrResendPaymentLinkCreation = {
|
|
3249
3263
|
/**
|
|
3250
3264
|
* - Unique id of payment link
|
|
3251
3265
|
*/
|
|
3252
3266
|
payment_link_id: string;
|
|
3253
3267
|
};
|
|
3254
|
-
/** @returns {
|
|
3255
|
-
declare function
|
|
3256
|
-
type
|
|
3268
|
+
/** @returns {ResendPaymentLinkDetails} */
|
|
3269
|
+
declare function ResendPaymentLinkDetails(): ResendPaymentLinkDetails;
|
|
3270
|
+
type ResendPaymentLinkDetails = {
|
|
3257
3271
|
/**
|
|
3258
3272
|
* - HTTP status code
|
|
3259
3273
|
*/
|
|
@@ -3271,9 +3285,9 @@ type ResendPaymentLinkResponse = {
|
|
|
3271
3285
|
*/
|
|
3272
3286
|
success: boolean;
|
|
3273
3287
|
};
|
|
3274
|
-
/** @returns {
|
|
3275
|
-
declare function
|
|
3276
|
-
type
|
|
3288
|
+
/** @returns {CancelPaymentLinkDetails} */
|
|
3289
|
+
declare function CancelPaymentLinkDetails(): CancelPaymentLinkDetails;
|
|
3290
|
+
type CancelPaymentLinkDetails = {
|
|
3277
3291
|
/**
|
|
3278
3292
|
* - HTTP status code
|
|
3279
3293
|
*/
|
|
@@ -3325,18 +3339,18 @@ declare function GetPaymentCode(): GetPaymentCode;
|
|
|
3325
3339
|
type GetPaymentCode = {
|
|
3326
3340
|
method_code: PaymentCode;
|
|
3327
3341
|
};
|
|
3328
|
-
/** @returns {
|
|
3329
|
-
declare function
|
|
3330
|
-
type
|
|
3342
|
+
/** @returns {GetPaymentCodeDetails} */
|
|
3343
|
+
declare function GetPaymentCodeDetails(): GetPaymentCodeDetails;
|
|
3344
|
+
type GetPaymentCodeDetails = {
|
|
3331
3345
|
data: GetPaymentCode;
|
|
3332
3346
|
/**
|
|
3333
3347
|
* - Response is successful or not.
|
|
3334
3348
|
*/
|
|
3335
3349
|
success: boolean;
|
|
3336
3350
|
};
|
|
3337
|
-
/** @returns {
|
|
3338
|
-
declare function
|
|
3339
|
-
type
|
|
3351
|
+
/** @returns {PlatformPaymentModeDetails} */
|
|
3352
|
+
declare function PlatformPaymentModeDetails(): PlatformPaymentModeDetails;
|
|
3353
|
+
type PlatformPaymentModeDetails = {
|
|
3340
3354
|
/**
|
|
3341
3355
|
* - Message
|
|
3342
3356
|
*/
|
|
@@ -3350,9 +3364,9 @@ type PlatformPaymentModeResponse = {
|
|
|
3350
3364
|
*/
|
|
3351
3365
|
success: boolean;
|
|
3352
3366
|
};
|
|
3353
|
-
/** @returns {
|
|
3354
|
-
declare function
|
|
3355
|
-
type
|
|
3367
|
+
/** @returns {MerchnatPaymentModeCreation} */
|
|
3368
|
+
declare function MerchnatPaymentModeCreation(): MerchnatPaymentModeCreation;
|
|
3369
|
+
type MerchnatPaymentModeCreation = {
|
|
3356
3370
|
/**
|
|
3357
3371
|
* - Details to be updated for online payment configuration.
|
|
3358
3372
|
*/
|
|
@@ -3574,9 +3588,9 @@ type PaymentSessionDetail = {
|
|
|
3574
3588
|
*/
|
|
3575
3589
|
status: string;
|
|
3576
3590
|
};
|
|
3577
|
-
/** @returns {
|
|
3578
|
-
declare function
|
|
3579
|
-
type
|
|
3591
|
+
/** @returns {PaymentSessionCreation} */
|
|
3592
|
+
declare function PaymentSessionCreation(): PaymentSessionCreation;
|
|
3593
|
+
type PaymentSessionCreation = {
|
|
3580
3594
|
/**
|
|
3581
3595
|
* - Meta
|
|
3582
3596
|
*/
|
|
@@ -3613,9 +3627,9 @@ type PaymentSessionRequestSerializer = {
|
|
|
3613
3627
|
*/
|
|
3614
3628
|
checksum: string;
|
|
3615
3629
|
};
|
|
3616
|
-
/** @returns {
|
|
3617
|
-
declare function
|
|
3618
|
-
type
|
|
3630
|
+
/** @returns {PaymentSessionPutDetails} */
|
|
3631
|
+
declare function PaymentSessionPutDetails(): PaymentSessionPutDetails;
|
|
3632
|
+
type PaymentSessionPutDetails = {
|
|
3619
3633
|
/**
|
|
3620
3634
|
* - Global identifier of the entity (e.g. order, cart
|
|
3621
3635
|
* etc.) against which payment_session was initiated. This is generated by
|
|
@@ -3698,9 +3712,9 @@ type RefundSessionDetail = {
|
|
|
3698
3712
|
*/
|
|
3699
3713
|
balance_transaction?: string;
|
|
3700
3714
|
};
|
|
3701
|
-
/** @returns {
|
|
3702
|
-
declare function
|
|
3703
|
-
type
|
|
3715
|
+
/** @returns {RefundSessionCreation} */
|
|
3716
|
+
declare function RefundSessionCreation(): RefundSessionCreation;
|
|
3717
|
+
type RefundSessionCreation = {
|
|
3704
3718
|
/**
|
|
3705
3719
|
* - Meta
|
|
3706
3720
|
*/
|
|
@@ -3741,9 +3755,9 @@ type RefundSessionRequestSerializer = {
|
|
|
3741
3755
|
*/
|
|
3742
3756
|
checksum: string;
|
|
3743
3757
|
};
|
|
3744
|
-
/** @returns {
|
|
3745
|
-
declare function
|
|
3746
|
-
type
|
|
3758
|
+
/** @returns {RefundSessionDetails} */
|
|
3759
|
+
declare function RefundSessionDetails(): RefundSessionDetails;
|
|
3760
|
+
type RefundSessionDetails = {
|
|
3747
3761
|
/**
|
|
3748
3762
|
* - Global identifier of the entity (e.g. order, cart
|
|
3749
3763
|
* etc.) against which payment_session was initiated. This is generated by
|
|
@@ -3767,9 +3781,9 @@ type RefundSessionResponseSerializer = {
|
|
|
3767
3781
|
*/
|
|
3768
3782
|
total_refund_amount: number;
|
|
3769
3783
|
};
|
|
3770
|
-
/** @returns {
|
|
3771
|
-
declare function
|
|
3772
|
-
type
|
|
3784
|
+
/** @returns {PaymentDetails} */
|
|
3785
|
+
declare function PaymentDetails(): PaymentDetails;
|
|
3786
|
+
type PaymentDetails = {
|
|
3773
3787
|
/**
|
|
3774
3788
|
* - Method of payment
|
|
3775
3789
|
*/
|
|
@@ -3859,9 +3873,9 @@ type PaymentDetailsSerializer = {
|
|
|
3859
3873
|
*/
|
|
3860
3874
|
aggregator_order_id?: string;
|
|
3861
3875
|
};
|
|
3862
|
-
/** @returns {
|
|
3863
|
-
declare function
|
|
3864
|
-
type
|
|
3876
|
+
/** @returns {CartDetails} */
|
|
3877
|
+
declare function CartDetails(): CartDetails;
|
|
3878
|
+
type CartDetails = {
|
|
3865
3879
|
/**
|
|
3866
3880
|
* - Items that are added in cart
|
|
3867
3881
|
*/
|
|
@@ -3884,9 +3898,9 @@ type CartDetailsSerializer = {
|
|
|
3884
3898
|
*/
|
|
3885
3899
|
custom_cart_meta?: any;
|
|
3886
3900
|
};
|
|
3887
|
-
/** @returns {
|
|
3888
|
-
declare function
|
|
3889
|
-
type
|
|
3901
|
+
/** @returns {RefundDetails} */
|
|
3902
|
+
declare function RefundDetails(): RefundDetails;
|
|
3903
|
+
type RefundDetails = {
|
|
3890
3904
|
/**
|
|
3891
3905
|
* - Refunded amount
|
|
3892
3906
|
*/
|
|
@@ -3912,9 +3926,9 @@ type RefundDetailsSerializer = {
|
|
|
3912
3926
|
*/
|
|
3913
3927
|
refund_utr: string;
|
|
3914
3928
|
};
|
|
3915
|
-
/** @returns {
|
|
3916
|
-
declare function
|
|
3917
|
-
type
|
|
3929
|
+
/** @returns {PaymentSessionFetchDetails} */
|
|
3930
|
+
declare function PaymentSessionFetchDetails(): PaymentSessionFetchDetails;
|
|
3931
|
+
type PaymentSessionFetchDetails = {
|
|
3918
3932
|
/**
|
|
3919
3933
|
* - Object of payment details
|
|
3920
3934
|
*/
|
|
@@ -3937,11 +3951,11 @@ type PaymentSessionSerializer = {
|
|
|
3937
3951
|
* Fynd payments platform and is unique.
|
|
3938
3952
|
*/
|
|
3939
3953
|
gid: string;
|
|
3940
|
-
cart_details?:
|
|
3954
|
+
cart_details?: CartDetails;
|
|
3941
3955
|
/**
|
|
3942
3956
|
* - Object of refund details
|
|
3943
3957
|
*/
|
|
3944
|
-
refund_details:
|
|
3958
|
+
refund_details: RefundDetails[];
|
|
3945
3959
|
};
|
|
3946
3960
|
/** @returns {RefundSourcesPriority} */
|
|
3947
3961
|
declare function RefundSourcesPriority(): RefundSourcesPriority;
|
|
@@ -3959,9 +3973,9 @@ type RefundSourcesPriority = {
|
|
|
3959
3973
|
*/
|
|
3960
3974
|
source: string;
|
|
3961
3975
|
};
|
|
3962
|
-
/** @returns {
|
|
3963
|
-
declare function
|
|
3964
|
-
type
|
|
3976
|
+
/** @returns {RefundPriorityDetails} */
|
|
3977
|
+
declare function RefundPriorityDetails(): RefundPriorityDetails;
|
|
3978
|
+
type RefundPriorityDetails = {
|
|
3965
3979
|
/**
|
|
3966
3980
|
* - Configuration for merchant or customer
|
|
3967
3981
|
*/
|
|
@@ -3983,9 +3997,9 @@ type RefundPriorityResponseSerializer = {
|
|
|
3983
3997
|
*/
|
|
3984
3998
|
message?: string;
|
|
3985
3999
|
};
|
|
3986
|
-
/** @returns {
|
|
3987
|
-
declare function
|
|
3988
|
-
type
|
|
4000
|
+
/** @returns {RefundPriorityCreation} */
|
|
4001
|
+
declare function RefundPriorityCreation(): RefundPriorityCreation;
|
|
4002
|
+
type RefundPriorityCreation = {
|
|
3989
4003
|
/**
|
|
3990
4004
|
* - Apportion refund to multiple sources
|
|
3991
4005
|
*/
|
|
@@ -3995,9 +4009,9 @@ type RefundPriorityRequestSerializer = {
|
|
|
3995
4009
|
*/
|
|
3996
4010
|
refund_sources_priority: RefundSourcesPriority[];
|
|
3997
4011
|
};
|
|
3998
|
-
/** @returns {
|
|
3999
|
-
declare function
|
|
4000
|
-
type
|
|
4012
|
+
/** @returns {MerchantPaymentModeCreation} */
|
|
4013
|
+
declare function MerchantPaymentModeCreation(): MerchantPaymentModeCreation;
|
|
4014
|
+
type MerchantPaymentModeCreation = {
|
|
4001
4015
|
/**
|
|
4002
4016
|
* - Business unit
|
|
4003
4017
|
*/
|
|
@@ -4035,9 +4049,9 @@ type ToConfig = {
|
|
|
4035
4049
|
*/
|
|
4036
4050
|
business_unit: string;
|
|
4037
4051
|
};
|
|
4038
|
-
/** @returns {
|
|
4039
|
-
declare function
|
|
4040
|
-
type
|
|
4052
|
+
/** @returns {PlatformPaymentModeCopyConfigCreation} */
|
|
4053
|
+
declare function PlatformPaymentModeCopyConfigCreation(): PlatformPaymentModeCopyConfigCreation;
|
|
4054
|
+
type PlatformPaymentModeCopyConfigCreation = {
|
|
4041
4055
|
from_config: FromConfig;
|
|
4042
4056
|
to_config: ToConfig;
|
|
4043
4057
|
};
|
|
@@ -4078,9 +4092,9 @@ type PaymentOrderMethods = {
|
|
|
4078
4092
|
*/
|
|
4079
4093
|
name: string;
|
|
4080
4094
|
};
|
|
4081
|
-
/** @returns {
|
|
4082
|
-
declare function
|
|
4083
|
-
type
|
|
4095
|
+
/** @returns {PaymentOrderCreation} */
|
|
4096
|
+
declare function PaymentOrderCreation(): PaymentOrderCreation;
|
|
4097
|
+
type PaymentOrderCreation = {
|
|
4084
4098
|
/**
|
|
4085
4099
|
* - Order id
|
|
4086
4100
|
*/
|
|
@@ -4135,9 +4149,9 @@ type PaymentOrderData = {
|
|
|
4135
4149
|
*/
|
|
4136
4150
|
merchant_order_id?: string;
|
|
4137
4151
|
};
|
|
4138
|
-
/** @returns {
|
|
4139
|
-
declare function
|
|
4140
|
-
type
|
|
4152
|
+
/** @returns {PaymentOrderDetails} */
|
|
4153
|
+
declare function PaymentOrderDetails(): PaymentOrderDetails;
|
|
4154
|
+
type PaymentOrderDetails = {
|
|
4141
4155
|
/**
|
|
4142
4156
|
* - Message
|
|
4143
4157
|
*/
|
|
@@ -4171,9 +4185,9 @@ type AggregatorVersionItemSchema = {
|
|
|
4171
4185
|
is_less_than?: string;
|
|
4172
4186
|
is_greater_than?: string;
|
|
4173
4187
|
};
|
|
4174
|
-
/** @returns {
|
|
4175
|
-
declare function
|
|
4176
|
-
type
|
|
4188
|
+
/** @returns {AggregatorVersionDetails} */
|
|
4189
|
+
declare function AggregatorVersionDetails(): AggregatorVersionDetails;
|
|
4190
|
+
type AggregatorVersionDetails = {
|
|
4177
4191
|
/**
|
|
4178
4192
|
* - Message
|
|
4179
4193
|
*/
|
|
@@ -4191,9 +4205,9 @@ type AggregatorVersionRequestSchema = {
|
|
|
4191
4205
|
is_less_than?: string;
|
|
4192
4206
|
is_greater_than?: string;
|
|
4193
4207
|
};
|
|
4194
|
-
/** @returns {
|
|
4195
|
-
declare function
|
|
4196
|
-
type
|
|
4208
|
+
/** @returns {PatchAggregatorControl} */
|
|
4209
|
+
declare function PatchAggregatorControl(): PatchAggregatorControl;
|
|
4210
|
+
type PatchAggregatorControl = {
|
|
4197
4211
|
/**
|
|
4198
4212
|
* - Business unit
|
|
4199
4213
|
*/
|