@gofynd/fdk-client-javascript 1.4.1 → 1.4.2-beta.10
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 +3 -2
- package/sdk/application/ApplicationClient.js +20 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +1 -1
- package/sdk/application/Cart/CartApplicationClient.js +3 -5
- package/sdk/application/Cart/CartApplicationModel.d.ts +1634 -1742
- package/sdk/application/Cart/CartApplicationModel.js +1388 -1464
- package/sdk/application/Cart/CartApplicationValidator.d.ts +0 -4
- package/sdk/application/Cart/CartApplicationValidator.js +0 -4
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +6 -3
- package/sdk/application/Catalog/CatalogApplicationClient.js +20 -7
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +1917 -1917
- package/sdk/application/Catalog/CatalogApplicationModel.js +1613 -1613
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +14 -0
- package/sdk/application/Catalog/CatalogApplicationValidator.js +6 -0
- package/sdk/application/Common/CommonApplicationModel.d.ts +235 -235
- package/sdk/application/Common/CommonApplicationModel.js +172 -172
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +72 -72
- package/sdk/application/Communication/CommunicationApplicationModel.js +64 -64
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +1492 -1626
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +1038 -1180
- package/sdk/application/Content/ContentApplicationClient.d.ts +0 -36
- package/sdk/application/Content/ContentApplicationClient.js +0 -246
- package/sdk/application/Content/ContentApplicationModel.d.ts +546 -753
- package/sdk/application/Content/ContentApplicationModel.js +565 -817
- package/sdk/application/Content/ContentApplicationValidator.d.ts +1 -40
- package/sdk/application/Content/ContentApplicationValidator.js +0 -41
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +79 -79
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +84 -84
- package/sdk/application/Lead/LeadApplicationModel.d.ts +417 -417
- package/sdk/application/Lead/LeadApplicationModel.js +301 -301
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +0 -67
- package/sdk/application/Logistic/LogisticApplicationClient.js +0 -547
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +257 -712
- package/sdk/application/Logistic/LogisticApplicationModel.js +267 -755
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +1 -211
- package/sdk/application/Logistic/LogisticApplicationValidator.js +0 -131
- package/sdk/application/Order/OrderApplicationClient.d.ts +3 -3
- package/sdk/application/Order/OrderApplicationClient.js +8 -32
- package/sdk/application/Order/OrderApplicationModel.d.ts +845 -853
- package/sdk/application/Order/OrderApplicationModel.js +816 -824
- package/sdk/application/Order/OrderApplicationValidator.d.ts +0 -20
- package/sdk/application/Order/OrderApplicationValidator.js +0 -8
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +2 -46
- package/sdk/application/Payment/PaymentApplicationClient.js +10 -341
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +1892 -2199
- package/sdk/application/Payment/PaymentApplicationModel.js +1235 -1506
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +14 -59
- package/sdk/application/Payment/PaymentApplicationValidator.js +10 -64
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +1396 -1429
- package/sdk/application/PosCart/PosCartApplicationModel.js +1233 -1257
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +214 -214
- package/sdk/application/Rewards/RewardsApplicationModel.js +211 -211
- package/sdk/application/Share/ShareApplicationModel.d.ts +114 -114
- package/sdk/application/Share/ShareApplicationModel.js +121 -121
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +1 -1
- package/sdk/application/Theme/ThemeApplicationClient.js +3 -7
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +783 -969
- package/sdk/application/Theme/ThemeApplicationModel.js +571 -867
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +0 -10
- package/sdk/application/Theme/ThemeApplicationValidator.js +0 -4
- package/sdk/application/User/UserApplicationClient.d.ts +0 -33
- package/sdk/application/User/UserApplicationClient.js +0 -239
- package/sdk/application/User/UserApplicationModel.d.ts +753 -768
- package/sdk/application/User/UserApplicationModel.js +731 -755
- package/sdk/application/User/UserApplicationValidator.d.ts +1 -34
- package/sdk/application/User/UserApplicationValidator.js +0 -36
- package/sdk/common/Clickstream.d.ts +1 -0
- package/sdk/common/Clickstream.js +254 -0
- package/sdk/common/Utility.js +1 -4
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +72 -60
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +70 -58
- package/sdk/partner/PartnerClient.d.ts +0 -6
- package/sdk/partner/PartnerClient.js +0 -9
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +0 -10
- package/sdk/partner/Theme/ThemePartnerClient.js +0 -80
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +1178 -1153
- package/sdk/partner/Theme/ThemePartnerModel.js +830 -974
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +0 -1
- package/sdk/partner/Theme/ThemePartnerValidator.js +0 -9
- package/sdk/partner/index.d.ts +0 -3
- package/sdk/partner/index.js +0 -6
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +2 -2
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +123 -123
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +109 -109
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +1 -11
- package/sdk/platform/Billing/BillingPlatformClient.js +3 -110
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +734 -800
- package/sdk/platform/Billing/BillingPlatformModel.js +732 -810
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +4 -43
- package/sdk/platform/Billing/BillingPlatformValidator.js +2 -29
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +11 -1
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +81 -7
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +13 -5
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +12 -4
- package/sdk/platform/Cart/CartPlatformModel.d.ts +3223 -3328
- package/sdk/platform/Cart/CartPlatformModel.js +2875 -2946
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +11 -15
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +21 -52
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +0 -27
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +0 -11
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +15 -27
- package/sdk/platform/Catalog/CatalogPlatformClient.js +93 -189
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +617 -920
- package/sdk/platform/Catalog/CatalogPlatformModel.js +584 -919
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +27 -41
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +19 -31
- package/sdk/platform/Common/CommonPlatformModel.d.ts +255 -255
- package/sdk/platform/Common/CommonPlatformModel.js +187 -187
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +37 -139
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +52 -737
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +3 -133
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +1 -113
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1079 -1228
- package/sdk/platform/Communication/CommunicationPlatformModel.js +1090 -1262
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +2 -8
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +4 -32
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +629 -658
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +641 -675
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +0 -14
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +0 -6
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +8 -8
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +4 -4
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +2992 -3231
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2092 -2303
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +2 -2
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +2 -2
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +0 -391
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1074 -3656
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -351
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +0 -410
- package/sdk/platform/Content/ContentPlatformModel.d.ts +972 -2071
- package/sdk/platform/Content/ContentPlatformModel.js +1039 -2355
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformClient.js +2 -2
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +174 -259
- package/sdk/platform/Discount/DiscountPlatformModel.js +163 -257
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +6 -16
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +8 -117
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +4 -55
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +2 -39
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +821 -892
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +833 -901
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -33
- package/sdk/platform/Finance/FinancePlatformClient.js +0 -240
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +910 -1056
- package/sdk/platform/Finance/FinancePlatformModel.js +884 -1070
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +1 -38
- package/sdk/platform/Finance/FinancePlatformValidator.js +0 -38
- package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +942 -942
- package/sdk/platform/Inventory/InventoryPlatformModel.js +1003 -1003
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +28 -38
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +56 -137
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +29 -41
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +21 -33
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +601 -610
- package/sdk/platform/Lead/LeadPlatformModel.js +457 -471
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +1 -11
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +1 -93
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -28
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +0 -18
- package/sdk/platform/Order/OrderPlatformClient.d.ts +22 -143
- package/sdk/platform/Order/OrderPlatformClient.js +160 -1190
- package/sdk/platform/Order/OrderPlatformModel.d.ts +4451 -5275
- package/sdk/platform/Order/OrderPlatformModel.js +4039 -4994
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +21 -257
- package/sdk/platform/Order/OrderPlatformValidator.js +15 -216
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +22 -22
- package/sdk/platform/Partner/PartnerPlatformModel.js +22 -22
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +13 -119
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +40 -750
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +7 -143
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +6 -133
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +1 -1
- package/sdk/platform/Payment/PaymentPlatformClient.js +1 -1
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2067 -2929
- package/sdk/platform/Payment/PaymentPlatformModel.js +1427 -2090
- package/sdk/platform/PlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/PlatformApplicationClient.js +4 -4
- package/sdk/platform/PlatformClient.d.ts +2 -4
- package/sdk/platform/PlatformClient.js +4 -8
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +204 -204
- package/sdk/platform/Rewards/RewardsPlatformModel.js +199 -199
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +66 -142
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +147 -645
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +63 -131
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +47 -126
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +105 -217
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +349 -1138
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +990 -1589
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +986 -1702
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +133 -382
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +102 -266
- package/sdk/platform/Share/SharePlatformModel.d.ts +147 -147
- package/sdk/platform/Share/SharePlatformModel.js +139 -139
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +1 -11
- package/sdk/platform/Theme/ThemePlatformClient.js +3 -87
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +765 -1133
- package/sdk/platform/Theme/ThemePlatformModel.js +561 -1009
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +4 -28
- package/sdk/platform/Theme/ThemePlatformValidator.js +2 -21
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +1 -116
- package/sdk/platform/User/UserPlatformApplicationClient.js +86 -932
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +7 -224
- package/sdk/platform/User/UserPlatformApplicationValidator.js +5 -173
- package/sdk/platform/User/UserPlatformModel.d.ts +428 -765
- package/sdk/platform/User/UserPlatformModel.js +428 -679
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +37 -45
- package/sdk/platform/Webhook/WebhookPlatformClient.js +57 -61
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +403 -448
- package/sdk/platform/Webhook/WebhookPlatformModel.js +309 -369
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -7
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +6 -6
- package/sdk/platform/index.d.ts +1 -1
- package/sdk/platform/index.js +2 -2
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +237 -237
- package/sdk/public/Configuration/ConfigurationPublicModel.js +174 -174
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +237 -237
- package/sdk/public/Inventory/InventoryPublicModel.js +257 -257
- package/sdk/public/Partner/PartnerPublicModel.d.ts +104 -104
- package/sdk/public/Partner/PartnerPublicModel.js +113 -113
- package/sdk/public/PublicClient.d.ts +0 -4
- package/sdk/public/PublicClient.js +0 -8
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +0 -33
- package/sdk/public/Webhook/WebhookPublicClient.js +0 -242
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +15 -161
- package/sdk/public/Webhook/WebhookPublicModel.js +13 -189
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +1 -23
- package/sdk/public/Webhook/WebhookPublicValidator.js +0 -31
- package/sdk/public/index.d.ts +0 -2
- package/sdk/public/index.js +0 -4
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +0 -125
- package/sdk/partner/Lead/LeadPartnerClient.js +0 -785
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +0 -1127
- package/sdk/partner/Lead/LeadPartnerModel.js +0 -896
- package/sdk/partner/Lead/LeadPartnerValidator.d.ts +0 -12
- package/sdk/partner/Lead/LeadPartnerValidator.js +0 -67
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +0 -155
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +0 -1195
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +0 -372
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +0 -442
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +0 -16
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +0 -123
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +0 -99
- package/sdk/partner/Webhook/WebhookPartnerClient.js +0 -753
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +0 -566
- package/sdk/partner/Webhook/WebhookPartnerModel.js +0 -583
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +0 -12
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +0 -74
- package/sdk/platform/Content/ContentPlatformClient.d.ts +0 -277
- package/sdk/platform/Content/ContentPlatformClient.js +0 -2011
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +0 -247
- package/sdk/platform/Content/ContentPlatformValidator.js +0 -319
- package/sdk/public/Billing/BillingPublicClient.d.ts +0 -23
- package/sdk/public/Billing/BillingPublicClient.js +0 -116
- package/sdk/public/Billing/BillingPublicModel.d.ts +0 -92
- package/sdk/public/Billing/BillingPublicModel.js +0 -96
- package/sdk/public/Billing/BillingPublicValidator.d.ts +0 -18
- package/sdk/public/Billing/BillingPublicValidator.js +0 -19
- package/sdk/public/Content/ContentPublicClient.d.ts +0 -22
- package/sdk/public/Content/ContentPublicClient.js +0 -114
- package/sdk/public/Content/ContentPublicModel.d.ts +0 -53
- package/sdk/public/Content/ContentPublicModel.js +0 -60
- package/sdk/public/Content/ContentPublicValidator.d.ts +0 -18
- package/sdk/public/Content/ContentPublicValidator.js +0 -19
|
@@ -29,10 +29,6 @@ export = PaymentPlatformApplicationValidator;
|
|
|
29
29
|
* @typedef CreatePaymentLinkParam
|
|
30
30
|
* @property {PaymentPlatformModel.CreatePaymentLinkRequest} body
|
|
31
31
|
*/
|
|
32
|
-
/**
|
|
33
|
-
* @typedef CreatePaymentOrderParam
|
|
34
|
-
* @property {PaymentPlatformModel.PaymentOrderRequest} body
|
|
35
|
-
*/
|
|
36
32
|
/** @typedef EdcAggregatorsAndModelListParam */
|
|
37
33
|
/**
|
|
38
34
|
* @typedef EdcDeviceListParam
|
|
@@ -57,14 +53,6 @@ export = PaymentPlatformApplicationValidator;
|
|
|
57
53
|
* @typedef GetEdcDeviceParam
|
|
58
54
|
* @property {string} terminalUniqueIdentifier - Terminal unique identifier
|
|
59
55
|
*/
|
|
60
|
-
/**
|
|
61
|
-
* @typedef GetMerchantAggregatorAppVersionParam
|
|
62
|
-
* @property {number} aggregatorId - Aggregators Id
|
|
63
|
-
* @property {string} businessUnit
|
|
64
|
-
* @property {string} device
|
|
65
|
-
* @property {number} [paymentModeId]
|
|
66
|
-
* @property {string} [subPaymentMode]
|
|
67
|
-
*/
|
|
68
56
|
/**
|
|
69
57
|
* @typedef GetMerchantAggregatorPaymentModeDetailsParam
|
|
70
58
|
* @property {number} aggregatorId - Aggregators Id
|
|
@@ -82,47 +70,25 @@ export = PaymentPlatformApplicationValidator;
|
|
|
82
70
|
* @typedef GetPaymentLinkParam
|
|
83
71
|
* @property {string} [paymentLinkId]
|
|
84
72
|
*/
|
|
85
|
-
/**
|
|
86
|
-
* @typedef GetPaymentModeControlRoutesParam
|
|
87
|
-
* @property {string} mode - Offline / advance modes to get the payment modes
|
|
88
|
-
*/
|
|
89
|
-
/**
|
|
90
|
-
* @typedef GetPaymentModeCustomConfigParam
|
|
91
|
-
* @property {string} mode - Offline / advance mode
|
|
92
|
-
*/
|
|
93
73
|
/**
|
|
94
74
|
* @typedef GetPaymentModeRoutesParam
|
|
95
75
|
* @property {boolean} refresh
|
|
96
76
|
* @property {string} requestType
|
|
97
|
-
* @property {string} [orderId]
|
|
98
|
-
* @property {string} [shipmentId]
|
|
99
|
-
*/
|
|
100
|
-
/**
|
|
101
|
-
* @typedef GetPaymentSessionParam
|
|
102
|
-
* @property {string} gid - Global identifier of the entity (e.g. order, cart
|
|
103
|
-
* etc.) against which payment session was initiated. This is generated by
|
|
104
|
-
* Fynd payments platform and is unique.
|
|
105
|
-
* @property {boolean} [lineItem] - Line-item to add extra data into response
|
|
106
|
-
* (e.g. cart details)
|
|
107
77
|
*/
|
|
108
78
|
/**
|
|
109
79
|
* @typedef GetPosPaymentModeRoutesParam
|
|
110
80
|
* @property {number} amount - Payable amount.
|
|
111
|
-
* @property {string}
|
|
81
|
+
* @property {string} cartId - Identifier of the cart.
|
|
112
82
|
* @property {string} pincode - The PIN Code of the destination address, e.g. 400059
|
|
113
|
-
* @property {string}
|
|
83
|
+
* @property {string} checkoutMode - Option to checkout for self or for others.
|
|
114
84
|
* @property {boolean} [refresh] - This is a boolean value. Select `true` to
|
|
115
85
|
* remove temporary cache files on payment gateway and replace with the latest one.
|
|
116
|
-
* @property {string} [orderId]
|
|
117
86
|
* @property {string} [cardReference] - Card reference id of user's debit or credit card.
|
|
118
87
|
* @property {string} orderType - The order type of shipment * HomeDelivery - If
|
|
119
88
|
* the customer wants the order home-delivered * PickAtStore - If the customer
|
|
120
89
|
* wants the handover of an order at the store itself.
|
|
121
90
|
* @property {string} [userDetails] - URIencoded JSON containing details of an
|
|
122
91
|
* anonymous user.
|
|
123
|
-
* @property {boolean} [displaySplit] - Display Split Payment Option or not
|
|
124
|
-
* @property {boolean} [advancePayment] - Display Advance Payment Options or Normal
|
|
125
|
-
* @property {string} [shipmentId]
|
|
126
92
|
*/
|
|
127
93
|
/**
|
|
128
94
|
* @typedef GetUserBeneficiariesParam
|
|
@@ -154,17 +120,12 @@ export = PaymentPlatformApplicationValidator;
|
|
|
154
120
|
/**
|
|
155
121
|
* @typedef PatchMerchantAggregatorPaymentModeDetailsParam
|
|
156
122
|
* @property {number} aggregatorId - Aggregators Id
|
|
157
|
-
* @property {PaymentPlatformModel.
|
|
123
|
+
* @property {PaymentPlatformModel.MerchnatPaymentModeResponse} body
|
|
158
124
|
*/
|
|
159
125
|
/**
|
|
160
126
|
* @typedef PatchMerchantPaymentOptionParam
|
|
161
127
|
* @property {PaymentPlatformModel.MerchnatPaymentModeRequest} body
|
|
162
128
|
*/
|
|
163
|
-
/**
|
|
164
|
-
* @typedef PatchMerchantPaymentOptionVersionParam
|
|
165
|
-
* @property {number} aggregatorId - Aggregators Id
|
|
166
|
-
* @property {PaymentPlatformModel.AggregatorControlRequest} body
|
|
167
|
-
*/
|
|
168
129
|
/**
|
|
169
130
|
* @typedef PaymentStatusBulkParam
|
|
170
131
|
* @property {PaymentPlatformModel.PaymentStatusBulkHandlerRequest} body
|
|
@@ -193,16 +154,6 @@ export = PaymentPlatformApplicationValidator;
|
|
|
193
154
|
* @typedef SaveBrandPaymentGatewayConfigParam
|
|
194
155
|
* @property {PaymentPlatformModel.PaymentGatewayConfigRequest} body
|
|
195
156
|
*/
|
|
196
|
-
/**
|
|
197
|
-
* @typedef SetMerchantModeControlRoutesParam
|
|
198
|
-
* @property {string} mode - Offline / advance payment mode
|
|
199
|
-
* @property {PaymentPlatformModel.MerchantPaymentModeRequest} body
|
|
200
|
-
*/
|
|
201
|
-
/**
|
|
202
|
-
* @typedef SetPaymentModeCustomConfigParam
|
|
203
|
-
* @property {string} mode - Offline / advance payment mode
|
|
204
|
-
* @property {PaymentPlatformModel.PaymentCustomConfigRequestSchema} body
|
|
205
|
-
*/
|
|
206
157
|
/**
|
|
207
158
|
* @typedef SetUserCODlimitRoutesParam
|
|
208
159
|
* @property {PaymentPlatformModel.SetCODForUserRequest} body
|
|
@@ -251,8 +202,6 @@ declare class PaymentPlatformApplicationValidator {
|
|
|
251
202
|
static createMerchantRefundPriority(): CreateMerchantRefundPriorityParam;
|
|
252
203
|
/** @returns {CreatePaymentLinkParam} */
|
|
253
204
|
static createPaymentLink(): CreatePaymentLinkParam;
|
|
254
|
-
/** @returns {CreatePaymentOrderParam} */
|
|
255
|
-
static createPaymentOrder(): CreatePaymentOrderParam;
|
|
256
205
|
/** @returns {EdcAggregatorsAndModelListParam} */
|
|
257
206
|
static edcAggregatorsAndModelList(): any;
|
|
258
207
|
/** @returns {EdcDeviceListParam} */
|
|
@@ -265,8 +214,6 @@ declare class PaymentPlatformApplicationValidator {
|
|
|
265
214
|
static getBrandPaymentGatewayConfig(): GetBrandPaymentGatewayConfigParam;
|
|
266
215
|
/** @returns {GetEdcDeviceParam} */
|
|
267
216
|
static getEdcDevice(): GetEdcDeviceParam;
|
|
268
|
-
/** @returns {GetMerchantAggregatorAppVersionParam} */
|
|
269
|
-
static getMerchantAggregatorAppVersion(): GetMerchantAggregatorAppVersionParam;
|
|
270
217
|
/** @returns {GetMerchantAggregatorPaymentModeDetailsParam} */
|
|
271
218
|
static getMerchantAggregatorPaymentModeDetails(): GetMerchantAggregatorPaymentModeDetailsParam;
|
|
272
219
|
/** @returns {GetMerchantPaymentOptionParam} */
|
|
@@ -279,14 +226,8 @@ declare class PaymentPlatformApplicationValidator {
|
|
|
279
226
|
static getPaymentCodeOption(): any;
|
|
280
227
|
/** @returns {GetPaymentLinkParam} */
|
|
281
228
|
static getPaymentLink(): GetPaymentLinkParam;
|
|
282
|
-
/** @returns {GetPaymentModeControlRoutesParam} */
|
|
283
|
-
static getPaymentModeControlRoutes(): GetPaymentModeControlRoutesParam;
|
|
284
|
-
/** @returns {GetPaymentModeCustomConfigParam} */
|
|
285
|
-
static getPaymentModeCustomConfig(): GetPaymentModeCustomConfigParam;
|
|
286
229
|
/** @returns {GetPaymentModeRoutesParam} */
|
|
287
230
|
static getPaymentModeRoutes(): GetPaymentModeRoutesParam;
|
|
288
|
-
/** @returns {GetPaymentSessionParam} */
|
|
289
|
-
static getPaymentSession(): GetPaymentSessionParam;
|
|
290
231
|
/** @returns {GetPosPaymentModeRoutesParam} */
|
|
291
232
|
static getPosPaymentModeRoutes(): GetPosPaymentModeRoutesParam;
|
|
292
233
|
/** @returns {GetUserBeneficiariesParam} */
|
|
@@ -305,8 +246,6 @@ declare class PaymentPlatformApplicationValidator {
|
|
|
305
246
|
static patchMerchantAggregatorPaymentModeDetails(): PatchMerchantAggregatorPaymentModeDetailsParam;
|
|
306
247
|
/** @returns {PatchMerchantPaymentOptionParam} */
|
|
307
248
|
static patchMerchantPaymentOption(): PatchMerchantPaymentOptionParam;
|
|
308
|
-
/** @returns {PatchMerchantPaymentOptionVersionParam} */
|
|
309
|
-
static patchMerchantPaymentOptionVersion(): PatchMerchantPaymentOptionVersionParam;
|
|
310
249
|
/** @returns {PaymentStatusBulkParam} */
|
|
311
250
|
static paymentStatusBulk(): PaymentStatusBulkParam;
|
|
312
251
|
/** @returns {PollingPaymentLinkParam} */
|
|
@@ -321,10 +260,6 @@ declare class PaymentPlatformApplicationValidator {
|
|
|
321
260
|
static revokeOauthToken(): RevokeOauthTokenParam;
|
|
322
261
|
/** @returns {SaveBrandPaymentGatewayConfigParam} */
|
|
323
262
|
static saveBrandPaymentGatewayConfig(): SaveBrandPaymentGatewayConfigParam;
|
|
324
|
-
/** @returns {SetMerchantModeControlRoutesParam} */
|
|
325
|
-
static setMerchantModeControlRoutes(): SetMerchantModeControlRoutesParam;
|
|
326
|
-
/** @returns {SetPaymentModeCustomConfigParam} */
|
|
327
|
-
static setPaymentModeCustomConfig(): SetPaymentModeCustomConfigParam;
|
|
328
263
|
/** @returns {SetUserCODlimitRoutesParam} */
|
|
329
264
|
static setUserCODlimitRoutes(): SetUserCODlimitRoutesParam;
|
|
330
265
|
/** @returns {UpdateEdcDeviceParam} */
|
|
@@ -339,7 +274,7 @@ declare class PaymentPlatformApplicationValidator {
|
|
|
339
274
|
static verifyCustomerForPayment(): VerifyCustomerForPaymentParam;
|
|
340
275
|
}
|
|
341
276
|
declare namespace PaymentPlatformApplicationValidator {
|
|
342
|
-
export { AddEdcDeviceParam, AddRefundBankAccountUsingOTPParam, CancelPaymentLinkParam, CheckAndUpdatePaymentStatusParam, ConfirmPaymentParam, CreateMerchantRefundPriorityParam, CreatePaymentLinkParam,
|
|
277
|
+
export { AddEdcDeviceParam, AddRefundBankAccountUsingOTPParam, CancelPaymentLinkParam, CheckAndUpdatePaymentStatusParam, ConfirmPaymentParam, CreateMerchantRefundPriorityParam, CreatePaymentLinkParam, EdcAggregatorsAndModelListParam, EdcDeviceListParam, EdcDeviceStatsParam, GetBankAccountDetailsOpenAPIParam, GetBrandPaymentGatewayConfigParam, GetEdcDeviceParam, GetMerchantAggregatorPaymentModeDetailsParam, GetMerchantPaymentOptionParam, GetMerchantRefundPriorityParam, GetPGConfigAggregatorsParam, GetPaymentCodeOptionParam, GetPaymentLinkParam, GetPaymentModeRoutesParam, GetPosPaymentModeRoutesParam, GetUserBeneficiariesParam, GetUserCODlimitRoutesParam, GetUserOrderBeneficiariesParam, InitialisePaymentParam, MerchantOnBoardingParam, OauthGetUrlParam, PatchMerchantAggregatorPaymentModeDetailsParam, PatchMerchantPaymentOptionParam, PaymentStatusBulkParam, PollingPaymentLinkParam, RepaymentDetailsParam, ResendOrCancelPaymentParam, ResendPaymentLinkParam, RevokeOauthTokenParam, SaveBrandPaymentGatewayConfigParam, SetUserCODlimitRoutesParam, UpdateEdcDeviceParam, UpdateMerchantRefundPriorityParam, UpdatePaymentSessionParam, UpdateRefundSessionParam, VerifyCustomerForPaymentParam };
|
|
343
278
|
}
|
|
344
279
|
type AddEdcDeviceParam = {
|
|
345
280
|
/**
|
|
@@ -370,9 +305,6 @@ type CreateMerchantRefundPriorityParam = {
|
|
|
370
305
|
type CreatePaymentLinkParam = {
|
|
371
306
|
body: PaymentPlatformModel.CreatePaymentLinkRequest;
|
|
372
307
|
};
|
|
373
|
-
type CreatePaymentOrderParam = {
|
|
374
|
-
body: PaymentPlatformModel.PaymentOrderRequest;
|
|
375
|
-
};
|
|
376
308
|
type EdcDeviceListParam = {
|
|
377
309
|
pageNo?: number;
|
|
378
310
|
pageSize?: number;
|
|
@@ -397,16 +329,6 @@ type GetEdcDeviceParam = {
|
|
|
397
329
|
*/
|
|
398
330
|
terminalUniqueIdentifier: string;
|
|
399
331
|
};
|
|
400
|
-
type GetMerchantAggregatorAppVersionParam = {
|
|
401
|
-
/**
|
|
402
|
-
* - Aggregators Id
|
|
403
|
-
*/
|
|
404
|
-
aggregatorId: number;
|
|
405
|
-
businessUnit: string;
|
|
406
|
-
device: string;
|
|
407
|
-
paymentModeId?: number;
|
|
408
|
-
subPaymentMode?: string;
|
|
409
|
-
};
|
|
410
332
|
type GetMerchantAggregatorPaymentModeDetailsParam = {
|
|
411
333
|
/**
|
|
412
334
|
* - Aggregators Id
|
|
@@ -424,36 +346,9 @@ type GetMerchantRefundPriorityParam = {
|
|
|
424
346
|
type GetPaymentLinkParam = {
|
|
425
347
|
paymentLinkId?: string;
|
|
426
348
|
};
|
|
427
|
-
type GetPaymentModeControlRoutesParam = {
|
|
428
|
-
/**
|
|
429
|
-
* - Offline / advance modes to get the payment modes
|
|
430
|
-
*/
|
|
431
|
-
mode: string;
|
|
432
|
-
};
|
|
433
|
-
type GetPaymentModeCustomConfigParam = {
|
|
434
|
-
/**
|
|
435
|
-
* - Offline / advance mode
|
|
436
|
-
*/
|
|
437
|
-
mode: string;
|
|
438
|
-
};
|
|
439
349
|
type GetPaymentModeRoutesParam = {
|
|
440
350
|
refresh: boolean;
|
|
441
351
|
requestType: string;
|
|
442
|
-
orderId?: string;
|
|
443
|
-
shipmentId?: string;
|
|
444
|
-
};
|
|
445
|
-
type GetPaymentSessionParam = {
|
|
446
|
-
/**
|
|
447
|
-
* - Global identifier of the entity (e.g. order, cart
|
|
448
|
-
* etc.) against which payment session was initiated. This is generated by
|
|
449
|
-
* Fynd payments platform and is unique.
|
|
450
|
-
*/
|
|
451
|
-
gid: string;
|
|
452
|
-
/**
|
|
453
|
-
* - Line-item to add extra data into response
|
|
454
|
-
* (e.g. cart details)
|
|
455
|
-
*/
|
|
456
|
-
lineItem?: boolean;
|
|
457
352
|
};
|
|
458
353
|
type GetPosPaymentModeRoutesParam = {
|
|
459
354
|
/**
|
|
@@ -463,7 +358,7 @@ type GetPosPaymentModeRoutesParam = {
|
|
|
463
358
|
/**
|
|
464
359
|
* - Identifier of the cart.
|
|
465
360
|
*/
|
|
466
|
-
cartId
|
|
361
|
+
cartId: string;
|
|
467
362
|
/**
|
|
468
363
|
* - The PIN Code of the destination address, e.g. 400059
|
|
469
364
|
*/
|
|
@@ -471,13 +366,12 @@ type GetPosPaymentModeRoutesParam = {
|
|
|
471
366
|
/**
|
|
472
367
|
* - Option to checkout for self or for others.
|
|
473
368
|
*/
|
|
474
|
-
checkoutMode
|
|
369
|
+
checkoutMode: string;
|
|
475
370
|
/**
|
|
476
371
|
* - This is a boolean value. Select `true` to
|
|
477
372
|
* remove temporary cache files on payment gateway and replace with the latest one.
|
|
478
373
|
*/
|
|
479
374
|
refresh?: boolean;
|
|
480
|
-
orderId?: string;
|
|
481
375
|
/**
|
|
482
376
|
* - Card reference id of user's debit or credit card.
|
|
483
377
|
*/
|
|
@@ -493,15 +387,6 @@ type GetPosPaymentModeRoutesParam = {
|
|
|
493
387
|
* anonymous user.
|
|
494
388
|
*/
|
|
495
389
|
userDetails?: string;
|
|
496
|
-
/**
|
|
497
|
-
* - Display Split Payment Option or not
|
|
498
|
-
*/
|
|
499
|
-
displaySplit?: boolean;
|
|
500
|
-
/**
|
|
501
|
-
* - Display Advance Payment Options or Normal
|
|
502
|
-
*/
|
|
503
|
-
advancePayment?: boolean;
|
|
504
|
-
shipmentId?: string;
|
|
505
390
|
};
|
|
506
391
|
type GetUserBeneficiariesParam = {
|
|
507
392
|
orderId: string;
|
|
@@ -532,18 +417,11 @@ type PatchMerchantAggregatorPaymentModeDetailsParam = {
|
|
|
532
417
|
* - Aggregators Id
|
|
533
418
|
*/
|
|
534
419
|
aggregatorId: number;
|
|
535
|
-
body: PaymentPlatformModel.
|
|
420
|
+
body: PaymentPlatformModel.MerchnatPaymentModeResponse;
|
|
536
421
|
};
|
|
537
422
|
type PatchMerchantPaymentOptionParam = {
|
|
538
423
|
body: PaymentPlatformModel.MerchnatPaymentModeRequest;
|
|
539
424
|
};
|
|
540
|
-
type PatchMerchantPaymentOptionVersionParam = {
|
|
541
|
-
/**
|
|
542
|
-
* - Aggregators Id
|
|
543
|
-
*/
|
|
544
|
-
aggregatorId: number;
|
|
545
|
-
body: PaymentPlatformModel.AggregatorControlRequest;
|
|
546
|
-
};
|
|
547
425
|
type PaymentStatusBulkParam = {
|
|
548
426
|
body: PaymentPlatformModel.PaymentStatusBulkHandlerRequest;
|
|
549
427
|
};
|
|
@@ -568,20 +446,6 @@ type RevokeOauthTokenParam = {
|
|
|
568
446
|
type SaveBrandPaymentGatewayConfigParam = {
|
|
569
447
|
body: PaymentPlatformModel.PaymentGatewayConfigRequest;
|
|
570
448
|
};
|
|
571
|
-
type SetMerchantModeControlRoutesParam = {
|
|
572
|
-
/**
|
|
573
|
-
* - Offline / advance payment mode
|
|
574
|
-
*/
|
|
575
|
-
mode: string;
|
|
576
|
-
body: PaymentPlatformModel.MerchantPaymentModeRequest;
|
|
577
|
-
};
|
|
578
|
-
type SetPaymentModeCustomConfigParam = {
|
|
579
|
-
/**
|
|
580
|
-
* - Offline / advance payment mode
|
|
581
|
-
*/
|
|
582
|
-
mode: string;
|
|
583
|
-
body: PaymentPlatformModel.PaymentCustomConfigRequestSchema;
|
|
584
|
-
};
|
|
585
449
|
type SetUserCODlimitRoutesParam = {
|
|
586
450
|
body: PaymentPlatformModel.SetCODForUserRequest;
|
|
587
451
|
};
|
|
@@ -39,11 +39,6 @@ const PaymentPlatformModel = require("./PaymentPlatformModel");
|
|
|
39
39
|
* @property {PaymentPlatformModel.CreatePaymentLinkRequest} body
|
|
40
40
|
*/
|
|
41
41
|
|
|
42
|
-
/**
|
|
43
|
-
* @typedef CreatePaymentOrderParam
|
|
44
|
-
* @property {PaymentPlatformModel.PaymentOrderRequest} body
|
|
45
|
-
*/
|
|
46
|
-
|
|
47
42
|
/** @typedef EdcAggregatorsAndModelListParam */
|
|
48
43
|
|
|
49
44
|
/**
|
|
@@ -74,15 +69,6 @@ const PaymentPlatformModel = require("./PaymentPlatformModel");
|
|
|
74
69
|
* @property {string} terminalUniqueIdentifier - Terminal unique identifier
|
|
75
70
|
*/
|
|
76
71
|
|
|
77
|
-
/**
|
|
78
|
-
* @typedef GetMerchantAggregatorAppVersionParam
|
|
79
|
-
* @property {number} aggregatorId - Aggregators Id
|
|
80
|
-
* @property {string} businessUnit
|
|
81
|
-
* @property {string} device
|
|
82
|
-
* @property {number} [paymentModeId]
|
|
83
|
-
* @property {string} [subPaymentMode]
|
|
84
|
-
*/
|
|
85
|
-
|
|
86
72
|
/**
|
|
87
73
|
* @typedef GetMerchantAggregatorPaymentModeDetailsParam
|
|
88
74
|
* @property {number} aggregatorId - Aggregators Id
|
|
@@ -106,51 +92,26 @@ const PaymentPlatformModel = require("./PaymentPlatformModel");
|
|
|
106
92
|
* @property {string} [paymentLinkId]
|
|
107
93
|
*/
|
|
108
94
|
|
|
109
|
-
/**
|
|
110
|
-
* @typedef GetPaymentModeControlRoutesParam
|
|
111
|
-
* @property {string} mode - Offline / advance modes to get the payment modes
|
|
112
|
-
*/
|
|
113
|
-
|
|
114
|
-
/**
|
|
115
|
-
* @typedef GetPaymentModeCustomConfigParam
|
|
116
|
-
* @property {string} mode - Offline / advance mode
|
|
117
|
-
*/
|
|
118
|
-
|
|
119
95
|
/**
|
|
120
96
|
* @typedef GetPaymentModeRoutesParam
|
|
121
97
|
* @property {boolean} refresh
|
|
122
98
|
* @property {string} requestType
|
|
123
|
-
* @property {string} [orderId]
|
|
124
|
-
* @property {string} [shipmentId]
|
|
125
|
-
*/
|
|
126
|
-
|
|
127
|
-
/**
|
|
128
|
-
* @typedef GetPaymentSessionParam
|
|
129
|
-
* @property {string} gid - Global identifier of the entity (e.g. order, cart
|
|
130
|
-
* etc.) against which payment session was initiated. This is generated by
|
|
131
|
-
* Fynd payments platform and is unique.
|
|
132
|
-
* @property {boolean} [lineItem] - Line-item to add extra data into response
|
|
133
|
-
* (e.g. cart details)
|
|
134
99
|
*/
|
|
135
100
|
|
|
136
101
|
/**
|
|
137
102
|
* @typedef GetPosPaymentModeRoutesParam
|
|
138
103
|
* @property {number} amount - Payable amount.
|
|
139
|
-
* @property {string}
|
|
104
|
+
* @property {string} cartId - Identifier of the cart.
|
|
140
105
|
* @property {string} pincode - The PIN Code of the destination address, e.g. 400059
|
|
141
|
-
* @property {string}
|
|
106
|
+
* @property {string} checkoutMode - Option to checkout for self or for others.
|
|
142
107
|
* @property {boolean} [refresh] - This is a boolean value. Select `true` to
|
|
143
108
|
* remove temporary cache files on payment gateway and replace with the latest one.
|
|
144
|
-
* @property {string} [orderId]
|
|
145
109
|
* @property {string} [cardReference] - Card reference id of user's debit or credit card.
|
|
146
110
|
* @property {string} orderType - The order type of shipment * HomeDelivery - If
|
|
147
111
|
* the customer wants the order home-delivered * PickAtStore - If the customer
|
|
148
112
|
* wants the handover of an order at the store itself.
|
|
149
113
|
* @property {string} [userDetails] - URIencoded JSON containing details of an
|
|
150
114
|
* anonymous user.
|
|
151
|
-
* @property {boolean} [displaySplit] - Display Split Payment Option or not
|
|
152
|
-
* @property {boolean} [advancePayment] - Display Advance Payment Options or Normal
|
|
153
|
-
* @property {string} [shipmentId]
|
|
154
115
|
*/
|
|
155
116
|
|
|
156
117
|
/**
|
|
@@ -189,7 +150,7 @@ const PaymentPlatformModel = require("./PaymentPlatformModel");
|
|
|
189
150
|
/**
|
|
190
151
|
* @typedef PatchMerchantAggregatorPaymentModeDetailsParam
|
|
191
152
|
* @property {number} aggregatorId - Aggregators Id
|
|
192
|
-
* @property {PaymentPlatformModel.
|
|
153
|
+
* @property {PaymentPlatformModel.MerchnatPaymentModeResponse} body
|
|
193
154
|
*/
|
|
194
155
|
|
|
195
156
|
/**
|
|
@@ -197,12 +158,6 @@ const PaymentPlatformModel = require("./PaymentPlatformModel");
|
|
|
197
158
|
* @property {PaymentPlatformModel.MerchnatPaymentModeRequest} body
|
|
198
159
|
*/
|
|
199
160
|
|
|
200
|
-
/**
|
|
201
|
-
* @typedef PatchMerchantPaymentOptionVersionParam
|
|
202
|
-
* @property {number} aggregatorId - Aggregators Id
|
|
203
|
-
* @property {PaymentPlatformModel.AggregatorControlRequest} body
|
|
204
|
-
*/
|
|
205
|
-
|
|
206
161
|
/**
|
|
207
162
|
* @typedef PaymentStatusBulkParam
|
|
208
163
|
* @property {PaymentPlatformModel.PaymentStatusBulkHandlerRequest} body
|
|
@@ -238,18 +193,6 @@ const PaymentPlatformModel = require("./PaymentPlatformModel");
|
|
|
238
193
|
* @property {PaymentPlatformModel.PaymentGatewayConfigRequest} body
|
|
239
194
|
*/
|
|
240
195
|
|
|
241
|
-
/**
|
|
242
|
-
* @typedef SetMerchantModeControlRoutesParam
|
|
243
|
-
* @property {string} mode - Offline / advance payment mode
|
|
244
|
-
* @property {PaymentPlatformModel.MerchantPaymentModeRequest} body
|
|
245
|
-
*/
|
|
246
|
-
|
|
247
|
-
/**
|
|
248
|
-
* @typedef SetPaymentModeCustomConfigParam
|
|
249
|
-
* @property {string} mode - Offline / advance payment mode
|
|
250
|
-
* @property {PaymentPlatformModel.PaymentCustomConfigRequestSchema} body
|
|
251
|
-
*/
|
|
252
|
-
|
|
253
196
|
/**
|
|
254
197
|
* @typedef SetUserCODlimitRoutesParam
|
|
255
198
|
* @property {PaymentPlatformModel.SetCODForUserRequest} body
|
|
@@ -341,13 +284,6 @@ class PaymentPlatformApplicationValidator {
|
|
|
341
284
|
}).required();
|
|
342
285
|
}
|
|
343
286
|
|
|
344
|
-
/** @returns {CreatePaymentOrderParam} */
|
|
345
|
-
static createPaymentOrder() {
|
|
346
|
-
return Joi.object({
|
|
347
|
-
body: PaymentPlatformModel.PaymentOrderRequest().required(),
|
|
348
|
-
}).required();
|
|
349
|
-
}
|
|
350
|
-
|
|
351
287
|
/** @returns {EdcAggregatorsAndModelListParam} */
|
|
352
288
|
static edcAggregatorsAndModelList() {
|
|
353
289
|
return Joi.object({}).required();
|
|
@@ -392,17 +328,6 @@ class PaymentPlatformApplicationValidator {
|
|
|
392
328
|
}).required();
|
|
393
329
|
}
|
|
394
330
|
|
|
395
|
-
/** @returns {GetMerchantAggregatorAppVersionParam} */
|
|
396
|
-
static getMerchantAggregatorAppVersion() {
|
|
397
|
-
return Joi.object({
|
|
398
|
-
aggregatorId: Joi.number().required(),
|
|
399
|
-
businessUnit: Joi.string().allow("").required(),
|
|
400
|
-
device: Joi.string().allow("").required(),
|
|
401
|
-
paymentModeId: Joi.number(),
|
|
402
|
-
subPaymentMode: Joi.string().allow(""),
|
|
403
|
-
}).required();
|
|
404
|
-
}
|
|
405
|
-
|
|
406
331
|
/** @returns {GetMerchantAggregatorPaymentModeDetailsParam} */
|
|
407
332
|
static getMerchantAggregatorPaymentModeDetails() {
|
|
408
333
|
return Joi.object({
|
|
@@ -441,35 +366,11 @@ class PaymentPlatformApplicationValidator {
|
|
|
441
366
|
}).required();
|
|
442
367
|
}
|
|
443
368
|
|
|
444
|
-
/** @returns {GetPaymentModeControlRoutesParam} */
|
|
445
|
-
static getPaymentModeControlRoutes() {
|
|
446
|
-
return Joi.object({
|
|
447
|
-
mode: Joi.string().allow("").required(),
|
|
448
|
-
}).required();
|
|
449
|
-
}
|
|
450
|
-
|
|
451
|
-
/** @returns {GetPaymentModeCustomConfigParam} */
|
|
452
|
-
static getPaymentModeCustomConfig() {
|
|
453
|
-
return Joi.object({
|
|
454
|
-
mode: Joi.string().allow("").required(),
|
|
455
|
-
}).required();
|
|
456
|
-
}
|
|
457
|
-
|
|
458
369
|
/** @returns {GetPaymentModeRoutesParam} */
|
|
459
370
|
static getPaymentModeRoutes() {
|
|
460
371
|
return Joi.object({
|
|
461
372
|
refresh: Joi.boolean().required(),
|
|
462
373
|
requestType: Joi.string().allow("").required(),
|
|
463
|
-
orderId: Joi.string().allow(""),
|
|
464
|
-
shipmentId: Joi.string().allow(""),
|
|
465
|
-
}).required();
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
/** @returns {GetPaymentSessionParam} */
|
|
469
|
-
static getPaymentSession() {
|
|
470
|
-
return Joi.object({
|
|
471
|
-
gid: Joi.string().allow("").required(),
|
|
472
|
-
lineItem: Joi.boolean(),
|
|
473
374
|
}).required();
|
|
474
375
|
}
|
|
475
376
|
|
|
@@ -477,17 +378,13 @@ class PaymentPlatformApplicationValidator {
|
|
|
477
378
|
static getPosPaymentModeRoutes() {
|
|
478
379
|
return Joi.object({
|
|
479
380
|
amount: Joi.number().required(),
|
|
480
|
-
cartId: Joi.string().allow(""),
|
|
381
|
+
cartId: Joi.string().allow("").required(),
|
|
481
382
|
pincode: Joi.string().allow("").required(),
|
|
482
|
-
checkoutMode: Joi.string().allow(""),
|
|
383
|
+
checkoutMode: Joi.string().allow("").required(),
|
|
483
384
|
refresh: Joi.boolean(),
|
|
484
|
-
orderId: Joi.string().allow(""),
|
|
485
385
|
cardReference: Joi.string().allow(""),
|
|
486
386
|
orderType: Joi.string().allow("").required(),
|
|
487
387
|
userDetails: Joi.string().allow(""),
|
|
488
|
-
displaySplit: Joi.boolean(),
|
|
489
|
-
advancePayment: Joi.boolean(),
|
|
490
|
-
shipmentId: Joi.string().allow(""),
|
|
491
388
|
}).required();
|
|
492
389
|
}
|
|
493
390
|
|
|
@@ -540,7 +437,7 @@ class PaymentPlatformApplicationValidator {
|
|
|
540
437
|
static patchMerchantAggregatorPaymentModeDetails() {
|
|
541
438
|
return Joi.object({
|
|
542
439
|
aggregatorId: Joi.number().required(),
|
|
543
|
-
body: PaymentPlatformModel.
|
|
440
|
+
body: PaymentPlatformModel.MerchnatPaymentModeResponse().required(),
|
|
544
441
|
}).required();
|
|
545
442
|
}
|
|
546
443
|
|
|
@@ -551,14 +448,6 @@ class PaymentPlatformApplicationValidator {
|
|
|
551
448
|
}).required();
|
|
552
449
|
}
|
|
553
450
|
|
|
554
|
-
/** @returns {PatchMerchantPaymentOptionVersionParam} */
|
|
555
|
-
static patchMerchantPaymentOptionVersion() {
|
|
556
|
-
return Joi.object({
|
|
557
|
-
aggregatorId: Joi.number().required(),
|
|
558
|
-
body: PaymentPlatformModel.AggregatorControlRequest().required(),
|
|
559
|
-
}).required();
|
|
560
|
-
}
|
|
561
|
-
|
|
562
451
|
/** @returns {PaymentStatusBulkParam} */
|
|
563
452
|
static paymentStatusBulk() {
|
|
564
453
|
return Joi.object({
|
|
@@ -608,22 +497,6 @@ class PaymentPlatformApplicationValidator {
|
|
|
608
497
|
}).required();
|
|
609
498
|
}
|
|
610
499
|
|
|
611
|
-
/** @returns {SetMerchantModeControlRoutesParam} */
|
|
612
|
-
static setMerchantModeControlRoutes() {
|
|
613
|
-
return Joi.object({
|
|
614
|
-
mode: Joi.string().allow("").required(),
|
|
615
|
-
body: PaymentPlatformModel.MerchantPaymentModeRequest().required(),
|
|
616
|
-
}).required();
|
|
617
|
-
}
|
|
618
|
-
|
|
619
|
-
/** @returns {SetPaymentModeCustomConfigParam} */
|
|
620
|
-
static setPaymentModeCustomConfig() {
|
|
621
|
-
return Joi.object({
|
|
622
|
-
mode: Joi.string().allow("").required(),
|
|
623
|
-
body: PaymentPlatformModel.PaymentCustomConfigRequestSchema().required(),
|
|
624
|
-
}).required();
|
|
625
|
-
}
|
|
626
|
-
|
|
627
500
|
/** @returns {SetUserCODlimitRoutesParam} */
|
|
628
501
|
static setUserCODlimitRoutes() {
|
|
629
502
|
return Joi.object({
|
|
@@ -110,7 +110,7 @@ declare class Payment {
|
|
|
110
110
|
* @returns {Promise<PaymentPlatformModel.IfscCodeResponse>} - Success response
|
|
111
111
|
* @name verifyIfscCode
|
|
112
112
|
* @summary: Ifsc Code Verification
|
|
113
|
-
* @description: Get True
|
|
113
|
+
* @description: Get True/False for correct IFSC Code for adding bank details for refund - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/verifyIfscCode/).
|
|
114
114
|
*/
|
|
115
115
|
verifyIfscCode({ ifscCode, requestHeaders }?: PaymentPlatformValidator.VerifyIfscCodeParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.IfscCodeResponse>;
|
|
116
116
|
}
|
|
@@ -757,7 +757,7 @@ class Payment {
|
|
|
757
757
|
* @returns {Promise<PaymentPlatformModel.IfscCodeResponse>} - Success response
|
|
758
758
|
* @name verifyIfscCode
|
|
759
759
|
* @summary: Ifsc Code Verification
|
|
760
|
-
* @description: Get True
|
|
760
|
+
* @description: Get True/False for correct IFSC Code for adding bank details for refund - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/verifyIfscCode/).
|
|
761
761
|
*/
|
|
762
762
|
async verifyIfscCode(
|
|
763
763
|
{ ifscCode, requestHeaders } = { requestHeaders: {} },
|