@gofynd/fdk-client-javascript 1.3.11-beta.6 → 1.3.11-beta.8

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.
Files changed (229) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/Cart/CartApplicationClient.d.ts +1 -1
  4. package/sdk/application/Cart/CartApplicationClient.js +5 -3
  5. package/sdk/application/Cart/CartApplicationModel.d.ts +107 -1
  6. package/sdk/application/Cart/CartApplicationModel.js +74 -0
  7. package/sdk/application/Cart/CartApplicationValidator.d.ts +4 -0
  8. package/sdk/application/Cart/CartApplicationValidator.js +4 -0
  9. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +3 -6
  10. package/sdk/application/Catalog/CatalogApplicationClient.js +7 -20
  11. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2 -2
  12. package/sdk/application/Catalog/CatalogApplicationModel.js +2 -2
  13. package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +0 -14
  14. package/sdk/application/Catalog/CatalogApplicationValidator.js +0 -6
  15. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +183 -49
  16. package/sdk/application/Configuration/ConfigurationApplicationModel.js +173 -31
  17. package/sdk/application/Content/ContentApplicationClient.d.ts +36 -0
  18. package/sdk/application/Content/ContentApplicationClient.js +246 -0
  19. package/sdk/application/Content/ContentApplicationModel.d.ts +208 -1
  20. package/sdk/application/Content/ContentApplicationModel.js +252 -0
  21. package/sdk/application/Content/ContentApplicationValidator.d.ts +40 -1
  22. package/sdk/application/Content/ContentApplicationValidator.js +41 -0
  23. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +67 -0
  24. package/sdk/application/Logistic/LogisticApplicationClient.js +547 -0
  25. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +456 -1
  26. package/sdk/application/Logistic/LogisticApplicationModel.js +488 -0
  27. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +211 -1
  28. package/sdk/application/Logistic/LogisticApplicationValidator.js +131 -0
  29. package/sdk/application/Order/OrderApplicationClient.d.ts +3 -3
  30. package/sdk/application/Order/OrderApplicationClient.js +32 -8
  31. package/sdk/application/Order/OrderApplicationModel.d.ts +6 -0
  32. package/sdk/application/Order/OrderApplicationModel.js +6 -0
  33. package/sdk/application/Order/OrderApplicationValidator.d.ts +20 -0
  34. package/sdk/application/Order/OrderApplicationValidator.js +8 -0
  35. package/sdk/application/Payment/PaymentApplicationClient.d.ts +46 -2
  36. package/sdk/application/Payment/PaymentApplicationClient.js +341 -10
  37. package/sdk/application/Payment/PaymentApplicationModel.d.ts +493 -186
  38. package/sdk/application/Payment/PaymentApplicationModel.js +341 -70
  39. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +59 -14
  40. package/sdk/application/Payment/PaymentApplicationValidator.js +64 -10
  41. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +34 -1
  42. package/sdk/application/PosCart/PosCartApplicationModel.js +24 -0
  43. package/sdk/application/Theme/ThemeApplicationClient.d.ts +1 -1
  44. package/sdk/application/Theme/ThemeApplicationClient.js +7 -3
  45. package/sdk/application/Theme/ThemeApplicationModel.d.ts +222 -36
  46. package/sdk/application/Theme/ThemeApplicationModel.js +322 -26
  47. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +10 -0
  48. package/sdk/application/Theme/ThemeApplicationValidator.js +4 -0
  49. package/sdk/application/User/UserApplicationClient.d.ts +33 -0
  50. package/sdk/application/User/UserApplicationClient.js +239 -0
  51. package/sdk/application/User/UserApplicationModel.d.ts +28 -13
  52. package/sdk/application/User/UserApplicationModel.js +36 -12
  53. package/sdk/application/User/UserApplicationValidator.d.ts +34 -1
  54. package/sdk/application/User/UserApplicationValidator.js +36 -0
  55. package/sdk/partner/Lead/LeadPartnerClient.d.ts +125 -0
  56. package/sdk/partner/Lead/LeadPartnerClient.js +785 -0
  57. package/sdk/partner/Lead/LeadPartnerModel.d.ts +1127 -0
  58. package/sdk/partner/Lead/LeadPartnerModel.js +896 -0
  59. package/sdk/partner/Lead/LeadPartnerValidator.d.ts +12 -0
  60. package/sdk/partner/Lead/LeadPartnerValidator.js +67 -0
  61. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +155 -0
  62. package/sdk/partner/Logistics/LogisticsPartnerClient.js +1195 -0
  63. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +372 -0
  64. package/sdk/partner/Logistics/LogisticsPartnerModel.js +442 -0
  65. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +16 -0
  66. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +123 -0
  67. package/sdk/partner/PartnerClient.d.ts +6 -0
  68. package/sdk/partner/PartnerClient.js +9 -0
  69. package/sdk/partner/Theme/ThemePartnerClient.d.ts +10 -0
  70. package/sdk/partner/Theme/ThemePartnerClient.js +80 -0
  71. package/sdk/partner/Theme/ThemePartnerModel.d.ts +100 -43
  72. package/sdk/partner/Theme/ThemePartnerModel.js +74 -30
  73. package/sdk/partner/Theme/ThemePartnerValidator.d.ts +1 -0
  74. package/sdk/partner/Theme/ThemePartnerValidator.js +9 -0
  75. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +99 -0
  76. package/sdk/partner/Webhook/WebhookPartnerClient.js +753 -0
  77. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +566 -0
  78. package/sdk/partner/Webhook/WebhookPartnerModel.js +583 -0
  79. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +12 -0
  80. package/sdk/partner/Webhook/WebhookPartnerValidator.js +74 -0
  81. package/sdk/partner/index.d.ts +3 -0
  82. package/sdk/partner/index.js +6 -0
  83. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +2 -2
  84. package/sdk/platform/Billing/BillingPlatformClient.d.ts +11 -1
  85. package/sdk/platform/Billing/BillingPlatformClient.js +110 -3
  86. package/sdk/platform/Billing/BillingPlatformModel.d.ts +67 -1
  87. package/sdk/platform/Billing/BillingPlatformModel.js +78 -0
  88. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +43 -4
  89. package/sdk/platform/Billing/BillingPlatformValidator.js +29 -2
  90. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +1 -1
  91. package/sdk/platform/Cart/CartPlatformApplicationClient.js +7 -1
  92. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +4 -0
  93. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +4 -0
  94. package/sdk/platform/Cart/CartPlatformModel.d.ts +100 -5
  95. package/sdk/platform/Cart/CartPlatformModel.js +71 -4
  96. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +15 -11
  97. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +52 -21
  98. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +27 -0
  99. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +11 -0
  100. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +26 -4
  101. package/sdk/platform/Catalog/CatalogPlatformClient.js +173 -7
  102. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +304 -1
  103. package/sdk/platform/Catalog/CatalogPlatformModel.js +335 -0
  104. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +31 -3
  105. package/sdk/platform/Catalog/CatalogPlatformValidator.js +27 -2
  106. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +138 -36
  107. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +739 -57
  108. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +128 -3
  109. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +111 -1
  110. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +150 -1
  111. package/sdk/platform/Communication/CommunicationPlatformModel.js +172 -0
  112. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +8 -2
  113. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +32 -4
  114. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +38 -9
  115. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +42 -8
  116. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +14 -0
  117. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +6 -0
  118. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +8 -8
  119. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +4 -4
  120. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +371 -132
  121. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +288 -77
  122. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +2 -2
  123. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +2 -2
  124. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +391 -0
  125. package/sdk/platform/Content/ContentPlatformApplicationClient.js +3630 -1059
  126. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +342 -1
  127. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +401 -0
  128. package/sdk/platform/Content/ContentPlatformClient.d.ts +277 -0
  129. package/sdk/platform/Content/ContentPlatformClient.js +2000 -0
  130. package/sdk/platform/Content/ContentPlatformModel.d.ts +1094 -1
  131. package/sdk/platform/Content/ContentPlatformModel.js +1356 -46
  132. package/sdk/platform/Content/ContentPlatformValidator.d.ts +238 -0
  133. package/sdk/platform/Content/ContentPlatformValidator.js +310 -0
  134. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +2 -2
  135. package/sdk/platform/Discount/DiscountPlatformClient.js +2 -2
  136. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +96 -13
  137. package/sdk/platform/Discount/DiscountPlatformModel.js +104 -12
  138. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +16 -6
  139. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +117 -8
  140. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +55 -4
  141. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +39 -2
  142. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +16 -5
  143. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +18 -4
  144. package/sdk/platform/Finance/FinancePlatformClient.d.ts +33 -0
  145. package/sdk/platform/Finance/FinancePlatformClient.js +240 -0
  146. package/sdk/platform/Finance/FinancePlatformModel.d.ts +151 -5
  147. package/sdk/platform/Finance/FinancePlatformModel.js +190 -4
  148. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +38 -1
  149. package/sdk/platform/Finance/FinancePlatformValidator.js +38 -0
  150. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +38 -28
  151. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +137 -56
  152. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +41 -29
  153. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +33 -21
  154. package/sdk/platform/Lead/LeadPlatformModel.d.ts +12 -3
  155. package/sdk/platform/Lead/LeadPlatformModel.js +16 -2
  156. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +23 -1
  157. package/sdk/platform/Order/OrderPlatformApplicationClient.js +178 -1
  158. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +39 -1
  159. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +32 -0
  160. package/sdk/platform/Order/OrderPlatformClient.d.ts +202 -31
  161. package/sdk/platform/Order/OrderPlatformClient.js +2010 -586
  162. package/sdk/platform/Order/OrderPlatformModel.d.ts +1030 -468
  163. package/sdk/platform/Order/OrderPlatformModel.js +1176 -523
  164. package/sdk/platform/Order/OrderPlatformValidator.d.ts +318 -35
  165. package/sdk/platform/Order/OrderPlatformValidator.js +292 -29
  166. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +119 -13
  167. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +749 -39
  168. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +143 -7
  169. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +133 -6
  170. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +1 -1
  171. package/sdk/platform/Payment/PaymentPlatformClient.js +1 -1
  172. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +996 -134
  173. package/sdk/platform/Payment/PaymentPlatformModel.js +721 -58
  174. package/sdk/platform/PlatformApplicationClient.d.ts +2 -2
  175. package/sdk/platform/PlatformApplicationClient.js +4 -4
  176. package/sdk/platform/PlatformClient.d.ts +4 -2
  177. package/sdk/platform/PlatformClient.js +8 -4
  178. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +142 -66
  179. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +645 -147
  180. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +131 -63
  181. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +126 -47
  182. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +217 -105
  183. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +1136 -347
  184. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +912 -313
  185. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1071 -355
  186. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +382 -133
  187. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +266 -102
  188. package/sdk/platform/Theme/ThemePlatformClient.d.ts +11 -1
  189. package/sdk/platform/Theme/ThemePlatformClient.js +87 -3
  190. package/sdk/platform/Theme/ThemePlatformModel.d.ts +333 -47
  191. package/sdk/platform/Theme/ThemePlatformModel.js +395 -35
  192. package/sdk/platform/Theme/ThemePlatformValidator.d.ts +28 -4
  193. package/sdk/platform/Theme/ThemePlatformValidator.js +21 -2
  194. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +116 -1
  195. package/sdk/platform/User/UserPlatformApplicationClient.js +931 -85
  196. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +224 -7
  197. package/sdk/platform/User/UserPlatformApplicationValidator.js +173 -5
  198. package/sdk/platform/User/UserPlatformModel.d.ts +344 -7
  199. package/sdk/platform/User/UserPlatformModel.js +256 -5
  200. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +47 -39
  201. package/sdk/platform/Webhook/WebhookPlatformClient.js +63 -61
  202. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +264 -156
  203. package/sdk/platform/Webhook/WebhookPlatformModel.js +276 -153
  204. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +7 -10
  205. package/sdk/platform/Webhook/WebhookPlatformValidator.js +6 -6
  206. package/sdk/platform/index.d.ts +1 -1
  207. package/sdk/platform/index.js +2 -2
  208. package/sdk/public/Billing/BillingPublicClient.d.ts +23 -0
  209. package/sdk/public/Billing/BillingPublicClient.js +116 -0
  210. package/sdk/public/Billing/BillingPublicModel.d.ts +92 -0
  211. package/sdk/public/Billing/BillingPublicModel.js +96 -0
  212. package/sdk/public/Billing/BillingPublicValidator.d.ts +18 -0
  213. package/sdk/public/Billing/BillingPublicValidator.js +19 -0
  214. package/sdk/public/Content/ContentPublicClient.d.ts +22 -0
  215. package/sdk/public/Content/ContentPublicClient.js +114 -0
  216. package/sdk/public/Content/ContentPublicModel.d.ts +53 -0
  217. package/sdk/public/Content/ContentPublicModel.js +60 -0
  218. package/sdk/public/Content/ContentPublicValidator.d.ts +18 -0
  219. package/sdk/public/Content/ContentPublicValidator.js +19 -0
  220. package/sdk/public/PublicClient.d.ts +4 -0
  221. package/sdk/public/PublicClient.js +8 -0
  222. package/sdk/public/Webhook/WebhookPublicClient.d.ts +33 -0
  223. package/sdk/public/Webhook/WebhookPublicClient.js +242 -0
  224. package/sdk/public/Webhook/WebhookPublicModel.d.ts +147 -1
  225. package/sdk/public/Webhook/WebhookPublicModel.js +177 -1
  226. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +23 -1
  227. package/sdk/public/Webhook/WebhookPublicValidator.js +31 -0
  228. package/sdk/public/index.d.ts +2 -0
  229. package/sdk/public/index.js +4 -0
@@ -1,7 +1,7 @@
1
1
  export = PaymentApplicationModel;
2
2
  /**
3
3
  * @typedef ActiveCardPaymentGatewayResponse
4
- * @property {CardPaymentGateway} cards - Card's payment gateway with customer id.
4
+ * @property {CardPaymentGateway} cards
5
5
  * @property {string} message - Human readable message.
6
6
  * @property {boolean} success - Response is successful or not.
7
7
  */
@@ -14,7 +14,7 @@ export = PaymentApplicationModel;
14
14
  * @typedef AddBeneficiaryDetailsRequest
15
15
  * @property {boolean} delights - True if beneficiary to be added by delights or
16
16
  * False if by User
17
- * @property {BeneficiaryModeDetails} details - Beneficiary bank details
17
+ * @property {BeneficiaryModeDetails} details
18
18
  * @property {string} order_id - Merchant Order Id
19
19
  * @property {string} [otp]
20
20
  * @property {string} [request_id]
@@ -32,6 +32,31 @@ export = PaymentApplicationModel;
32
32
  * @property {string} message - Aggregator Response of beneficicary
33
33
  * @property {boolean} [success] - Response is successful or not
34
34
  */
35
+ /**
36
+ * @typedef AdvanceObject
37
+ * @property {string[]} [all_prepayment_type] - All available types of prepayment
38
+ * @property {boolean} [allow_custom_advance_amount] - Is custom advance amount allowed?
39
+ * @property {number} [amount] - Amount for Payment Breakdown
40
+ * @property {string} [cancellation_type] - Type of cancellation
41
+ * @property {string} [description] - The description for Advance Payment (user
42
+ * configured)
43
+ * @property {string} [display_name] - The display name for Advance payment
44
+ * @property {boolean} [is_active] - Is Advance Payment active
45
+ * @property {string} [prepayment_type] - Type of prepayment value
46
+ * @property {number} [prepayment_value] - Value for prepayment in advance payment
47
+ * @property {number} [refund_time_limit] - Time limit for processing refund
48
+ * @property {string} [time_unit] - Time unit for refunds
49
+ */
50
+ /**
51
+ * @typedef AdvancePaymentObject
52
+ * @property {AdvanceObject} [advance]
53
+ * @property {string} [display_name] - Display name for Advance Payment Mode
54
+ * @property {number} [display_priority] - Display Priority for Payment Option
55
+ * @property {PaymentModeList[]} [list] - Payment mode
56
+ * @property {string} [name] - Name of Advance Payment Mode
57
+ * @property {number} [payment_mode_id] - Payment Mode ID for Advance Payment Option
58
+ * @property {SplitObject} [split]
59
+ */
35
60
  /**
36
61
  * @typedef AggregatorConfigDetail
37
62
  * @property {string} [api] - Payment gateway api endpoint
@@ -108,7 +133,7 @@ export = PaymentApplicationModel;
108
133
  */
109
134
  /**
110
135
  * @typedef BusinessDetails
111
- * @property {KYCAddress} [address] - Address details
136
+ * @property {KYCAddress} [address]
112
137
  * @property {string} [business_ownership_type] - Business Ownershipp type(e.g Rented)
113
138
  * @property {string} [business_type] - Business Type
114
139
  * @property {string} [entity_type] - Busineess Entity Type
@@ -172,7 +197,7 @@ export = PaymentApplicationModel;
172
197
  */
173
198
  /**
174
199
  * @typedef CardDetailsResponse
175
- * @property {CardDetails} data - Saved Card Details
200
+ * @property {CardDetails} data
176
201
  * @property {boolean} success - Response is successful or not.
177
202
  */
178
203
  /**
@@ -201,7 +226,7 @@ export = PaymentApplicationModel;
201
226
  */
202
227
  /**
203
228
  * @typedef CheckCreditResponse
204
- * @property {CreditDetail} data - Credit summary of user.
229
+ * @property {CreditDetail} data
205
230
  * @property {boolean} success - Operation is successful or not.
206
231
  */
207
232
  /**
@@ -219,7 +244,7 @@ export = PaymentApplicationModel;
219
244
  */
220
245
  /**
221
246
  * @typedef CreateOrderUserPaymentMethods
222
- * @property {PaymentMethodsMeta} meta - Meta
247
+ * @property {PaymentMethodsMeta} meta
223
248
  * @property {string} mode - Payment mode
224
249
  * @property {string} name - Payment mode name
225
250
  */
@@ -229,7 +254,7 @@ export = PaymentApplicationModel;
229
254
  * @property {string} failure_callback_url - Failure page url
230
255
  * @property {Object} [meta] - Meta
231
256
  * @property {string} payment_link_id - Unique id of payment link
232
- * @property {CreateOrderUserPaymentMethods} payment_methods - Payment method details
257
+ * @property {CreateOrderUserPaymentMethods} payment_methods
233
258
  * @property {string} success_callback_url - Success page url
234
259
  */
235
260
  /**
@@ -248,7 +273,6 @@ export = PaymentApplicationModel;
248
273
  * @property {string} [assign_card_id]
249
274
  * @property {string} cart_id
250
275
  * @property {string} checkout_mode
251
- * @property {string} pincode
252
276
  */
253
277
  /**
254
278
  * @typedef CreatePaymentLinkRequest
@@ -256,7 +280,7 @@ export = PaymentApplicationModel;
256
280
  * @property {string} [description] - Merchant order id
257
281
  * @property {string} email - Email to which the payment link is to be sent
258
282
  * @property {string} external_order_id - Merchant order id
259
- * @property {CreatePaymentLinkMeta} meta - Meta
283
+ * @property {CreatePaymentLinkMeta} meta
260
284
  * @property {string} mobile_number - Mobile number to which the payment link is
261
285
  * to be sent
262
286
  */
@@ -277,32 +301,40 @@ export = PaymentApplicationModel;
277
301
  */
278
302
  /**
279
303
  * @typedef CreditSummary
280
- * @property {BalanceDetails} [amount_available] - Credit summary of user.
281
- * @property {BalanceDetails} [balance] - Credit summary of user.
304
+ * @property {string} [activation_url] - Url for activation
305
+ * @property {BalanceDetails} [amount_available]
306
+ * @property {BalanceDetails} [balance]
282
307
  * @property {string} [buyer_status] - Status from Credit aggregator's end
283
308
  * @property {string} [credit_line_id] - ID at Credit aggregator's end
309
+ * @property {BalanceDetails} [due_amount]
310
+ * @property {string} [due_date] - Due date for repayment
311
+ * @property {boolean} [is_eligible_for_txn] - Eligiblity flag to complete transaction
312
+ * @property {BalanceDetails} [limit]
284
313
  * @property {string} [merchant_customer_ref_id] - Unique aggregator customer id
314
+ * @property {string} [repayment_url] - Url for repayment
315
+ * @property {string} [soa_url] - Statement of accounts. Show payment history.
285
316
  * @property {string} [status] - Customer Credit status
286
317
  * @property {string} [status_message] - Message to customer
318
+ * @property {BalanceDetails} [total_due_amount]
287
319
  */
288
320
  /**
289
321
  * @typedef CustomerCreditSummaryResponse
290
- * @property {CreditSummary} [data] - Credit summary of user.
322
+ * @property {CreditSummary} [data]
291
323
  * @property {boolean} success - Payment confirmation updated or not.
292
324
  */
293
325
  /**
294
326
  * @typedef CustomerOnboardingRequest
295
327
  * @property {string} aggregator - Aggregator Name
296
- * @property {BusinessDetails} [business_info] - Business summary.
297
- * @property {DeviceDetails} [device] - Device Details.
298
- * @property {MarketplaceInfo} [marketplace_info] - Market Place info.
328
+ * @property {BusinessDetails} [business_info]
329
+ * @property {DeviceDetails} [device]
330
+ * @property {MarketplaceInfo} [marketplace_info]
299
331
  * @property {string} [mcc] - Mcc
300
- * @property {UserPersonalInfoInDetails} personal_info - Credit summary of user.
332
+ * @property {UserPersonalInfoInDetails} [personal_info]
301
333
  * @property {string} source - CallbackURL
302
334
  */
303
335
  /**
304
336
  * @typedef CustomerOnboardingResponse
305
- * @property {OnboardSummary} data - Redirect URL.
337
+ * @property {OnboardSummary} data
306
338
  * @property {boolean} success - Status updated or not.
307
339
  */
308
340
  /**
@@ -332,7 +364,7 @@ export = PaymentApplicationModel;
332
364
  */
333
365
  /**
334
366
  * @typedef EpaylaterBannerResponse
335
- * @property {EpaylaterBannerData} data - Epaylater KYC banner details.
367
+ * @property {EpaylaterBannerData} data
336
368
  * @property {boolean} success - Successful or not.
337
369
  */
338
370
  /**
@@ -359,7 +391,7 @@ export = PaymentApplicationModel;
359
391
  */
360
392
  /**
361
393
  * @typedef ErrorResponse
362
- * @property {Object} [error]
394
+ * @property {ErrorDescription} [error]
363
395
  * @property {string} message - Message
364
396
  * @property {number} status_code - HTTP status code
365
397
  * @property {boolean} success - Successful or failure
@@ -391,7 +423,7 @@ export = PaymentApplicationModel;
391
423
  * @typedef IntentApp
392
424
  * @property {string} [code] - Code
393
425
  * @property {string} [display_name] - Display_name
394
- * @property {Object} [logos] - Logos
426
+ * @property {PaymentModeLogo} [logos]
395
427
  * @property {string} [package_name] - Package_name
396
428
  */
397
429
  /**
@@ -434,9 +466,13 @@ export = PaymentApplicationModel;
434
466
  */
435
467
  /**
436
468
  * @typedef OnboardSummary
437
- * @property {string} redirect_url - URL to which the user may redirect.
438
- * @property {Object} session - User Session
439
- * @property {boolean} status - Operation Status
469
+ * @property {string} [activation_url] - Url for activation
470
+ * @property {boolean} [is_eligible_for_txn] - Whether is eligible for transaction
471
+ * @property {string} [merchant_customer_ref_id] - Rupifi customer ID
472
+ * @property {string} [redirect_url] - URL to which the user may redirect.
473
+ * @property {Object} [session] - User Session
474
+ * @property {boolean} status - Transaction status
475
+ * @property {string} [status_remark] - Decription of status
440
476
  */
441
477
  /**
442
478
  * @typedef OrderBeneficiaryDetails
@@ -481,20 +517,20 @@ export = PaymentApplicationModel;
481
517
  */
482
518
  /**
483
519
  * @typedef PaymentFlow
484
- * @property {Object} [ajiodhan] - Ajiodhan
485
- * @property {Object} [bqr_razorpay] - BQR_Razorpay
486
- * @property {Object} [ccavenue] - Ccavenue
487
- * @property {Object} [epaylater] - Epaylater
488
- * @property {Object} [fynd] - Fynd
489
- * @property {Object} [jiopay] - Jiopay
490
- * @property {Object} [juspay] - Juspay
491
- * @property {Object} [mswipe] - Mswipe
492
- * @property {Object} [payubiz] - Payubiz
493
- * @property {Object} [razorpay] - Razorpay
494
- * @property {Object} [rupifi] - Rupifi
495
- * @property {Object} [simpl] - Simpl
496
- * @property {Object} [stripe] - Stripe
497
- * @property {Object} [upi_razorpay] - UPI_Razorpay
520
+ * @property {AggregatorRoute} [ajiodhan]
521
+ * @property {AggregatorRoute} [bqr_razorpay]
522
+ * @property {AggregatorRoute} [ccavenue]
523
+ * @property {AggregatorRoute} [epaylater]
524
+ * @property {AggregatorRoute} [fynd]
525
+ * @property {AggregatorRoute} [jiopay]
526
+ * @property {AggregatorRoute} [juspay]
527
+ * @property {AggregatorRoute} [mswipe]
528
+ * @property {AggregatorRoute} [payubiz]
529
+ * @property {AggregatorRoute} [razorpay]
530
+ * @property {AggregatorRoute} [rupifi]
531
+ * @property {AggregatorRoute} [simpl]
532
+ * @property {AggregatorRoute} [stripe]
533
+ * @property {AggregatorRoute} [upi_razorpay]
498
534
  */
499
535
  /**
500
536
  * @typedef PaymentInitializationRequest
@@ -538,6 +574,12 @@ export = PaymentApplicationModel;
538
574
  * @property {string} payment_gateway - Payment gateway name
539
575
  * @property {string} payment_identifier - Payment identifier
540
576
  */
577
+ /**
578
+ * @typedef PaymentMethodsMetaOrder
579
+ * @property {string} merchant_code - Merchant code
580
+ * @property {string} payment_gateway - Payment gateway name
581
+ * @property {string} payment_identifier - Payment identifier
582
+ */
541
583
  /**
542
584
  * @typedef PaymentModeList
543
585
  * @property {string} aggregator_name - Aggregator_name
@@ -568,8 +610,9 @@ export = PaymentApplicationModel;
568
610
  * Intent_app_error_dict_list
569
611
  * @property {string[]} [intent_app_error_list] - Intent_app_error_list
570
612
  * @property {boolean} [intent_flow] - Intent_flow
571
- * @property {Object} [logo_url] - Logo
613
+ * @property {PaymentModeLogo} [logo_url]
572
614
  * @property {string} [merchant_code] - Merchant code
615
+ * @property {Object} [meta] - Payment methods meta
573
616
  * @property {string} [name] - Name
574
617
  * @property {string} [nickname] - Nickname
575
618
  * @property {number} [remaining_limit] - Remaining limit
@@ -583,13 +626,52 @@ export = PaymentApplicationModel;
583
626
  */
584
627
  /**
585
628
  * @typedef PaymentModeRouteResponse
586
- * @property {PaymentOptionAndFlow} payment_options - Payment_options
629
+ * @property {AdvancePaymentObject[]} [advance_payment] - Advance Payment Array
630
+ * @property {Object} [payment_breakup] - Payment Breakup for advance payment
631
+ * @property {PaymentOptionAndFlow} payment_options
587
632
  * @property {boolean} success - Response is successful or not
588
633
  */
589
634
  /**
590
635
  * @typedef PaymentOptionAndFlow
591
- * @property {PaymentFlow} payment_flows - Payment_flows
592
- * @property {RootPaymentMode[]} payment_option - Payment options
636
+ * @property {PaymentFlow} payment_flows
637
+ * @property {RootPaymentMode} payment_option
638
+ */
639
+ /**
640
+ * @typedef PaymentOrderData
641
+ * @property {string} [aggregator] - Aggregator name
642
+ * @property {number} [amount] - Amount
643
+ * @property {string} [callback_url] - Callback url for aggregator
644
+ * @property {string} [contact] - Mobile number
645
+ * @property {string} [currency] - Currency
646
+ * @property {string} [customer_id] - Aggregator customer id
647
+ * @property {string} [email] - Email
648
+ * @property {string} [merchant_order_id] - Merchant order id
649
+ * @property {string} [method] - Method
650
+ * @property {string} [order_id] - Aggregator order id
651
+ */
652
+ /**
653
+ * @typedef PaymentOrderMethods
654
+ * @property {number} amount - Amount to be collected
655
+ * @property {PaymentMethodsMetaOrder} meta
656
+ * @property {string} mode - Payment mode
657
+ * @property {string} name - Payment mode name
658
+ * @property {string} [payment] - Payment type i.e. Required / Blocked
659
+ */
660
+ /**
661
+ * @typedef PaymentOrderRequest
662
+ * @property {string} order_id - Order id
663
+ * @property {PaymentOrderMethods[]} [payment_methods]
664
+ * @property {string} [shipment_id] - Shipment_id
665
+ */
666
+ /**
667
+ * @typedef PaymentOrderResponse
668
+ * @property {string} [callback_url] - Callback url for aggregator
669
+ * @property {PaymentOrderData} [data]
670
+ * @property {string} message - Message
671
+ * @property {string} [order_id] - Merchant order id
672
+ * @property {string} [payment_confirm_url] - Payment confirm url for aggregator
673
+ * @property {number} status_code - HTTP status code
674
+ * @property {boolean} success - Successful or failure
593
675
  */
594
676
  /**
595
677
  * @typedef PaymentStatusUpdateRequest
@@ -630,7 +712,7 @@ export = PaymentApplicationModel;
630
712
  */
631
713
  /**
632
714
  * @typedef RedirectToAggregatorResponse
633
- * @property {RedirectURL} data - Redirect URL.
715
+ * @property {RedirectURL} data
634
716
  * @property {boolean} success - Status updated or not.
635
717
  */
636
718
  /**
@@ -662,7 +744,7 @@ export = PaymentApplicationModel;
662
744
  */
663
745
  /**
664
746
  * @typedef ResendOrCancelPaymentResponse
665
- * @property {LinkStatus} data - Data about link action status.
747
+ * @property {LinkStatus} data
666
748
  * @property {boolean} success - Response is successful or not.
667
749
  */
668
750
  /**
@@ -692,7 +774,7 @@ export = PaymentApplicationModel;
692
774
  */
693
775
  /**
694
776
  * @typedef RupifiBannerResponse
695
- * @property {RupifiBannerData} data - Rupifi KYC banner details.
777
+ * @property {RupifiBannerData} data
696
778
  * @property {boolean} success - Successful or not.
697
779
  */
698
780
  /**
@@ -705,6 +787,12 @@ export = PaymentApplicationModel;
705
787
  * @property {boolean} is_beneficiary_set - Boolean Flag whether Beneficiary set or not
706
788
  * @property {boolean} [success] - Response is successful or not
707
789
  */
790
+ /**
791
+ * @typedef SplitObject
792
+ * @property {number} [amount_remaining] - Amount pending to be paid
793
+ * @property {number} [splits_remaining] - Number of splits remaining
794
+ * @property {number} [total_number_of_splits] - Maximum amount of splits allowed
795
+ */
708
796
  /**
709
797
  * @typedef TransferItemsDetails
710
798
  * @property {string} [display_name] - Beneficiary Display Name
@@ -733,7 +821,7 @@ export = PaymentApplicationModel;
733
821
  */
734
822
  /**
735
823
  * @typedef UserPersonalInfoInDetails
736
- * @property {KYCAddress} address_as_per_id - Address details
824
+ * @property {KYCAddress} address_as_per_id
737
825
  * @property {string} dob - DOB
738
826
  * @property {string} [driving_license] - Driver License
739
827
  * @property {string} [email] - Email
@@ -780,9 +868,20 @@ export = PaymentApplicationModel;
780
868
  */
781
869
  /**
782
870
  * @typedef ValidateVPAResponse
783
- * @property {ValidateUPI} data - Data about UPI ID validate.
871
+ * @property {ValidateUPI} data
784
872
  * @property {boolean} success - Response is successful or not.
785
873
  */
874
+ /**
875
+ * @typedef WalletDelinkRequestSchema
876
+ * @property {string} aggregator - Aggregator Name
877
+ * @property {string} wallet_code - Wallet Code
878
+ */
879
+ /**
880
+ * @typedef WalletLinkRequestSchema
881
+ * @property {string} aggregator - Aggregator Name
882
+ * @property {string} mobile - Mobile Number for Wallet
883
+ * @property {string} wallet_code - Wallet Code
884
+ */
786
885
  /**
787
886
  * @typedef WalletOtpRequest
788
887
  * @property {string} country_code - Country Code of the Mobile Number
@@ -795,6 +894,17 @@ export = PaymentApplicationModel;
795
894
  * @property {string} request_id - Request id
796
895
  * @property {boolean} [success] - Response is successful or not
797
896
  */
897
+ /**
898
+ * @typedef WalletResponseSchema
899
+ * @property {Object} data - Response received from aggregator
900
+ * @property {boolean} success - Success/Failure of the API call
901
+ */
902
+ /**
903
+ * @typedef WalletVerifyRequestSchema
904
+ * @property {string} aggregator - Aggregator Name
905
+ * @property {string} link_token - Token for wallet linking
906
+ * @property {number} otp - OTP received for wallet linking
907
+ */
798
908
  /**
799
909
  * @typedef WrongOtpError
800
910
  * @property {string} description - Wrong OTP Code
@@ -804,14 +914,11 @@ export = PaymentApplicationModel;
804
914
  declare class PaymentApplicationModel {
805
915
  }
806
916
  declare namespace PaymentApplicationModel {
807
- export { ActiveCardPaymentGatewayResponse, AddBeneficiaryDetailsOTPRequest, AddBeneficiaryDetailsRequest, AddBeneficiaryViaOtpVerificationRequest, AddBeneficiaryViaOtpVerificationResponse, AggregatorConfigDetail, AggregatorRoute, AggregatorsConfigDetailResponse, AttachCardRequest, AttachCardsResponse, BalanceDetails, BankDetailsForOTP, BeneficiaryModeDetails, BusinessDetails, CancelOrResendPaymentLinkRequest, CancelPaymentLinkResponse, Card, CardDetails, CardDetailsResponse, CardPaymentGateway, ChargeCustomerRequest, ChargeCustomerResponse, CheckCreditResponse, CreateOrderUserData, CreateOrderUserPaymentMethods, CreateOrderUserRequest, CreateOrderUserResponse, CreatePaymentLinkMeta, CreatePaymentLinkRequest, CreatePaymentLinkResponse, CreditDetail, CreditSummary, CustomerCreditSummaryResponse, CustomerOnboardingRequest, CustomerOnboardingResponse, DeleteCardsResponse, DeletehCardRequest, DeviceDetails, EpaylaterBannerData, EpaylaterBannerResponse, ErrorCodeAndDescription, ErrorCodeDescription, ErrorDescription, ErrorResponse, GetPaymentLinkResponse, HttpErrorCodeAndResponse, IfscCodeResponse, IntentApp, IntentAppErrorList, KYCAddress, LinkStatus, ListCardsResponse, MarketplaceInfo, NotFoundResourceError, OnboardSummary, OrderBeneficiaryDetails, OrderBeneficiaryResponse, OutstandingOrderDetailsResponse, PaidOrderDetailsResponse, PaymentFlow, PaymentInitializationRequest, PaymentInitializationResponse, PaymentMethodsMeta, PaymentModeList, PaymentModeLogo, PaymentModeRouteResponse, PaymentOptionAndFlow, PaymentStatusUpdateRequest, PaymentStatusUpdateResponse, PollingPaymentLinkResponse, RedirectToAggregatorResponse, RedirectURL, RefundAccountResponse, renderHTMLRequest, renderHTMLResponse, ResendOrCancelPaymentRequest, ResendOrCancelPaymentResponse, ResendPaymentLinkResponse, RootPaymentMode, RupifiBannerData, RupifiBannerResponse, SetDefaultBeneficiaryRequest, SetDefaultBeneficiaryResponse, TransferItemsDetails, TransferModeDetails, TransferModeResponse, UpdateRefundTransferModeRequest, UpdateRefundTransferModeResponse, UserPersonalInfoInDetails, ValidateCustomerRequest, ValidateCustomerResponse, ValidateUPI, ValidateVPARequest, ValidateVPAResponse, WalletOtpRequest, WalletOtpResponse, WrongOtpError };
917
+ export { ActiveCardPaymentGatewayResponse, AddBeneficiaryDetailsOTPRequest, AddBeneficiaryDetailsRequest, AddBeneficiaryViaOtpVerificationRequest, AddBeneficiaryViaOtpVerificationResponse, AdvanceObject, AdvancePaymentObject, AggregatorConfigDetail, AggregatorRoute, AggregatorsConfigDetailResponse, AttachCardRequest, AttachCardsResponse, BalanceDetails, BankDetailsForOTP, BeneficiaryModeDetails, BusinessDetails, CancelOrResendPaymentLinkRequest, CancelPaymentLinkResponse, Card, CardDetails, CardDetailsResponse, CardPaymentGateway, ChargeCustomerRequest, ChargeCustomerResponse, CheckCreditResponse, CreateOrderUserData, CreateOrderUserPaymentMethods, CreateOrderUserRequest, CreateOrderUserResponse, CreatePaymentLinkMeta, CreatePaymentLinkRequest, CreatePaymentLinkResponse, CreditDetail, CreditSummary, CustomerCreditSummaryResponse, CustomerOnboardingRequest, CustomerOnboardingResponse, DeleteCardsResponse, DeletehCardRequest, DeviceDetails, EpaylaterBannerData, EpaylaterBannerResponse, ErrorCodeAndDescription, ErrorCodeDescription, ErrorDescription, ErrorResponse, GetPaymentLinkResponse, HttpErrorCodeAndResponse, IfscCodeResponse, IntentApp, IntentAppErrorList, KYCAddress, LinkStatus, ListCardsResponse, MarketplaceInfo, NotFoundResourceError, OnboardSummary, OrderBeneficiaryDetails, OrderBeneficiaryResponse, OutstandingOrderDetailsResponse, PaidOrderDetailsResponse, PaymentFlow, PaymentInitializationRequest, PaymentInitializationResponse, PaymentMethodsMeta, PaymentMethodsMetaOrder, PaymentModeList, PaymentModeLogo, PaymentModeRouteResponse, PaymentOptionAndFlow, PaymentOrderData, PaymentOrderMethods, PaymentOrderRequest, PaymentOrderResponse, PaymentStatusUpdateRequest, PaymentStatusUpdateResponse, PollingPaymentLinkResponse, RedirectToAggregatorResponse, RedirectURL, RefundAccountResponse, renderHTMLRequest, renderHTMLResponse, ResendOrCancelPaymentRequest, ResendOrCancelPaymentResponse, ResendPaymentLinkResponse, RootPaymentMode, RupifiBannerData, RupifiBannerResponse, SetDefaultBeneficiaryRequest, SetDefaultBeneficiaryResponse, SplitObject, TransferItemsDetails, TransferModeDetails, TransferModeResponse, UpdateRefundTransferModeRequest, UpdateRefundTransferModeResponse, UserPersonalInfoInDetails, ValidateCustomerRequest, ValidateCustomerResponse, ValidateUPI, ValidateVPARequest, ValidateVPAResponse, WalletDelinkRequestSchema, WalletLinkRequestSchema, WalletOtpRequest, WalletOtpResponse, WalletResponseSchema, WalletVerifyRequestSchema, WrongOtpError };
808
918
  }
809
919
  /** @returns {ActiveCardPaymentGatewayResponse} */
810
920
  declare function ActiveCardPaymentGatewayResponse(): ActiveCardPaymentGatewayResponse;
811
921
  type ActiveCardPaymentGatewayResponse = {
812
- /**
813
- * - Card's payment gateway with customer id.
814
- */
815
922
  cards: CardPaymentGateway;
816
923
  /**
817
924
  * - Human readable message.
@@ -836,9 +943,6 @@ type AddBeneficiaryDetailsRequest = {
836
943
  * False if by User
837
944
  */
838
945
  delights: boolean;
839
- /**
840
- * - Beneficiary bank details
841
- */
842
946
  details: BeneficiaryModeDetails;
843
947
  /**
844
948
  * - Merchant Order Id
@@ -883,6 +987,81 @@ type AddBeneficiaryViaOtpVerificationResponse = {
883
987
  */
884
988
  success?: boolean;
885
989
  };
990
+ /** @returns {AdvanceObject} */
991
+ declare function AdvanceObject(): AdvanceObject;
992
+ type AdvanceObject = {
993
+ /**
994
+ * - All available types of prepayment
995
+ */
996
+ all_prepayment_type?: string[];
997
+ /**
998
+ * - Is custom advance amount allowed?
999
+ */
1000
+ allow_custom_advance_amount?: boolean;
1001
+ /**
1002
+ * - Amount for Payment Breakdown
1003
+ */
1004
+ amount?: number;
1005
+ /**
1006
+ * - Type of cancellation
1007
+ */
1008
+ cancellation_type?: string;
1009
+ /**
1010
+ * - The description for Advance Payment (user
1011
+ * configured)
1012
+ */
1013
+ description?: string;
1014
+ /**
1015
+ * - The display name for Advance payment
1016
+ */
1017
+ display_name?: string;
1018
+ /**
1019
+ * - Is Advance Payment active
1020
+ */
1021
+ is_active?: boolean;
1022
+ /**
1023
+ * - Type of prepayment value
1024
+ */
1025
+ prepayment_type?: string;
1026
+ /**
1027
+ * - Value for prepayment in advance payment
1028
+ */
1029
+ prepayment_value?: number;
1030
+ /**
1031
+ * - Time limit for processing refund
1032
+ */
1033
+ refund_time_limit?: number;
1034
+ /**
1035
+ * - Time unit for refunds
1036
+ */
1037
+ time_unit?: string;
1038
+ };
1039
+ /** @returns {AdvancePaymentObject} */
1040
+ declare function AdvancePaymentObject(): AdvancePaymentObject;
1041
+ type AdvancePaymentObject = {
1042
+ advance?: AdvanceObject;
1043
+ /**
1044
+ * - Display name for Advance Payment Mode
1045
+ */
1046
+ display_name?: string;
1047
+ /**
1048
+ * - Display Priority for Payment Option
1049
+ */
1050
+ display_priority?: number;
1051
+ /**
1052
+ * - Payment mode
1053
+ */
1054
+ list?: PaymentModeList[];
1055
+ /**
1056
+ * - Name of Advance Payment Mode
1057
+ */
1058
+ name?: string;
1059
+ /**
1060
+ * - Payment Mode ID for Advance Payment Option
1061
+ */
1062
+ payment_mode_id?: number;
1063
+ split?: SplitObject;
1064
+ };
886
1065
  /** @returns {AggregatorConfigDetail} */
887
1066
  declare function AggregatorConfigDetail(): AggregatorConfigDetail;
888
1067
  type AggregatorConfigDetail = {
@@ -1064,9 +1243,6 @@ type BeneficiaryModeDetails = {
1064
1243
  /** @returns {BusinessDetails} */
1065
1244
  declare function BusinessDetails(): BusinessDetails;
1066
1245
  type BusinessDetails = {
1067
- /**
1068
- * - Address details
1069
- */
1070
1246
  address?: KYCAddress;
1071
1247
  /**
1072
1248
  * - Business Ownershipp type(e.g Rented)
@@ -1277,9 +1453,6 @@ type CardDetails = {
1277
1453
  /** @returns {CardDetailsResponse} */
1278
1454
  declare function CardDetailsResponse(): CardDetailsResponse;
1279
1455
  type CardDetailsResponse = {
1280
- /**
1281
- * - Saved Card Details
1282
- */
1283
1456
  data: CardDetails;
1284
1457
  /**
1285
1458
  * - Response is successful or not.
@@ -1361,9 +1534,6 @@ type ChargeCustomerResponse = {
1361
1534
  /** @returns {CheckCreditResponse} */
1362
1535
  declare function CheckCreditResponse(): CheckCreditResponse;
1363
1536
  type CheckCreditResponse = {
1364
- /**
1365
- * - Credit summary of user.
1366
- */
1367
1537
  data: CreditDetail;
1368
1538
  /**
1369
1539
  * - Operation is successful or not.
@@ -1417,9 +1587,6 @@ type CreateOrderUserData = {
1417
1587
  /** @returns {CreateOrderUserPaymentMethods} */
1418
1588
  declare function CreateOrderUserPaymentMethods(): CreateOrderUserPaymentMethods;
1419
1589
  type CreateOrderUserPaymentMethods = {
1420
- /**
1421
- * - Meta
1422
- */
1423
1590
  meta: PaymentMethodsMeta;
1424
1591
  /**
1425
1592
  * - Payment mode
@@ -1449,9 +1616,6 @@ type CreateOrderUserRequest = {
1449
1616
  * - Unique id of payment link
1450
1617
  */
1451
1618
  payment_link_id: string;
1452
- /**
1453
- * - Payment method details
1454
- */
1455
1619
  payment_methods: CreateOrderUserPaymentMethods;
1456
1620
  /**
1457
1621
  * - Success page url
@@ -1494,7 +1658,6 @@ type CreatePaymentLinkMeta = {
1494
1658
  assign_card_id?: string;
1495
1659
  cart_id: string;
1496
1660
  checkout_mode: string;
1497
- pincode: string;
1498
1661
  };
1499
1662
  /** @returns {CreatePaymentLinkRequest} */
1500
1663
  declare function CreatePaymentLinkRequest(): CreatePaymentLinkRequest;
@@ -1515,9 +1678,6 @@ type CreatePaymentLinkRequest = {
1515
1678
  * - Merchant order id
1516
1679
  */
1517
1680
  external_order_id: string;
1518
- /**
1519
- * - Meta
1520
- */
1521
1681
  meta: CreatePaymentLinkMeta;
1522
1682
  /**
1523
1683
  * - Mobile number to which the payment link is
@@ -1573,12 +1733,10 @@ type CreditDetail = {
1573
1733
  declare function CreditSummary(): CreditSummary;
1574
1734
  type CreditSummary = {
1575
1735
  /**
1576
- * - Credit summary of user.
1736
+ * - Url for activation
1577
1737
  */
1738
+ activation_url?: string;
1578
1739
  amount_available?: BalanceDetails;
1579
- /**
1580
- * - Credit summary of user.
1581
- */
1582
1740
  balance?: BalanceDetails;
1583
1741
  /**
1584
1742
  * - Status from Credit aggregator's end
@@ -1588,10 +1746,28 @@ type CreditSummary = {
1588
1746
  * - ID at Credit aggregator's end
1589
1747
  */
1590
1748
  credit_line_id?: string;
1749
+ due_amount?: BalanceDetails;
1750
+ /**
1751
+ * - Due date for repayment
1752
+ */
1753
+ due_date?: string;
1754
+ /**
1755
+ * - Eligiblity flag to complete transaction
1756
+ */
1757
+ is_eligible_for_txn?: boolean;
1758
+ limit?: BalanceDetails;
1591
1759
  /**
1592
1760
  * - Unique aggregator customer id
1593
1761
  */
1594
1762
  merchant_customer_ref_id?: string;
1763
+ /**
1764
+ * - Url for repayment
1765
+ */
1766
+ repayment_url?: string;
1767
+ /**
1768
+ * - Statement of accounts. Show payment history.
1769
+ */
1770
+ soa_url?: string;
1595
1771
  /**
1596
1772
  * - Customer Credit status
1597
1773
  */
@@ -1600,13 +1776,11 @@ type CreditSummary = {
1600
1776
  * - Message to customer
1601
1777
  */
1602
1778
  status_message?: string;
1779
+ total_due_amount?: BalanceDetails;
1603
1780
  };
1604
1781
  /** @returns {CustomerCreditSummaryResponse} */
1605
1782
  declare function CustomerCreditSummaryResponse(): CustomerCreditSummaryResponse;
1606
1783
  type CustomerCreditSummaryResponse = {
1607
- /**
1608
- * - Credit summary of user.
1609
- */
1610
1784
  data?: CreditSummary;
1611
1785
  /**
1612
1786
  * - Payment confirmation updated or not.
@@ -1620,26 +1794,14 @@ type CustomerOnboardingRequest = {
1620
1794
  * - Aggregator Name
1621
1795
  */
1622
1796
  aggregator: string;
1623
- /**
1624
- * - Business summary.
1625
- */
1626
1797
  business_info?: BusinessDetails;
1627
- /**
1628
- * - Device Details.
1629
- */
1630
1798
  device?: DeviceDetails;
1631
- /**
1632
- * - Market Place info.
1633
- */
1634
1799
  marketplace_info?: MarketplaceInfo;
1635
1800
  /**
1636
1801
  * - Mcc
1637
1802
  */
1638
1803
  mcc?: string;
1639
- /**
1640
- * - Credit summary of user.
1641
- */
1642
- personal_info: UserPersonalInfoInDetails;
1804
+ personal_info?: UserPersonalInfoInDetails;
1643
1805
  /**
1644
1806
  * - CallbackURL
1645
1807
  */
@@ -1648,9 +1810,6 @@ type CustomerOnboardingRequest = {
1648
1810
  /** @returns {CustomerOnboardingResponse} */
1649
1811
  declare function CustomerOnboardingResponse(): CustomerOnboardingResponse;
1650
1812
  type CustomerOnboardingResponse = {
1651
- /**
1652
- * - Redirect URL.
1653
- */
1654
1813
  data: OnboardSummary;
1655
1814
  /**
1656
1815
  * - Status updated or not.
@@ -1728,9 +1887,6 @@ type EpaylaterBannerData = {
1728
1887
  /** @returns {EpaylaterBannerResponse} */
1729
1888
  declare function EpaylaterBannerResponse(): EpaylaterBannerResponse;
1730
1889
  type EpaylaterBannerResponse = {
1731
- /**
1732
- * - Epaylater KYC banner details.
1733
- */
1734
1890
  data: EpaylaterBannerData;
1735
1891
  /**
1736
1892
  * - Successful or not.
@@ -1804,7 +1960,7 @@ type ErrorDescription = {
1804
1960
  /** @returns {ErrorResponse} */
1805
1961
  declare function ErrorResponse(): ErrorResponse;
1806
1962
  type ErrorResponse = {
1807
- error?: any;
1963
+ error?: ErrorDescription;
1808
1964
  /**
1809
1965
  * - Message
1810
1966
  */
@@ -1894,10 +2050,7 @@ type IntentApp = {
1894
2050
  * - Display_name
1895
2051
  */
1896
2052
  display_name?: string;
1897
- /**
1898
- * - Logos
1899
- */
1900
- logos?: any;
2053
+ logos?: PaymentModeLogo;
1901
2054
  /**
1902
2055
  * - Package_name
1903
2056
  */
@@ -2010,18 +2163,34 @@ type NotFoundResourceError = {
2010
2163
  /** @returns {OnboardSummary} */
2011
2164
  declare function OnboardSummary(): OnboardSummary;
2012
2165
  type OnboardSummary = {
2166
+ /**
2167
+ * - Url for activation
2168
+ */
2169
+ activation_url?: string;
2170
+ /**
2171
+ * - Whether is eligible for transaction
2172
+ */
2173
+ is_eligible_for_txn?: boolean;
2174
+ /**
2175
+ * - Rupifi customer ID
2176
+ */
2177
+ merchant_customer_ref_id?: string;
2013
2178
  /**
2014
2179
  * - URL to which the user may redirect.
2015
2180
  */
2016
- redirect_url: string;
2181
+ redirect_url?: string;
2017
2182
  /**
2018
2183
  * - User Session
2019
2184
  */
2020
- session: any;
2185
+ session?: any;
2021
2186
  /**
2022
- * - Operation Status
2187
+ * - Transaction status
2023
2188
  */
2024
2189
  status: boolean;
2190
+ /**
2191
+ * - Decription of status
2192
+ */
2193
+ status_remark?: string;
2025
2194
  };
2026
2195
  /** @returns {OrderBeneficiaryDetails} */
2027
2196
  declare function OrderBeneficiaryDetails(): OrderBeneficiaryDetails;
@@ -2158,62 +2327,20 @@ type PaidOrderDetailsResponse = {
2158
2327
  /** @returns {PaymentFlow} */
2159
2328
  declare function PaymentFlow(): PaymentFlow;
2160
2329
  type PaymentFlow = {
2161
- /**
2162
- * - Ajiodhan
2163
- */
2164
- ajiodhan?: any;
2165
- /**
2166
- * - BQR_Razorpay
2167
- */
2168
- bqr_razorpay?: any;
2169
- /**
2170
- * - Ccavenue
2171
- */
2172
- ccavenue?: any;
2173
- /**
2174
- * - Epaylater
2175
- */
2176
- epaylater?: any;
2177
- /**
2178
- * - Fynd
2179
- */
2180
- fynd?: any;
2181
- /**
2182
- * - Jiopay
2183
- */
2184
- jiopay?: any;
2185
- /**
2186
- * - Juspay
2187
- */
2188
- juspay?: any;
2189
- /**
2190
- * - Mswipe
2191
- */
2192
- mswipe?: any;
2193
- /**
2194
- * - Payubiz
2195
- */
2196
- payubiz?: any;
2197
- /**
2198
- * - Razorpay
2199
- */
2200
- razorpay?: any;
2201
- /**
2202
- * - Rupifi
2203
- */
2204
- rupifi?: any;
2205
- /**
2206
- * - Simpl
2207
- */
2208
- simpl?: any;
2209
- /**
2210
- * - Stripe
2211
- */
2212
- stripe?: any;
2213
- /**
2214
- * - UPI_Razorpay
2215
- */
2216
- upi_razorpay?: any;
2330
+ ajiodhan?: AggregatorRoute;
2331
+ bqr_razorpay?: AggregatorRoute;
2332
+ ccavenue?: AggregatorRoute;
2333
+ epaylater?: AggregatorRoute;
2334
+ fynd?: AggregatorRoute;
2335
+ jiopay?: AggregatorRoute;
2336
+ juspay?: AggregatorRoute;
2337
+ mswipe?: AggregatorRoute;
2338
+ payubiz?: AggregatorRoute;
2339
+ razorpay?: AggregatorRoute;
2340
+ rupifi?: AggregatorRoute;
2341
+ simpl?: AggregatorRoute;
2342
+ stripe?: AggregatorRoute;
2343
+ upi_razorpay?: AggregatorRoute;
2217
2344
  };
2218
2345
  /** @returns {PaymentInitializationRequest} */
2219
2346
  declare function PaymentInitializationRequest(): PaymentInitializationRequest;
@@ -2359,6 +2486,22 @@ type PaymentMethodsMeta = {
2359
2486
  */
2360
2487
  payment_identifier: string;
2361
2488
  };
2489
+ /** @returns {PaymentMethodsMetaOrder} */
2490
+ declare function PaymentMethodsMetaOrder(): PaymentMethodsMetaOrder;
2491
+ type PaymentMethodsMetaOrder = {
2492
+ /**
2493
+ * - Merchant code
2494
+ */
2495
+ merchant_code: string;
2496
+ /**
2497
+ * - Payment gateway name
2498
+ */
2499
+ payment_gateway: string;
2500
+ /**
2501
+ * - Payment identifier
2502
+ */
2503
+ payment_identifier: string;
2504
+ };
2362
2505
  /** @returns {PaymentModeList} */
2363
2506
  declare function PaymentModeList(): PaymentModeList;
2364
2507
  type PaymentModeList = {
@@ -2468,14 +2611,15 @@ type PaymentModeList = {
2468
2611
  * - Intent_flow
2469
2612
  */
2470
2613
  intent_flow?: boolean;
2471
- /**
2472
- * - Logo
2473
- */
2474
- logo_url?: any;
2614
+ logo_url?: PaymentModeLogo;
2475
2615
  /**
2476
2616
  * - Merchant code
2477
2617
  */
2478
2618
  merchant_code?: string;
2619
+ /**
2620
+ * - Payment methods meta
2621
+ */
2622
+ meta?: any;
2479
2623
  /**
2480
2624
  * - Name
2481
2625
  */
@@ -2513,8 +2657,13 @@ type PaymentModeLogo = {
2513
2657
  declare function PaymentModeRouteResponse(): PaymentModeRouteResponse;
2514
2658
  type PaymentModeRouteResponse = {
2515
2659
  /**
2516
- * - Payment_options
2660
+ * - Advance Payment Array
2517
2661
  */
2662
+ advance_payment?: AdvancePaymentObject[];
2663
+ /**
2664
+ * - Payment Breakup for advance payment
2665
+ */
2666
+ payment_breakup?: any;
2518
2667
  payment_options: PaymentOptionAndFlow;
2519
2668
  /**
2520
2669
  * - Response is successful or not
@@ -2524,14 +2673,115 @@ type PaymentModeRouteResponse = {
2524
2673
  /** @returns {PaymentOptionAndFlow} */
2525
2674
  declare function PaymentOptionAndFlow(): PaymentOptionAndFlow;
2526
2675
  type PaymentOptionAndFlow = {
2676
+ payment_flows: PaymentFlow;
2677
+ payment_option: RootPaymentMode;
2678
+ };
2679
+ /** @returns {PaymentOrderData} */
2680
+ declare function PaymentOrderData(): PaymentOrderData;
2681
+ type PaymentOrderData = {
2682
+ /**
2683
+ * - Aggregator name
2684
+ */
2685
+ aggregator?: string;
2527
2686
  /**
2528
- * - Payment_flows
2687
+ * - Amount
2529
2688
  */
2530
- payment_flows: PaymentFlow;
2689
+ amount?: number;
2690
+ /**
2691
+ * - Callback url for aggregator
2692
+ */
2693
+ callback_url?: string;
2531
2694
  /**
2532
- * - Payment options
2695
+ * - Mobile number
2696
+ */
2697
+ contact?: string;
2698
+ /**
2699
+ * - Currency
2700
+ */
2701
+ currency?: string;
2702
+ /**
2703
+ * - Aggregator customer id
2704
+ */
2705
+ customer_id?: string;
2706
+ /**
2707
+ * - Email
2708
+ */
2709
+ email?: string;
2710
+ /**
2711
+ * - Merchant order id
2712
+ */
2713
+ merchant_order_id?: string;
2714
+ /**
2715
+ * - Method
2533
2716
  */
2534
- payment_option: RootPaymentMode[];
2717
+ method?: string;
2718
+ /**
2719
+ * - Aggregator order id
2720
+ */
2721
+ order_id?: string;
2722
+ };
2723
+ /** @returns {PaymentOrderMethods} */
2724
+ declare function PaymentOrderMethods(): PaymentOrderMethods;
2725
+ type PaymentOrderMethods = {
2726
+ /**
2727
+ * - Amount to be collected
2728
+ */
2729
+ amount: number;
2730
+ meta: PaymentMethodsMetaOrder;
2731
+ /**
2732
+ * - Payment mode
2733
+ */
2734
+ mode: string;
2735
+ /**
2736
+ * - Payment mode name
2737
+ */
2738
+ name: string;
2739
+ /**
2740
+ * - Payment type i.e. Required / Blocked
2741
+ */
2742
+ payment?: string;
2743
+ };
2744
+ /** @returns {PaymentOrderRequest} */
2745
+ declare function PaymentOrderRequest(): PaymentOrderRequest;
2746
+ type PaymentOrderRequest = {
2747
+ /**
2748
+ * - Order id
2749
+ */
2750
+ order_id: string;
2751
+ payment_methods?: PaymentOrderMethods[];
2752
+ /**
2753
+ * - Shipment_id
2754
+ */
2755
+ shipment_id?: string;
2756
+ };
2757
+ /** @returns {PaymentOrderResponse} */
2758
+ declare function PaymentOrderResponse(): PaymentOrderResponse;
2759
+ type PaymentOrderResponse = {
2760
+ /**
2761
+ * - Callback url for aggregator
2762
+ */
2763
+ callback_url?: string;
2764
+ data?: PaymentOrderData;
2765
+ /**
2766
+ * - Message
2767
+ */
2768
+ message: string;
2769
+ /**
2770
+ * - Merchant order id
2771
+ */
2772
+ order_id?: string;
2773
+ /**
2774
+ * - Payment confirm url for aggregator
2775
+ */
2776
+ payment_confirm_url?: string;
2777
+ /**
2778
+ * - HTTP status code
2779
+ */
2780
+ status_code: number;
2781
+ /**
2782
+ * - Successful or failure
2783
+ */
2784
+ success: boolean;
2535
2785
  };
2536
2786
  /** @returns {PaymentStatusUpdateRequest} */
2537
2787
  declare function PaymentStatusUpdateRequest(): PaymentStatusUpdateRequest;
@@ -2660,9 +2910,6 @@ type PollingPaymentLinkResponse = {
2660
2910
  /** @returns {RedirectToAggregatorResponse} */
2661
2911
  declare function RedirectToAggregatorResponse(): RedirectToAggregatorResponse;
2662
2912
  type RedirectToAggregatorResponse = {
2663
- /**
2664
- * - Redirect URL.
2665
- */
2666
2913
  data: RedirectURL;
2667
2914
  /**
2668
2915
  * - Status updated or not.
@@ -2737,9 +2984,6 @@ type ResendOrCancelPaymentRequest = {
2737
2984
  /** @returns {ResendOrCancelPaymentResponse} */
2738
2985
  declare function ResendOrCancelPaymentResponse(): ResendOrCancelPaymentResponse;
2739
2986
  type ResendOrCancelPaymentResponse = {
2740
- /**
2741
- * - Data about link action status.
2742
- */
2743
2987
  data: LinkStatus;
2744
2988
  /**
2745
2989
  * - Response is successful or not.
@@ -2822,9 +3066,6 @@ type RupifiBannerData = {
2822
3066
  /** @returns {RupifiBannerResponse} */
2823
3067
  declare function RupifiBannerResponse(): RupifiBannerResponse;
2824
3068
  type RupifiBannerResponse = {
2825
- /**
2826
- * - Rupifi KYC banner details.
2827
- */
2828
3069
  data: RupifiBannerData;
2829
3070
  /**
2830
3071
  * - Successful or not.
@@ -2855,6 +3096,22 @@ type SetDefaultBeneficiaryResponse = {
2855
3096
  */
2856
3097
  success?: boolean;
2857
3098
  };
3099
+ /** @returns {SplitObject} */
3100
+ declare function SplitObject(): SplitObject;
3101
+ type SplitObject = {
3102
+ /**
3103
+ * - Amount pending to be paid
3104
+ */
3105
+ amount_remaining?: number;
3106
+ /**
3107
+ * - Number of splits remaining
3108
+ */
3109
+ splits_remaining?: number;
3110
+ /**
3111
+ * - Maximum amount of splits allowed
3112
+ */
3113
+ total_number_of_splits?: number;
3114
+ };
2858
3115
  /** @returns {TransferItemsDetails} */
2859
3116
  declare function TransferItemsDetails(): TransferItemsDetails;
2860
3117
  type TransferItemsDetails = {
@@ -2922,9 +3179,6 @@ type UpdateRefundTransferModeResponse = {
2922
3179
  /** @returns {UserPersonalInfoInDetails} */
2923
3180
  declare function UserPersonalInfoInDetails(): UserPersonalInfoInDetails;
2924
3181
  type UserPersonalInfoInDetails = {
2925
- /**
2926
- * - Address details
2927
- */
2928
3182
  address_as_per_id: KYCAddress;
2929
3183
  /**
2930
3184
  * - DOB
@@ -3070,15 +3324,40 @@ type ValidateVPARequest = {
3070
3324
  /** @returns {ValidateVPAResponse} */
3071
3325
  declare function ValidateVPAResponse(): ValidateVPAResponse;
3072
3326
  type ValidateVPAResponse = {
3073
- /**
3074
- * - Data about UPI ID validate.
3075
- */
3076
3327
  data: ValidateUPI;
3077
3328
  /**
3078
3329
  * - Response is successful or not.
3079
3330
  */
3080
3331
  success: boolean;
3081
3332
  };
3333
+ /** @returns {WalletDelinkRequestSchema} */
3334
+ declare function WalletDelinkRequestSchema(): WalletDelinkRequestSchema;
3335
+ type WalletDelinkRequestSchema = {
3336
+ /**
3337
+ * - Aggregator Name
3338
+ */
3339
+ aggregator: string;
3340
+ /**
3341
+ * - Wallet Code
3342
+ */
3343
+ wallet_code: string;
3344
+ };
3345
+ /** @returns {WalletLinkRequestSchema} */
3346
+ declare function WalletLinkRequestSchema(): WalletLinkRequestSchema;
3347
+ type WalletLinkRequestSchema = {
3348
+ /**
3349
+ * - Aggregator Name
3350
+ */
3351
+ aggregator: string;
3352
+ /**
3353
+ * - Mobile Number for Wallet
3354
+ */
3355
+ mobile: string;
3356
+ /**
3357
+ * - Wallet Code
3358
+ */
3359
+ wallet_code: string;
3360
+ };
3082
3361
  /** @returns {WalletOtpRequest} */
3083
3362
  declare function WalletOtpRequest(): WalletOtpRequest;
3084
3363
  type WalletOtpRequest = {
@@ -3108,6 +3387,34 @@ type WalletOtpResponse = {
3108
3387
  */
3109
3388
  success?: boolean;
3110
3389
  };
3390
+ /** @returns {WalletResponseSchema} */
3391
+ declare function WalletResponseSchema(): WalletResponseSchema;
3392
+ type WalletResponseSchema = {
3393
+ /**
3394
+ * - Response received from aggregator
3395
+ */
3396
+ data: any;
3397
+ /**
3398
+ * - Success/Failure of the API call
3399
+ */
3400
+ success: boolean;
3401
+ };
3402
+ /** @returns {WalletVerifyRequestSchema} */
3403
+ declare function WalletVerifyRequestSchema(): WalletVerifyRequestSchema;
3404
+ type WalletVerifyRequestSchema = {
3405
+ /**
3406
+ * - Aggregator Name
3407
+ */
3408
+ aggregator: string;
3409
+ /**
3410
+ * - Token for wallet linking
3411
+ */
3412
+ link_token: string;
3413
+ /**
3414
+ * - OTP received for wallet linking
3415
+ */
3416
+ otp: number;
3417
+ };
3111
3418
  /** @returns {WrongOtpError} */
3112
3419
  declare function WrongOtpError(): WrongOtpError;
3113
3420
  type WrongOtpError = {