@gofynd/fdk-client-javascript 1.4.15-beta.2 → 1.4.15-beta.4
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 +2 -2
- package/application.d.ts +1 -2
- package/application.js +2 -3
- package/index.d.ts +1 -2
- package/index.js +7 -1
- package/package.json +2 -3
- package/sdk/application/ApplicationClient.js +0 -18
- package/sdk/application/Cart/CartApplicationClient.d.ts +55 -90
- package/sdk/application/Cart/CartApplicationClient.js +27 -1203
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +80 -142
- package/sdk/application/Catalog/CatalogApplicationClient.js +40 -1344
- package/sdk/application/Common/CommonApplicationClient.d.ts +4 -8
- package/sdk/application/Common/CommonApplicationClient.js +2 -92
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +6 -19
- package/sdk/application/Communication/CommunicationApplicationClient.js +3 -148
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +32 -73
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +16 -727
- package/sdk/application/Content/ContentApplicationClient.d.ts +46 -78
- package/sdk/application/Content/ContentApplicationClient.js +23 -941
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -11
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +4 -134
- package/sdk/application/Lead/LeadApplicationClient.d.ts +10 -18
- package/sdk/application/Lead/LeadApplicationClient.js +5 -217
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +22 -39
- package/sdk/application/Logistic/LogisticApplicationClient.js +11 -496
- package/sdk/application/Order/OrderApplicationClient.d.ts +22 -42
- package/sdk/application/Order/OrderApplicationClient.js +11 -505
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +92 -212
- package/sdk/application/Payment/PaymentApplicationClient.js +46 -2106
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +14 -28
- package/sdk/application/Rewards/RewardsApplicationClient.js +7 -311
- package/sdk/application/Share/ShareApplicationClient.d.ts +14 -24
- package/sdk/application/Share/ShareApplicationClient.js +7 -309
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -14
- package/sdk/application/Theme/ThemeApplicationClient.js +4 -174
- package/sdk/application/User/UserApplicationClient.d.ts +85 -136
- package/sdk/application/User/UserApplicationClient.js +42 -1818
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +2 -5
- package/sdk/application/Webhook/WebhookApplicationClient.js +1 -50
- package/sdk/application/index.d.ts +0 -18
- package/sdk/application/index.js +0 -33
- package/sdk/partner/OAuthClient.js +1 -0
- package/sdk/platform/Cart/CartPlatformModel.d.ts +7 -0
- package/sdk/platform/Cart/CartPlatformModel.js +3 -0
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +0 -7
- package/sdk/platform/Catalog/CatalogPlatformModel.js +0 -3
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +7 -0
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +3 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.js +4 -2
- package/sdk/public/Content/ContentPublicClient.js +4 -2
- package/sdk/public/Partner/PartnerPublicClient.js +4 -2
- package/sdk/public/Webhook/WebhookPublicClient.js +4 -2
- package/sdk/application/Cart/CartApplicationModel.d.ts +0 -3994
- package/sdk/application/Cart/CartApplicationModel.js +0 -2497
- package/sdk/application/Cart/CartApplicationValidator.d.ts +0 -769
- package/sdk/application/Cart/CartApplicationValidator.js +0 -530
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +0 -3857
- package/sdk/application/Catalog/CatalogApplicationModel.js +0 -2629
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +0 -791
- package/sdk/application/Catalog/CatalogApplicationValidator.js +0 -551
- package/sdk/application/Common/CommonApplicationModel.d.ts +0 -449
- package/sdk/application/Common/CommonApplicationModel.js +0 -308
- package/sdk/application/Common/CommonApplicationValidator.d.ts +0 -46
- package/sdk/application/Common/CommonApplicationValidator.js +0 -38
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +0 -293
- package/sdk/application/Communication/CommunicationApplicationModel.js +0 -201
- package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +0 -29
- package/sdk/application/Communication/CommunicationApplicationValidator.js +0 -38
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +0 -2556
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +0 -1887
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +0 -179
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +0 -176
- package/sdk/application/Content/ContentApplicationModel.d.ts +0 -2133
- package/sdk/application/Content/ContentApplicationModel.js +0 -1589
- package/sdk/application/Content/ContentApplicationValidator.d.ts +0 -284
- package/sdk/application/Content/ContentApplicationValidator.js +0 -264
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +0 -272
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +0 -190
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +0 -56
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +0 -53
- package/sdk/application/Lead/LeadApplicationModel.d.ts +0 -590
- package/sdk/application/Lead/LeadApplicationModel.js +0 -480
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +0 -68
- package/sdk/application/Lead/LeadApplicationValidator.js +0 -71
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +0 -1675
- package/sdk/application/Logistic/LogisticApplicationModel.js +0 -1121
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +0 -254
- package/sdk/application/Logistic/LogisticApplicationValidator.js +0 -190
- package/sdk/application/Order/OrderApplicationModel.d.ts +0 -2296
- package/sdk/application/Order/OrderApplicationModel.js +0 -1471
- package/sdk/application/Order/OrderApplicationValidator.d.ts +0 -265
- package/sdk/application/Order/OrderApplicationValidator.js +0 -197
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +0 -4058
- package/sdk/application/Payment/PaymentApplicationModel.js +0 -2630
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +0 -576
- package/sdk/application/Payment/PaymentApplicationValidator.js +0 -594
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +0 -365
- package/sdk/application/Rewards/RewardsApplicationModel.js +0 -396
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +0 -73
- package/sdk/application/Rewards/RewardsApplicationValidator.js +0 -84
- package/sdk/application/Share/ShareApplicationModel.d.ts +0 -339
- package/sdk/application/Share/ShareApplicationModel.js +0 -234
- package/sdk/application/Share/ShareApplicationValidator.d.ts +0 -90
- package/sdk/application/Share/ShareApplicationValidator.js +0 -91
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +0 -1713
- package/sdk/application/Theme/ThemeApplicationModel.js +0 -1426
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +0 -66
- package/sdk/application/Theme/ThemeApplicationValidator.js +0 -58
- package/sdk/application/User/UserApplicationModel.d.ts +0 -1943
- package/sdk/application/User/UserApplicationModel.js +0 -1382
- package/sdk/application/User/UserApplicationValidator.d.ts +0 -560
- package/sdk/application/User/UserApplicationValidator.js +0 -573
- package/sdk/application/Webhook/WebhookApplicationModel.d.ts +0 -52
- package/sdk/application/Webhook/WebhookApplicationModel.js +0 -46
- package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +0 -16
- package/sdk/application/Webhook/WebhookApplicationValidator.js +0 -19
- package/sdk/common/Clickstream.d.ts +0 -1
- package/sdk/common/Clickstream.js +0 -464
|
@@ -1,576 +0,0 @@
|
|
|
1
|
-
export = PaymentApplicationValidator;
|
|
2
|
-
/**
|
|
3
|
-
* @typedef AddBeneficiaryDetailsParam
|
|
4
|
-
* @property {PaymentApplicationModel.AddBeneficiaryDetailsRequest} body
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* @typedef AddRefundBankAccountUsingOTPParam
|
|
8
|
-
* @property {PaymentApplicationModel.AddBeneficiaryDetailsOTPRequest} body
|
|
9
|
-
*/
|
|
10
|
-
/**
|
|
11
|
-
* @typedef AttachCardToCustomerParam
|
|
12
|
-
* @property {PaymentApplicationModel.AttachCardRequest} body
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* @typedef CancelPaymentLinkParam
|
|
16
|
-
* @property {PaymentApplicationModel.CancelOrResendPaymentLinkRequest} body
|
|
17
|
-
*/
|
|
18
|
-
/**
|
|
19
|
-
* @typedef CardDetailsParam
|
|
20
|
-
* @property {string} cardInfo - Card first 6 digit IIN(prefix) number.
|
|
21
|
-
* @property {string} [aggregator] - This is a string value describing the
|
|
22
|
-
* aggregator name.
|
|
23
|
-
*/
|
|
24
|
-
/**
|
|
25
|
-
* @typedef CheckAndUpdatePaymentStatusParam
|
|
26
|
-
* @property {PaymentApplicationModel.PaymentStatusUpdateRequest} body
|
|
27
|
-
*/
|
|
28
|
-
/**
|
|
29
|
-
* @typedef CheckAndUpdatePaymentStatusPaymentLinkParam
|
|
30
|
-
* @property {PaymentApplicationModel.PaymentStatusUpdateRequest} body
|
|
31
|
-
*/
|
|
32
|
-
/**
|
|
33
|
-
* @typedef CheckCreditParam
|
|
34
|
-
* @property {string} [aggregator] - Aggregator name.
|
|
35
|
-
*/
|
|
36
|
-
/**
|
|
37
|
-
* @typedef CreateOrderHandlerPaymentLinkParam
|
|
38
|
-
* @property {PaymentApplicationModel.CreateOrderUserRequest} body
|
|
39
|
-
*/
|
|
40
|
-
/**
|
|
41
|
-
* @typedef CreatePaymentLinkParam
|
|
42
|
-
* @property {PaymentApplicationModel.CreatePaymentLinkRequest} body
|
|
43
|
-
*/
|
|
44
|
-
/**
|
|
45
|
-
* @typedef CreatePaymentOrderParam
|
|
46
|
-
* @property {PaymentApplicationModel.PaymentOrderRequest} body
|
|
47
|
-
*/
|
|
48
|
-
/**
|
|
49
|
-
* @typedef CustomerCreditSummaryParam
|
|
50
|
-
* @property {string} [aggregator] - Aggregator name.
|
|
51
|
-
*/
|
|
52
|
-
/**
|
|
53
|
-
* @typedef CustomerOnboardParam
|
|
54
|
-
* @property {PaymentApplicationModel.CustomerOnboardingRequest} body
|
|
55
|
-
*/
|
|
56
|
-
/**
|
|
57
|
-
* @typedef DeleteUserCardParam
|
|
58
|
-
* @property {PaymentApplicationModel.DeletehCardRequest} body
|
|
59
|
-
*/
|
|
60
|
-
/**
|
|
61
|
-
* @typedef DelinkWalletParam
|
|
62
|
-
* @property {PaymentApplicationModel.WalletDelinkRequestSchema} body
|
|
63
|
-
*/
|
|
64
|
-
/**
|
|
65
|
-
* @typedef EnableOrDisableRefundTransferModeParam
|
|
66
|
-
* @property {PaymentApplicationModel.UpdateRefundTransferModeRequest} body
|
|
67
|
-
*/
|
|
68
|
-
/**
|
|
69
|
-
* @typedef GetActiveCardAggregatorParam
|
|
70
|
-
* @property {boolean} [refresh] - Select `true` to remove temporary cache files
|
|
71
|
-
* on payment gateway and replace with the latest one.
|
|
72
|
-
*/
|
|
73
|
-
/** @typedef GetActiveRefundTransferModesParam */
|
|
74
|
-
/**
|
|
75
|
-
* @typedef GetActiveUserCardsParam
|
|
76
|
-
* @property {boolean} [forceRefresh] - Select `true` to clear the cache.
|
|
77
|
-
*/
|
|
78
|
-
/**
|
|
79
|
-
* @typedef GetAggregatorsConfigParam
|
|
80
|
-
* @property {string} [xApiToken] - Basic auth token.
|
|
81
|
-
* @property {boolean} [refresh] - Select `true` to remove temporary cache files
|
|
82
|
-
* on payment gateway and replace with the latest one.
|
|
83
|
-
*/
|
|
84
|
-
/** @typedef GetEpaylaterBannerDetailsParam */
|
|
85
|
-
/**
|
|
86
|
-
* @typedef GetOrderBeneficiariesDetailParam
|
|
87
|
-
* @property {string} orderId - A unique number used for identifying and
|
|
88
|
-
* tracking your orders.
|
|
89
|
-
*/
|
|
90
|
-
/**
|
|
91
|
-
* @typedef GetPaymentLinkParam
|
|
92
|
-
* @property {string} [paymentLinkId] - Unique payment link id.
|
|
93
|
-
*/
|
|
94
|
-
/**
|
|
95
|
-
* @typedef GetPaymentModeRoutesParam
|
|
96
|
-
* @property {number} amount - Payable amount.
|
|
97
|
-
* @property {string} [cartId] - Identifier of the cart.
|
|
98
|
-
* @property {string} [checkoutMode] - Option to checkout for self or for others.
|
|
99
|
-
* @property {boolean} [refresh] - Select `true` to remove temporary cache files
|
|
100
|
-
* on payment gateway and replace with the latest one.
|
|
101
|
-
* @property {string} [orderId] - Identifier of the order, order_id.
|
|
102
|
-
* @property {string} [cardReference] - Card reference id of user's debit or credit card.
|
|
103
|
-
* @property {string} [userDetails] - URLencoded JSON containing details of an
|
|
104
|
-
* anonymous user.
|
|
105
|
-
* @property {boolean} [displaySplit] - Display Split Payment Option or not.
|
|
106
|
-
* @property {boolean} [advancePayment] - Display Advance Payment Options or Normal.
|
|
107
|
-
* @property {string} [shipmentId] - Identifier of the shipment, shipment_id.
|
|
108
|
-
*/
|
|
109
|
-
/**
|
|
110
|
-
* @typedef GetPaymentModeRoutesPaymentLinkParam
|
|
111
|
-
* @property {string} paymentLinkId - Payment link id.
|
|
112
|
-
*/
|
|
113
|
-
/**
|
|
114
|
-
* @typedef GetPosPaymentModeRoutesParam
|
|
115
|
-
* @property {number} amount - Payable amount.
|
|
116
|
-
* @property {string} [cartId] - Identifier of the cart.
|
|
117
|
-
* @property {string} pincode - The PIN Code of the destination address, e.g. 400059.
|
|
118
|
-
* @property {string} [checkoutMode] - Option to checkout for self or for others.
|
|
119
|
-
* @property {boolean} [refresh] - Select `true` to remove temporary cache files
|
|
120
|
-
* on payment gateway and replace with the latest one.
|
|
121
|
-
* @property {string} [cardReference] - Card reference id of user's debit or credit card.
|
|
122
|
-
* @property {string} orderType - The order type of shipment HomeDelivery - If
|
|
123
|
-
* the customer wants the order home-delivered PickAtStore - If the customer
|
|
124
|
-
* wants the handover of an order at the store itself.
|
|
125
|
-
* @property {string} [userDetails] - URLencoded JSON containing details of an
|
|
126
|
-
* anonymous user.
|
|
127
|
-
*/
|
|
128
|
-
/** @typedef GetRupifiBannerDetailsParam */
|
|
129
|
-
/**
|
|
130
|
-
* @typedef GetUserBeneficiariesDetailParam
|
|
131
|
-
* @property {string} orderId - A unique number used for identifying and
|
|
132
|
-
* tracking your orders.
|
|
133
|
-
*/
|
|
134
|
-
/**
|
|
135
|
-
* @typedef InitialisePaymentParam
|
|
136
|
-
* @property {PaymentApplicationModel.PaymentInitializationRequest} body
|
|
137
|
-
*/
|
|
138
|
-
/**
|
|
139
|
-
* @typedef InitialisePaymentPaymentLinkParam
|
|
140
|
-
* @property {PaymentApplicationModel.PaymentInitializationRequest} body
|
|
141
|
-
*/
|
|
142
|
-
/**
|
|
143
|
-
* @typedef LinkWalletParam
|
|
144
|
-
* @property {PaymentApplicationModel.WalletVerifyRequestSchema} body
|
|
145
|
-
*/
|
|
146
|
-
/**
|
|
147
|
-
* @typedef OutstandingOrderDetailsParam
|
|
148
|
-
* @property {string} [aggregator] - Merchant user ID as value.
|
|
149
|
-
*/
|
|
150
|
-
/**
|
|
151
|
-
* @typedef PaidOrderDetailsParam
|
|
152
|
-
* @property {string} [aggregator] - Merchant user ID as value.
|
|
153
|
-
*/
|
|
154
|
-
/**
|
|
155
|
-
* @typedef PollingPaymentLinkParam
|
|
156
|
-
* @property {string} [paymentLinkId] - Unique payment link id.
|
|
157
|
-
*/
|
|
158
|
-
/**
|
|
159
|
-
* @typedef RedirectToAggregatorParam
|
|
160
|
-
* @property {string} [source] - Callback URL to get callback from aggregator.
|
|
161
|
-
* @property {string} [aggregator] - Aggregator name.
|
|
162
|
-
*/
|
|
163
|
-
/**
|
|
164
|
-
* @typedef RenderHTMLParam
|
|
165
|
-
* @property {PaymentApplicationModel.renderHTMLRequest} body
|
|
166
|
-
*/
|
|
167
|
-
/**
|
|
168
|
-
* @typedef ResendOrCancelPaymentParam
|
|
169
|
-
* @property {PaymentApplicationModel.ResendOrCancelPaymentRequest} body
|
|
170
|
-
*/
|
|
171
|
-
/**
|
|
172
|
-
* @typedef ResendPaymentLinkParam
|
|
173
|
-
* @property {PaymentApplicationModel.CancelOrResendPaymentLinkRequest} body
|
|
174
|
-
*/
|
|
175
|
-
/**
|
|
176
|
-
* @typedef UpdateDefaultBeneficiaryParam
|
|
177
|
-
* @property {PaymentApplicationModel.SetDefaultBeneficiaryRequest} body
|
|
178
|
-
*/
|
|
179
|
-
/**
|
|
180
|
-
* @typedef ValidateVPAParam
|
|
181
|
-
* @property {PaymentApplicationModel.ValidateVPARequest} body
|
|
182
|
-
*/
|
|
183
|
-
/**
|
|
184
|
-
* @typedef VerifyAndChargePaymentParam
|
|
185
|
-
* @property {PaymentApplicationModel.ChargeCustomerRequest} body
|
|
186
|
-
*/
|
|
187
|
-
/**
|
|
188
|
-
* @typedef VerifyCustomerForPaymentParam
|
|
189
|
-
* @property {PaymentApplicationModel.ValidateCustomerRequest} body
|
|
190
|
-
*/
|
|
191
|
-
/**
|
|
192
|
-
* @typedef VerifyIfscCodeParam
|
|
193
|
-
* @property {string} [ifscCode] - A 11-digit alphanumeric code that uniquely
|
|
194
|
-
* identifies a bank branch.
|
|
195
|
-
*/
|
|
196
|
-
/**
|
|
197
|
-
* @typedef VerifyOtpAndAddBeneficiaryForBankParam
|
|
198
|
-
* @property {PaymentApplicationModel.AddBeneficiaryViaOtpVerificationRequest} body
|
|
199
|
-
*/
|
|
200
|
-
/**
|
|
201
|
-
* @typedef VerifyOtpAndAddBeneficiaryForWalletParam
|
|
202
|
-
* @property {PaymentApplicationModel.WalletOtpRequest} body
|
|
203
|
-
*/
|
|
204
|
-
/**
|
|
205
|
-
* @typedef WalletLinkInitiateParam
|
|
206
|
-
* @property {PaymentApplicationModel.WalletLinkRequestSchema} body
|
|
207
|
-
*/
|
|
208
|
-
declare class PaymentApplicationValidator {
|
|
209
|
-
/** @returns {AddBeneficiaryDetailsParam} */
|
|
210
|
-
static addBeneficiaryDetails(): AddBeneficiaryDetailsParam;
|
|
211
|
-
/** @returns {AddRefundBankAccountUsingOTPParam} */
|
|
212
|
-
static addRefundBankAccountUsingOTP(): AddRefundBankAccountUsingOTPParam;
|
|
213
|
-
/** @returns {AttachCardToCustomerParam} */
|
|
214
|
-
static attachCardToCustomer(): AttachCardToCustomerParam;
|
|
215
|
-
/** @returns {CancelPaymentLinkParam} */
|
|
216
|
-
static cancelPaymentLink(): CancelPaymentLinkParam;
|
|
217
|
-
/** @returns {CardDetailsParam} */
|
|
218
|
-
static cardDetails(): CardDetailsParam;
|
|
219
|
-
/** @returns {CheckAndUpdatePaymentStatusParam} */
|
|
220
|
-
static checkAndUpdatePaymentStatus(): CheckAndUpdatePaymentStatusParam;
|
|
221
|
-
/** @returns {CheckAndUpdatePaymentStatusPaymentLinkParam} */
|
|
222
|
-
static checkAndUpdatePaymentStatusPaymentLink(): CheckAndUpdatePaymentStatusPaymentLinkParam;
|
|
223
|
-
/** @returns {CheckCreditParam} */
|
|
224
|
-
static checkCredit(): CheckCreditParam;
|
|
225
|
-
/** @returns {CreateOrderHandlerPaymentLinkParam} */
|
|
226
|
-
static createOrderHandlerPaymentLink(): CreateOrderHandlerPaymentLinkParam;
|
|
227
|
-
/** @returns {CreatePaymentLinkParam} */
|
|
228
|
-
static createPaymentLink(): CreatePaymentLinkParam;
|
|
229
|
-
/** @returns {CreatePaymentOrderParam} */
|
|
230
|
-
static createPaymentOrder(): CreatePaymentOrderParam;
|
|
231
|
-
/** @returns {CustomerCreditSummaryParam} */
|
|
232
|
-
static customerCreditSummary(): CustomerCreditSummaryParam;
|
|
233
|
-
/** @returns {CustomerOnboardParam} */
|
|
234
|
-
static customerOnboard(): CustomerOnboardParam;
|
|
235
|
-
/** @returns {DeleteUserCardParam} */
|
|
236
|
-
static deleteUserCard(): DeleteUserCardParam;
|
|
237
|
-
/** @returns {DelinkWalletParam} */
|
|
238
|
-
static delinkWallet(): DelinkWalletParam;
|
|
239
|
-
/** @returns {EnableOrDisableRefundTransferModeParam} */
|
|
240
|
-
static enableOrDisableRefundTransferMode(): EnableOrDisableRefundTransferModeParam;
|
|
241
|
-
/** @returns {GetActiveCardAggregatorParam} */
|
|
242
|
-
static getActiveCardAggregator(): GetActiveCardAggregatorParam;
|
|
243
|
-
/** @returns {GetActiveRefundTransferModesParam} */
|
|
244
|
-
static getActiveRefundTransferModes(): any;
|
|
245
|
-
/** @returns {GetActiveUserCardsParam} */
|
|
246
|
-
static getActiveUserCards(): GetActiveUserCardsParam;
|
|
247
|
-
/** @returns {GetAggregatorsConfigParam} */
|
|
248
|
-
static getAggregatorsConfig(): GetAggregatorsConfigParam;
|
|
249
|
-
/** @returns {GetEpaylaterBannerDetailsParam} */
|
|
250
|
-
static getEpaylaterBannerDetails(): any;
|
|
251
|
-
/** @returns {GetOrderBeneficiariesDetailParam} */
|
|
252
|
-
static getOrderBeneficiariesDetail(): GetOrderBeneficiariesDetailParam;
|
|
253
|
-
/** @returns {GetPaymentLinkParam} */
|
|
254
|
-
static getPaymentLink(): GetPaymentLinkParam;
|
|
255
|
-
/** @returns {GetPaymentModeRoutesParam} */
|
|
256
|
-
static getPaymentModeRoutes(): GetPaymentModeRoutesParam;
|
|
257
|
-
/** @returns {GetPaymentModeRoutesPaymentLinkParam} */
|
|
258
|
-
static getPaymentModeRoutesPaymentLink(): GetPaymentModeRoutesPaymentLinkParam;
|
|
259
|
-
/** @returns {GetPosPaymentModeRoutesParam} */
|
|
260
|
-
static getPosPaymentModeRoutes(): GetPosPaymentModeRoutesParam;
|
|
261
|
-
/** @returns {GetRupifiBannerDetailsParam} */
|
|
262
|
-
static getRupifiBannerDetails(): any;
|
|
263
|
-
/** @returns {GetUserBeneficiariesDetailParam} */
|
|
264
|
-
static getUserBeneficiariesDetail(): GetUserBeneficiariesDetailParam;
|
|
265
|
-
/** @returns {InitialisePaymentParam} */
|
|
266
|
-
static initialisePayment(): InitialisePaymentParam;
|
|
267
|
-
/** @returns {InitialisePaymentPaymentLinkParam} */
|
|
268
|
-
static initialisePaymentPaymentLink(): InitialisePaymentPaymentLinkParam;
|
|
269
|
-
/** @returns {LinkWalletParam} */
|
|
270
|
-
static linkWallet(): LinkWalletParam;
|
|
271
|
-
/** @returns {OutstandingOrderDetailsParam} */
|
|
272
|
-
static outstandingOrderDetails(): OutstandingOrderDetailsParam;
|
|
273
|
-
/** @returns {PaidOrderDetailsParam} */
|
|
274
|
-
static paidOrderDetails(): PaidOrderDetailsParam;
|
|
275
|
-
/** @returns {PollingPaymentLinkParam} */
|
|
276
|
-
static pollingPaymentLink(): PollingPaymentLinkParam;
|
|
277
|
-
/** @returns {RedirectToAggregatorParam} */
|
|
278
|
-
static redirectToAggregator(): RedirectToAggregatorParam;
|
|
279
|
-
/** @returns {RenderHTMLParam} */
|
|
280
|
-
static renderHTML(): RenderHTMLParam;
|
|
281
|
-
/** @returns {ResendOrCancelPaymentParam} */
|
|
282
|
-
static resendOrCancelPayment(): ResendOrCancelPaymentParam;
|
|
283
|
-
/** @returns {ResendPaymentLinkParam} */
|
|
284
|
-
static resendPaymentLink(): ResendPaymentLinkParam;
|
|
285
|
-
/** @returns {UpdateDefaultBeneficiaryParam} */
|
|
286
|
-
static updateDefaultBeneficiary(): UpdateDefaultBeneficiaryParam;
|
|
287
|
-
/** @returns {ValidateVPAParam} */
|
|
288
|
-
static validateVPA(): ValidateVPAParam;
|
|
289
|
-
/** @returns {VerifyAndChargePaymentParam} */
|
|
290
|
-
static verifyAndChargePayment(): VerifyAndChargePaymentParam;
|
|
291
|
-
/** @returns {VerifyCustomerForPaymentParam} */
|
|
292
|
-
static verifyCustomerForPayment(): VerifyCustomerForPaymentParam;
|
|
293
|
-
/** @returns {VerifyIfscCodeParam} */
|
|
294
|
-
static verifyIfscCode(): VerifyIfscCodeParam;
|
|
295
|
-
/** @returns {VerifyOtpAndAddBeneficiaryForBankParam} */
|
|
296
|
-
static verifyOtpAndAddBeneficiaryForBank(): VerifyOtpAndAddBeneficiaryForBankParam;
|
|
297
|
-
/** @returns {VerifyOtpAndAddBeneficiaryForWalletParam} */
|
|
298
|
-
static verifyOtpAndAddBeneficiaryForWallet(): VerifyOtpAndAddBeneficiaryForWalletParam;
|
|
299
|
-
/** @returns {WalletLinkInitiateParam} */
|
|
300
|
-
static walletLinkInitiate(): WalletLinkInitiateParam;
|
|
301
|
-
}
|
|
302
|
-
declare namespace PaymentApplicationValidator {
|
|
303
|
-
export { AddBeneficiaryDetailsParam, AddRefundBankAccountUsingOTPParam, AttachCardToCustomerParam, CancelPaymentLinkParam, CardDetailsParam, CheckAndUpdatePaymentStatusParam, CheckAndUpdatePaymentStatusPaymentLinkParam, CheckCreditParam, CreateOrderHandlerPaymentLinkParam, CreatePaymentLinkParam, CreatePaymentOrderParam, CustomerCreditSummaryParam, CustomerOnboardParam, DeleteUserCardParam, DelinkWalletParam, EnableOrDisableRefundTransferModeParam, GetActiveCardAggregatorParam, GetActiveRefundTransferModesParam, GetActiveUserCardsParam, GetAggregatorsConfigParam, GetEpaylaterBannerDetailsParam, GetOrderBeneficiariesDetailParam, GetPaymentLinkParam, GetPaymentModeRoutesParam, GetPaymentModeRoutesPaymentLinkParam, GetPosPaymentModeRoutesParam, GetRupifiBannerDetailsParam, GetUserBeneficiariesDetailParam, InitialisePaymentParam, InitialisePaymentPaymentLinkParam, LinkWalletParam, OutstandingOrderDetailsParam, PaidOrderDetailsParam, PollingPaymentLinkParam, RedirectToAggregatorParam, RenderHTMLParam, ResendOrCancelPaymentParam, ResendPaymentLinkParam, UpdateDefaultBeneficiaryParam, ValidateVPAParam, VerifyAndChargePaymentParam, VerifyCustomerForPaymentParam, VerifyIfscCodeParam, VerifyOtpAndAddBeneficiaryForBankParam, VerifyOtpAndAddBeneficiaryForWalletParam, WalletLinkInitiateParam };
|
|
304
|
-
}
|
|
305
|
-
type AddBeneficiaryDetailsParam = {
|
|
306
|
-
body: PaymentApplicationModel.AddBeneficiaryDetailsRequest;
|
|
307
|
-
};
|
|
308
|
-
type AddRefundBankAccountUsingOTPParam = {
|
|
309
|
-
body: PaymentApplicationModel.AddBeneficiaryDetailsOTPRequest;
|
|
310
|
-
};
|
|
311
|
-
type AttachCardToCustomerParam = {
|
|
312
|
-
body: PaymentApplicationModel.AttachCardRequest;
|
|
313
|
-
};
|
|
314
|
-
type CancelPaymentLinkParam = {
|
|
315
|
-
body: PaymentApplicationModel.CancelOrResendPaymentLinkRequest;
|
|
316
|
-
};
|
|
317
|
-
type CardDetailsParam = {
|
|
318
|
-
/**
|
|
319
|
-
* - Card first 6 digit IIN(prefix) number.
|
|
320
|
-
*/
|
|
321
|
-
cardInfo: string;
|
|
322
|
-
/**
|
|
323
|
-
* - This is a string value describing the
|
|
324
|
-
* aggregator name.
|
|
325
|
-
*/
|
|
326
|
-
aggregator?: string;
|
|
327
|
-
};
|
|
328
|
-
type CheckAndUpdatePaymentStatusParam = {
|
|
329
|
-
body: PaymentApplicationModel.PaymentStatusUpdateRequest;
|
|
330
|
-
};
|
|
331
|
-
type CheckAndUpdatePaymentStatusPaymentLinkParam = {
|
|
332
|
-
body: PaymentApplicationModel.PaymentStatusUpdateRequest;
|
|
333
|
-
};
|
|
334
|
-
type CheckCreditParam = {
|
|
335
|
-
/**
|
|
336
|
-
* - Aggregator name.
|
|
337
|
-
*/
|
|
338
|
-
aggregator?: string;
|
|
339
|
-
};
|
|
340
|
-
type CreateOrderHandlerPaymentLinkParam = {
|
|
341
|
-
body: PaymentApplicationModel.CreateOrderUserRequest;
|
|
342
|
-
};
|
|
343
|
-
type CreatePaymentLinkParam = {
|
|
344
|
-
body: PaymentApplicationModel.CreatePaymentLinkRequest;
|
|
345
|
-
};
|
|
346
|
-
type CreatePaymentOrderParam = {
|
|
347
|
-
body: PaymentApplicationModel.PaymentOrderRequest;
|
|
348
|
-
};
|
|
349
|
-
type CustomerCreditSummaryParam = {
|
|
350
|
-
/**
|
|
351
|
-
* - Aggregator name.
|
|
352
|
-
*/
|
|
353
|
-
aggregator?: string;
|
|
354
|
-
};
|
|
355
|
-
type CustomerOnboardParam = {
|
|
356
|
-
body: PaymentApplicationModel.CustomerOnboardingRequest;
|
|
357
|
-
};
|
|
358
|
-
type DeleteUserCardParam = {
|
|
359
|
-
body: PaymentApplicationModel.DeletehCardRequest;
|
|
360
|
-
};
|
|
361
|
-
type DelinkWalletParam = {
|
|
362
|
-
body: PaymentApplicationModel.WalletDelinkRequestSchema;
|
|
363
|
-
};
|
|
364
|
-
type EnableOrDisableRefundTransferModeParam = {
|
|
365
|
-
body: PaymentApplicationModel.UpdateRefundTransferModeRequest;
|
|
366
|
-
};
|
|
367
|
-
type GetActiveCardAggregatorParam = {
|
|
368
|
-
/**
|
|
369
|
-
* - Select `true` to remove temporary cache files
|
|
370
|
-
* on payment gateway and replace with the latest one.
|
|
371
|
-
*/
|
|
372
|
-
refresh?: boolean;
|
|
373
|
-
};
|
|
374
|
-
type GetActiveUserCardsParam = {
|
|
375
|
-
/**
|
|
376
|
-
* - Select `true` to clear the cache.
|
|
377
|
-
*/
|
|
378
|
-
forceRefresh?: boolean;
|
|
379
|
-
};
|
|
380
|
-
type GetAggregatorsConfigParam = {
|
|
381
|
-
/**
|
|
382
|
-
* - Basic auth token.
|
|
383
|
-
*/
|
|
384
|
-
xApiToken?: string;
|
|
385
|
-
/**
|
|
386
|
-
* - Select `true` to remove temporary cache files
|
|
387
|
-
* on payment gateway and replace with the latest one.
|
|
388
|
-
*/
|
|
389
|
-
refresh?: boolean;
|
|
390
|
-
};
|
|
391
|
-
type GetOrderBeneficiariesDetailParam = {
|
|
392
|
-
/**
|
|
393
|
-
* - A unique number used for identifying and
|
|
394
|
-
* tracking your orders.
|
|
395
|
-
*/
|
|
396
|
-
orderId: string;
|
|
397
|
-
};
|
|
398
|
-
type GetPaymentLinkParam = {
|
|
399
|
-
/**
|
|
400
|
-
* - Unique payment link id.
|
|
401
|
-
*/
|
|
402
|
-
paymentLinkId?: string;
|
|
403
|
-
};
|
|
404
|
-
type GetPaymentModeRoutesParam = {
|
|
405
|
-
/**
|
|
406
|
-
* - Payable amount.
|
|
407
|
-
*/
|
|
408
|
-
amount: number;
|
|
409
|
-
/**
|
|
410
|
-
* - Identifier of the cart.
|
|
411
|
-
*/
|
|
412
|
-
cartId?: string;
|
|
413
|
-
/**
|
|
414
|
-
* - Option to checkout for self or for others.
|
|
415
|
-
*/
|
|
416
|
-
checkoutMode?: string;
|
|
417
|
-
/**
|
|
418
|
-
* - Select `true` to remove temporary cache files
|
|
419
|
-
* on payment gateway and replace with the latest one.
|
|
420
|
-
*/
|
|
421
|
-
refresh?: boolean;
|
|
422
|
-
/**
|
|
423
|
-
* - Identifier of the order, order_id.
|
|
424
|
-
*/
|
|
425
|
-
orderId?: string;
|
|
426
|
-
/**
|
|
427
|
-
* - Card reference id of user's debit or credit card.
|
|
428
|
-
*/
|
|
429
|
-
cardReference?: string;
|
|
430
|
-
/**
|
|
431
|
-
* - URLencoded JSON containing details of an
|
|
432
|
-
* anonymous user.
|
|
433
|
-
*/
|
|
434
|
-
userDetails?: string;
|
|
435
|
-
/**
|
|
436
|
-
* - Display Split Payment Option or not.
|
|
437
|
-
*/
|
|
438
|
-
displaySplit?: boolean;
|
|
439
|
-
/**
|
|
440
|
-
* - Display Advance Payment Options or Normal.
|
|
441
|
-
*/
|
|
442
|
-
advancePayment?: boolean;
|
|
443
|
-
/**
|
|
444
|
-
* - Identifier of the shipment, shipment_id.
|
|
445
|
-
*/
|
|
446
|
-
shipmentId?: string;
|
|
447
|
-
};
|
|
448
|
-
type GetPaymentModeRoutesPaymentLinkParam = {
|
|
449
|
-
/**
|
|
450
|
-
* - Payment link id.
|
|
451
|
-
*/
|
|
452
|
-
paymentLinkId: string;
|
|
453
|
-
};
|
|
454
|
-
type GetPosPaymentModeRoutesParam = {
|
|
455
|
-
/**
|
|
456
|
-
* - Payable amount.
|
|
457
|
-
*/
|
|
458
|
-
amount: number;
|
|
459
|
-
/**
|
|
460
|
-
* - Identifier of the cart.
|
|
461
|
-
*/
|
|
462
|
-
cartId?: string;
|
|
463
|
-
/**
|
|
464
|
-
* - The PIN Code of the destination address, e.g. 400059.
|
|
465
|
-
*/
|
|
466
|
-
pincode: string;
|
|
467
|
-
/**
|
|
468
|
-
* - Option to checkout for self or for others.
|
|
469
|
-
*/
|
|
470
|
-
checkoutMode?: string;
|
|
471
|
-
/**
|
|
472
|
-
* - Select `true` to remove temporary cache files
|
|
473
|
-
* on payment gateway and replace with the latest one.
|
|
474
|
-
*/
|
|
475
|
-
refresh?: boolean;
|
|
476
|
-
/**
|
|
477
|
-
* - Card reference id of user's debit or credit card.
|
|
478
|
-
*/
|
|
479
|
-
cardReference?: string;
|
|
480
|
-
/**
|
|
481
|
-
* - The order type of shipment HomeDelivery - If
|
|
482
|
-
* the customer wants the order home-delivered PickAtStore - If the customer
|
|
483
|
-
* wants the handover of an order at the store itself.
|
|
484
|
-
*/
|
|
485
|
-
orderType: string;
|
|
486
|
-
/**
|
|
487
|
-
* - URLencoded JSON containing details of an
|
|
488
|
-
* anonymous user.
|
|
489
|
-
*/
|
|
490
|
-
userDetails?: string;
|
|
491
|
-
};
|
|
492
|
-
type GetUserBeneficiariesDetailParam = {
|
|
493
|
-
/**
|
|
494
|
-
* - A unique number used for identifying and
|
|
495
|
-
* tracking your orders.
|
|
496
|
-
*/
|
|
497
|
-
orderId: string;
|
|
498
|
-
};
|
|
499
|
-
type InitialisePaymentParam = {
|
|
500
|
-
body: PaymentApplicationModel.PaymentInitializationRequest;
|
|
501
|
-
};
|
|
502
|
-
type InitialisePaymentPaymentLinkParam = {
|
|
503
|
-
body: PaymentApplicationModel.PaymentInitializationRequest;
|
|
504
|
-
};
|
|
505
|
-
type LinkWalletParam = {
|
|
506
|
-
body: PaymentApplicationModel.WalletVerifyRequestSchema;
|
|
507
|
-
};
|
|
508
|
-
type OutstandingOrderDetailsParam = {
|
|
509
|
-
/**
|
|
510
|
-
* - Merchant user ID as value.
|
|
511
|
-
*/
|
|
512
|
-
aggregator?: string;
|
|
513
|
-
};
|
|
514
|
-
type PaidOrderDetailsParam = {
|
|
515
|
-
/**
|
|
516
|
-
* - Merchant user ID as value.
|
|
517
|
-
*/
|
|
518
|
-
aggregator?: string;
|
|
519
|
-
};
|
|
520
|
-
type PollingPaymentLinkParam = {
|
|
521
|
-
/**
|
|
522
|
-
* - Unique payment link id.
|
|
523
|
-
*/
|
|
524
|
-
paymentLinkId?: string;
|
|
525
|
-
};
|
|
526
|
-
type RedirectToAggregatorParam = {
|
|
527
|
-
/**
|
|
528
|
-
* - Callback URL to get callback from aggregator.
|
|
529
|
-
*/
|
|
530
|
-
source?: string;
|
|
531
|
-
/**
|
|
532
|
-
* - Aggregator name.
|
|
533
|
-
*/
|
|
534
|
-
aggregator?: string;
|
|
535
|
-
};
|
|
536
|
-
type RenderHTMLParam = {
|
|
537
|
-
body: PaymentApplicationModel.renderHTMLRequest;
|
|
538
|
-
};
|
|
539
|
-
type ResendOrCancelPaymentParam = {
|
|
540
|
-
body: PaymentApplicationModel.ResendOrCancelPaymentRequest;
|
|
541
|
-
};
|
|
542
|
-
type ResendPaymentLinkParam = {
|
|
543
|
-
body: PaymentApplicationModel.CancelOrResendPaymentLinkRequest;
|
|
544
|
-
};
|
|
545
|
-
type UpdateDefaultBeneficiaryParam = {
|
|
546
|
-
body: PaymentApplicationModel.SetDefaultBeneficiaryRequest;
|
|
547
|
-
};
|
|
548
|
-
type ValidateVPAParam = {
|
|
549
|
-
body: PaymentApplicationModel.ValidateVPARequest;
|
|
550
|
-
};
|
|
551
|
-
type VerifyAndChargePaymentParam = {
|
|
552
|
-
body: PaymentApplicationModel.ChargeCustomerRequest;
|
|
553
|
-
};
|
|
554
|
-
type VerifyCustomerForPaymentParam = {
|
|
555
|
-
body: PaymentApplicationModel.ValidateCustomerRequest;
|
|
556
|
-
};
|
|
557
|
-
type VerifyIfscCodeParam = {
|
|
558
|
-
/**
|
|
559
|
-
* - A 11-digit alphanumeric code that uniquely
|
|
560
|
-
* identifies a bank branch.
|
|
561
|
-
*/
|
|
562
|
-
ifscCode?: string;
|
|
563
|
-
};
|
|
564
|
-
type VerifyOtpAndAddBeneficiaryForBankParam = {
|
|
565
|
-
body: PaymentApplicationModel.AddBeneficiaryViaOtpVerificationRequest;
|
|
566
|
-
};
|
|
567
|
-
type VerifyOtpAndAddBeneficiaryForWalletParam = {
|
|
568
|
-
body: PaymentApplicationModel.WalletOtpRequest;
|
|
569
|
-
};
|
|
570
|
-
type WalletLinkInitiateParam = {
|
|
571
|
-
body: PaymentApplicationModel.WalletLinkRequestSchema;
|
|
572
|
-
};
|
|
573
|
-
type GetActiveRefundTransferModesParam = any;
|
|
574
|
-
type GetEpaylaterBannerDetailsParam = any;
|
|
575
|
-
type GetRupifiBannerDetailsParam = any;
|
|
576
|
-
import PaymentApplicationModel = require("./PaymentApplicationModel");
|