@gofynd/fdk-client-javascript 1.4.8-beta.3 → 1.4.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 (189) hide show
  1. package/README.md +26 -1
  2. package/package.json +2 -2
  3. package/sdk/application/ApplicationClient.d.ts +8 -0
  4. package/sdk/application/ApplicationClient.js +14 -0
  5. package/sdk/application/Cart/CartApplicationClient.d.ts +20 -20
  6. package/sdk/application/Cart/CartApplicationClient.js +20 -20
  7. package/sdk/application/Cart/CartApplicationModel.d.ts +2446 -664
  8. package/sdk/application/Cart/CartApplicationModel.js +783 -552
  9. package/sdk/application/Cart/CartApplicationValidator.d.ts +268 -194
  10. package/sdk/application/Cart/CartApplicationValidator.js +100 -114
  11. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +53 -53
  12. package/sdk/application/Catalog/CatalogApplicationClient.js +53 -53
  13. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2012 -503
  14. package/sdk/application/Catalog/CatalogApplicationModel.js +603 -453
  15. package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +64 -64
  16. package/sdk/application/Catalog/CatalogApplicationValidator.js +32 -32
  17. package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
  18. package/sdk/application/Common/CommonApplicationClient.js +2 -2
  19. package/sdk/application/Common/CommonApplicationModel.d.ts +170 -90
  20. package/sdk/application/Common/CommonApplicationModel.js +59 -58
  21. package/sdk/application/Common/CommonApplicationValidator.d.ts +8 -5
  22. package/sdk/application/Common/CommonApplicationValidator.js +3 -3
  23. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +2 -2
  24. package/sdk/application/Communication/CommunicationApplicationClient.js +2 -2
  25. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +170 -35
  26. package/sdk/application/Communication/CommunicationApplicationModel.js +54 -33
  27. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +15 -15
  28. package/sdk/application/Configuration/ConfigurationApplicationClient.js +15 -15
  29. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +624 -443
  30. package/sdk/application/Configuration/ConfigurationApplicationModel.js +259 -248
  31. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +32 -24
  32. package/sdk/application/Configuration/ConfigurationApplicationValidator.js +14 -13
  33. package/sdk/application/Content/ContentApplicationClient.d.ts +16 -16
  34. package/sdk/application/Content/ContentApplicationClient.js +16 -16
  35. package/sdk/application/Content/ContentApplicationModel.d.ts +1205 -282
  36. package/sdk/application/Content/ContentApplicationModel.js +341 -277
  37. package/sdk/application/Content/ContentApplicationValidator.d.ts +28 -17
  38. package/sdk/application/Content/ContentApplicationValidator.js +11 -10
  39. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +3 -3
  40. package/sdk/application/FileStorage/FileStorageApplicationClient.js +3 -3
  41. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +146 -37
  42. package/sdk/application/FileStorage/FileStorageApplicationModel.js +38 -36
  43. package/sdk/application/Lead/LeadApplicationClient.d.ts +3 -3
  44. package/sdk/application/Lead/LeadApplicationClient.js +3 -3
  45. package/sdk/application/Lead/LeadApplicationModel.d.ts +195 -134
  46. package/sdk/application/Lead/LeadApplicationModel.js +110 -67
  47. package/sdk/application/Lead/LeadApplicationValidator.d.ts +8 -8
  48. package/sdk/application/Lead/LeadApplicationValidator.js +4 -4
  49. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +10 -10
  50. package/sdk/application/Logistic/LogisticApplicationClient.js +10 -10
  51. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +1039 -221
  52. package/sdk/application/Logistic/LogisticApplicationModel.js +342 -199
  53. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +76 -82
  54. package/sdk/application/Logistic/LogisticApplicationValidator.js +38 -41
  55. package/sdk/application/Order/OrderApplicationClient.d.ts +10 -10
  56. package/sdk/application/Order/OrderApplicationClient.js +10 -10
  57. package/sdk/application/Order/OrderApplicationModel.d.ts +1400 -325
  58. package/sdk/application/Order/OrderApplicationModel.js +391 -317
  59. package/sdk/application/Order/OrderApplicationValidator.d.ts +32 -30
  60. package/sdk/application/Order/OrderApplicationValidator.js +15 -14
  61. package/sdk/application/Payment/PaymentApplicationClient.d.ts +43 -43
  62. package/sdk/application/Payment/PaymentApplicationClient.js +43 -43
  63. package/sdk/application/Payment/PaymentApplicationModel.d.ts +1111 -1022
  64. package/sdk/application/Payment/PaymentApplicationModel.js +537 -521
  65. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +82 -49
  66. package/sdk/application/Payment/PaymentApplicationValidator.js +30 -30
  67. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +28 -7
  68. package/sdk/application/Rewards/RewardsApplicationModel.js +7 -7
  69. package/sdk/application/Share/ShareApplicationModel.d.ts +178 -38
  70. package/sdk/application/Share/ShareApplicationModel.js +53 -37
  71. package/sdk/application/Share/ShareApplicationValidator.d.ts +4 -2
  72. package/sdk/application/Share/ShareApplicationValidator.js +2 -1
  73. package/sdk/application/Theme/ThemeApplicationClient.d.ts +4 -4
  74. package/sdk/application/Theme/ThemeApplicationClient.js +14 -8
  75. package/sdk/application/Theme/ThemeApplicationModel.d.ts +528 -287
  76. package/sdk/application/Theme/ThemeApplicationModel.js +208 -172
  77. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +17 -12
  78. package/sdk/application/Theme/ThemeApplicationValidator.js +8 -6
  79. package/sdk/application/User/UserApplicationClient.d.ts +36 -36
  80. package/sdk/application/User/UserApplicationClient.js +36 -36
  81. package/sdk/application/User/UserApplicationModel.d.ts +1062 -255
  82. package/sdk/application/User/UserApplicationModel.js +298 -244
  83. package/sdk/application/User/UserApplicationValidator.d.ts +80 -80
  84. package/sdk/application/User/UserApplicationValidator.js +40 -40
  85. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +1 -1
  86. package/sdk/application/Webhook/WebhookApplicationClient.js +1 -1
  87. package/sdk/application/Webhook/WebhookApplicationModel.d.ts +20 -5
  88. package/sdk/application/Webhook/WebhookApplicationModel.js +5 -5
  89. package/sdk/common/Clickstream.js +95 -15
  90. package/sdk/common/Constant.d.ts +9 -0
  91. package/sdk/common/Constant.js +11 -0
  92. package/sdk/common/Utility.js +19 -0
  93. package/sdk/common/utils.js +8 -1
  94. package/sdk/partner/Lead/LeadPartnerModel.d.ts +28 -7
  95. package/sdk/partner/Lead/LeadPartnerModel.js +7 -7
  96. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +28 -7
  97. package/sdk/partner/Logistics/LogisticsPartnerModel.js +7 -7
  98. package/sdk/partner/PartnerClient.d.ts +8 -0
  99. package/sdk/partner/PartnerClient.js +14 -0
  100. package/sdk/partner/Theme/ThemePartnerClient.d.ts +20 -0
  101. package/sdk/partner/Theme/ThemePartnerClient.js +158 -0
  102. package/sdk/partner/Theme/ThemePartnerModel.d.ts +45 -6
  103. package/sdk/partner/Theme/ThemePartnerModel.js +33 -4
  104. package/sdk/partner/Theme/ThemePartnerValidator.d.ts +2 -0
  105. package/sdk/partner/Theme/ThemePartnerValidator.js +14 -0
  106. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +28 -7
  107. package/sdk/partner/Webhook/WebhookPartnerModel.js +7 -7
  108. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +28 -7
  109. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +7 -7
  110. package/sdk/platform/Billing/BillingPlatformClient.d.ts +21 -10
  111. package/sdk/platform/Billing/BillingPlatformClient.js +167 -83
  112. package/sdk/platform/Billing/BillingPlatformModel.d.ts +2849 -565
  113. package/sdk/platform/Billing/BillingPlatformModel.js +935 -556
  114. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +30 -14
  115. package/sdk/platform/Billing/BillingPlatformValidator.js +31 -16
  116. package/sdk/platform/Cart/CartPlatformModel.d.ts +28 -7
  117. package/sdk/platform/Cart/CartPlatformModel.js +8 -8
  118. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +12 -2
  119. package/sdk/platform/Catalog/CatalogPlatformClient.js +41 -1
  120. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +46 -12
  121. package/sdk/platform/Catalog/CatalogPlatformModel.js +14 -11
  122. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +40 -0
  123. package/sdk/platform/Catalog/CatalogPlatformValidator.js +17 -0
  124. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +28 -7
  125. package/sdk/platform/Communication/CommunicationPlatformModel.js +7 -7
  126. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +28 -7
  127. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +7 -7
  128. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +0 -97
  129. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +77 -782
  130. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +24 -701
  131. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +7 -539
  132. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +1 -183
  133. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +0 -134
  134. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +0 -10
  135. package/sdk/platform/Content/ContentPlatformApplicationClient.js +0 -79
  136. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -15
  137. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +0 -13
  138. package/sdk/platform/Content/ContentPlatformModel.d.ts +58 -17
  139. package/sdk/platform/Content/ContentPlatformModel.js +28 -15
  140. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +28 -7
  141. package/sdk/platform/Discount/DiscountPlatformModel.js +7 -7
  142. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +127 -25
  143. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +37 -25
  144. package/sdk/platform/Finance/FinancePlatformClient.d.ts +28 -28
  145. package/sdk/platform/Finance/FinancePlatformClient.js +28 -28
  146. package/sdk/platform/Finance/FinancePlatformModel.d.ts +1583 -347
  147. package/sdk/platform/Finance/FinancePlatformModel.js +463 -351
  148. package/sdk/platform/Lead/LeadPlatformModel.d.ts +28 -7
  149. package/sdk/platform/Lead/LeadPlatformModel.js +7 -7
  150. package/sdk/platform/Order/OrderPlatformClient.d.ts +22 -0
  151. package/sdk/platform/Order/OrderPlatformClient.js +165 -0
  152. package/sdk/platform/Order/OrderPlatformModel.d.ts +613 -39
  153. package/sdk/platform/Order/OrderPlatformModel.js +359 -41
  154. package/sdk/platform/Order/OrderPlatformValidator.d.ts +32 -1
  155. package/sdk/platform/Order/OrderPlatformValidator.js +28 -0
  156. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +30 -9
  157. package/sdk/platform/Payment/PaymentPlatformModel.js +9 -9
  158. package/sdk/platform/PlatformClient.d.ts +8 -0
  159. package/sdk/platform/PlatformClient.js +14 -0
  160. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +28 -7
  161. package/sdk/platform/Rewards/RewardsPlatformModel.js +7 -7
  162. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +12 -9
  163. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +12 -9
  164. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +120 -22
  165. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +76 -21
  166. package/sdk/platform/Share/SharePlatformModel.d.ts +28 -7
  167. package/sdk/platform/Share/SharePlatformModel.js +7 -7
  168. package/sdk/platform/Theme/ThemePlatformModel.d.ts +18 -5
  169. package/sdk/platform/Theme/ThemePlatformModel.js +7 -4
  170. package/sdk/platform/User/UserPlatformModel.d.ts +18 -18
  171. package/sdk/platform/User/UserPlatformModel.js +9 -9
  172. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +28 -7
  173. package/sdk/platform/Webhook/WebhookPlatformModel.js +7 -7
  174. package/sdk/public/Billing/BillingPublicClient.d.ts +11 -0
  175. package/sdk/public/Billing/BillingPublicClient.js +80 -0
  176. package/sdk/public/Billing/BillingPublicModel.d.ts +584 -99
  177. package/sdk/public/Billing/BillingPublicModel.js +252 -87
  178. package/sdk/public/Billing/BillingPublicValidator.d.ts +10 -1
  179. package/sdk/public/Billing/BillingPublicValidator.js +12 -0
  180. package/sdk/public/PublicClient.d.ts +0 -2
  181. package/sdk/public/PublicClient.js +0 -4
  182. package/sdk/public/index.d.ts +0 -1
  183. package/sdk/public/index.js +0 -2
  184. package/sdk/public/Inventory/InventoryPublicClient.d.ts +0 -87
  185. package/sdk/public/Inventory/InventoryPublicClient.js +0 -529
  186. package/sdk/public/Inventory/InventoryPublicModel.d.ts +0 -393
  187. package/sdk/public/Inventory/InventoryPublicModel.js +0 -448
  188. package/sdk/public/Inventory/InventoryPublicValidator.d.ts +0 -91
  189. package/sdk/public/Inventory/InventoryPublicValidator.js +0 -85
@@ -18,7 +18,8 @@ export = PaymentApplicationValidator;
18
18
  /**
19
19
  * @typedef CardDetailsParam
20
20
  * @property {string} cardInfo - Card first 6 digit IIN(prefix) number.
21
- * @property {string} [aggregator]
21
+ * @property {string} [aggregator] - This is a string value describing the
22
+ * aggregator name.
22
23
  */
23
24
  /**
24
25
  * @typedef CheckAndUpdatePaymentStatusParam
@@ -30,7 +31,7 @@ export = PaymentApplicationValidator;
30
31
  */
31
32
  /**
32
33
  * @typedef CheckCreditParam
33
- * @property {string} [aggregator]
34
+ * @property {string} [aggregator] - Aggregator name.
34
35
  */
35
36
  /**
36
37
  * @typedef CreateOrderHandlerPaymentLinkParam
@@ -46,7 +47,7 @@ export = PaymentApplicationValidator;
46
47
  */
47
48
  /**
48
49
  * @typedef CustomerCreditSummaryParam
49
- * @property {string} [aggregator]
50
+ * @property {string} [aggregator] - Aggregator name.
50
51
  */
51
52
  /**
52
53
  * @typedef CustomerOnboardParam
@@ -66,18 +67,19 @@ export = PaymentApplicationValidator;
66
67
  */
67
68
  /**
68
69
  * @typedef GetActiveCardAggregatorParam
69
- * @property {boolean} [refresh]
70
+ * @property {boolean} [refresh] - Select `true` to remove temporary cache files
71
+ * on payment gateway and replace with the latest one.
70
72
  */
71
73
  /** @typedef GetActiveRefundTransferModesParam */
72
74
  /**
73
75
  * @typedef GetActiveUserCardsParam
74
- * @property {boolean} [forceRefresh]
76
+ * @property {boolean} [forceRefresh] - Select `true` to clear the cache.
75
77
  */
76
78
  /**
77
79
  * @typedef GetAggregatorsConfigParam
78
- * @property {string} [xApiToken] - Used for basic authentication.
79
- * @property {boolean} [refresh] - This is a boolean value. Select `true` to
80
- * remove temporary cache files on payment gateway and replace with the latest one.
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.
81
83
  */
82
84
  /** @typedef GetEpaylaterBannerDetailsParam */
83
85
  /**
@@ -87,40 +89,40 @@ export = PaymentApplicationValidator;
87
89
  */
88
90
  /**
89
91
  * @typedef GetPaymentLinkParam
90
- * @property {string} [paymentLinkId]
92
+ * @property {string} [paymentLinkId] - Unique payment link id.
91
93
  */
92
94
  /**
93
95
  * @typedef GetPaymentModeRoutesParam
94
96
  * @property {number} amount - Payable amount.
95
97
  * @property {string} [cartId] - Identifier of the cart.
96
98
  * @property {string} [checkoutMode] - Option to checkout for self or for others.
97
- * @property {boolean} [refresh] - This is a boolean value. Select `true` to
98
- * remove temporary cache files on payment gateway and replace with the latest one.
99
- * @property {string} [orderId]
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.
100
102
  * @property {string} [cardReference] - Card reference id of user's debit or credit card.
101
- * @property {string} [userDetails] - URIencoded JSON containing details of an
103
+ * @property {string} [userDetails] - URLencoded JSON containing details of an
102
104
  * anonymous user.
103
- * @property {boolean} [displaySplit] - Display Split Payment Option or not
104
- * @property {boolean} [advancePayment] - Display Advance Payment Options or Normal
105
- * @property {string} [shipmentId]
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.
106
108
  */
107
109
  /**
108
110
  * @typedef GetPaymentModeRoutesPaymentLinkParam
109
- * @property {string} paymentLinkId - Payment link id
111
+ * @property {string} paymentLinkId - Payment link id.
110
112
  */
111
113
  /**
112
114
  * @typedef GetPosPaymentModeRoutesParam
113
115
  * @property {number} amount - Payable amount.
114
116
  * @property {string} [cartId] - Identifier of the cart.
115
- * @property {string} pincode - The PIN Code of the destination address, e.g. 400059
117
+ * @property {string} pincode - The PIN Code of the destination address, e.g. 400059.
116
118
  * @property {string} [checkoutMode] - Option to checkout for self or for others.
117
- * @property {boolean} [refresh] - This is a boolean value. Select `true` to
118
- * remove temporary cache files on payment gateway and replace with the latest one.
119
+ * @property {boolean} [refresh] - Select `true` to remove temporary cache files
120
+ * on payment gateway and replace with the latest one.
119
121
  * @property {string} [cardReference] - Card reference id of user's debit or credit card.
120
- * @property {string} orderType - The order type of shipment * HomeDelivery - If
121
- * the customer wants the order home-delivered * PickAtStore - If the customer
122
+ * @property {string} orderType - The order type of shipment HomeDelivery - If
123
+ * the customer wants the order home-delivered PickAtStore - If the customer
122
124
  * wants the handover of an order at the store itself.
123
- * @property {string} [userDetails] - URIencoded JSON containing details of an
125
+ * @property {string} [userDetails] - URLencoded JSON containing details of an
124
126
  * anonymous user.
125
127
  */
126
128
  /** @typedef GetRupifiBannerDetailsParam */
@@ -143,22 +145,20 @@ export = PaymentApplicationValidator;
143
145
  */
144
146
  /**
145
147
  * @typedef OutstandingOrderDetailsParam
146
- * @property {string} [aggregator]
148
+ * @property {string} [aggregator] - Merchant user ID as value.
147
149
  */
148
150
  /**
149
151
  * @typedef PaidOrderDetailsParam
150
- * @property {string} [aggregator]
152
+ * @property {string} [aggregator] - Merchant user ID as value.
151
153
  */
152
154
  /**
153
155
  * @typedef PollingPaymentLinkParam
154
- * @property {string} [paymentLinkId]
156
+ * @property {string} [paymentLinkId] - Unique payment link id.
155
157
  */
156
158
  /**
157
159
  * @typedef RedirectToAggregatorParam
158
- * @property {string} [source] - This is a String value that contains callback
159
- * URL as value.
160
- * @property {string} [aggregator] - This is a String value that contains
161
- * aggregator name as value.
160
+ * @property {string} [source] - Callback URL to get callback from aggregator.
161
+ * @property {string} [aggregator] - Aggregator name.
162
162
  */
163
163
  /**
164
164
  * @typedef RenderHTMLParam
@@ -319,6 +319,10 @@ type CardDetailsParam = {
319
319
  * - Card first 6 digit IIN(prefix) number.
320
320
  */
321
321
  cardInfo: string;
322
+ /**
323
+ * - This is a string value describing the
324
+ * aggregator name.
325
+ */
322
326
  aggregator?: string;
323
327
  };
324
328
  type CheckAndUpdatePaymentStatusParam = {
@@ -328,6 +332,9 @@ type CheckAndUpdatePaymentStatusPaymentLinkParam = {
328
332
  body: PaymentApplicationModel.PaymentStatusUpdateRequest;
329
333
  };
330
334
  type CheckCreditParam = {
335
+ /**
336
+ * - Aggregator name.
337
+ */
331
338
  aggregator?: string;
332
339
  };
333
340
  type CreateOrderHandlerPaymentLinkParam = {
@@ -340,6 +347,9 @@ type CreatePaymentOrderParam = {
340
347
  body: PaymentApplicationModel.PaymentOrderRequest;
341
348
  };
342
349
  type CustomerCreditSummaryParam = {
350
+ /**
351
+ * - Aggregator name.
352
+ */
343
353
  aggregator?: string;
344
354
  };
345
355
  type CustomerOnboardParam = {
@@ -355,19 +365,26 @@ type EnableOrDisableRefundTransferModeParam = {
355
365
  body: PaymentApplicationModel.UpdateRefundTransferModeRequest;
356
366
  };
357
367
  type GetActiveCardAggregatorParam = {
368
+ /**
369
+ * - Select `true` to remove temporary cache files
370
+ * on payment gateway and replace with the latest one.
371
+ */
358
372
  refresh?: boolean;
359
373
  };
360
374
  type GetActiveUserCardsParam = {
375
+ /**
376
+ * - Select `true` to clear the cache.
377
+ */
361
378
  forceRefresh?: boolean;
362
379
  };
363
380
  type GetAggregatorsConfigParam = {
364
381
  /**
365
- * - Used for basic authentication.
382
+ * - Basic auth token.
366
383
  */
367
384
  xApiToken?: string;
368
385
  /**
369
- * - This is a boolean value. Select `true` to
370
- * remove temporary cache files on payment gateway and replace with the latest one.
386
+ * - Select `true` to remove temporary cache files
387
+ * on payment gateway and replace with the latest one.
371
388
  */
372
389
  refresh?: boolean;
373
390
  };
@@ -379,6 +396,9 @@ type GetOrderBeneficiariesDetailParam = {
379
396
  orderId: string;
380
397
  };
381
398
  type GetPaymentLinkParam = {
399
+ /**
400
+ * - Unique payment link id.
401
+ */
382
402
  paymentLinkId?: string;
383
403
  };
384
404
  type GetPaymentModeRoutesParam = {
@@ -395,33 +415,39 @@ type GetPaymentModeRoutesParam = {
395
415
  */
396
416
  checkoutMode?: string;
397
417
  /**
398
- * - This is a boolean value. Select `true` to
399
- * remove temporary cache files on payment gateway and replace with the latest one.
418
+ * - Select `true` to remove temporary cache files
419
+ * on payment gateway and replace with the latest one.
400
420
  */
401
421
  refresh?: boolean;
422
+ /**
423
+ * - Identifier of the order, order_id.
424
+ */
402
425
  orderId?: string;
403
426
  /**
404
427
  * - Card reference id of user's debit or credit card.
405
428
  */
406
429
  cardReference?: string;
407
430
  /**
408
- * - URIencoded JSON containing details of an
431
+ * - URLencoded JSON containing details of an
409
432
  * anonymous user.
410
433
  */
411
434
  userDetails?: string;
412
435
  /**
413
- * - Display Split Payment Option or not
436
+ * - Display Split Payment Option or not.
414
437
  */
415
438
  displaySplit?: boolean;
416
439
  /**
417
- * - Display Advance Payment Options or Normal
440
+ * - Display Advance Payment Options or Normal.
418
441
  */
419
442
  advancePayment?: boolean;
443
+ /**
444
+ * - Identifier of the shipment, shipment_id.
445
+ */
420
446
  shipmentId?: string;
421
447
  };
422
448
  type GetPaymentModeRoutesPaymentLinkParam = {
423
449
  /**
424
- * - Payment link id
450
+ * - Payment link id.
425
451
  */
426
452
  paymentLinkId: string;
427
453
  };
@@ -435,7 +461,7 @@ type GetPosPaymentModeRoutesParam = {
435
461
  */
436
462
  cartId?: string;
437
463
  /**
438
- * - The PIN Code of the destination address, e.g. 400059
464
+ * - The PIN Code of the destination address, e.g. 400059.
439
465
  */
440
466
  pincode: string;
441
467
  /**
@@ -443,8 +469,8 @@ type GetPosPaymentModeRoutesParam = {
443
469
  */
444
470
  checkoutMode?: string;
445
471
  /**
446
- * - This is a boolean value. Select `true` to
447
- * remove temporary cache files on payment gateway and replace with the latest one.
472
+ * - Select `true` to remove temporary cache files
473
+ * on payment gateway and replace with the latest one.
448
474
  */
449
475
  refresh?: boolean;
450
476
  /**
@@ -452,13 +478,13 @@ type GetPosPaymentModeRoutesParam = {
452
478
  */
453
479
  cardReference?: string;
454
480
  /**
455
- * - The order type of shipment * HomeDelivery - If
456
- * the customer wants the order home-delivered * PickAtStore - If the customer
481
+ * - The order type of shipment HomeDelivery - If
482
+ * the customer wants the order home-delivered PickAtStore - If the customer
457
483
  * wants the handover of an order at the store itself.
458
484
  */
459
485
  orderType: string;
460
486
  /**
461
- * - URIencoded JSON containing details of an
487
+ * - URLencoded JSON containing details of an
462
488
  * anonymous user.
463
489
  */
464
490
  userDetails?: string;
@@ -480,23 +506,30 @@ type LinkWalletParam = {
480
506
  body: PaymentApplicationModel.WalletVerifyRequestSchema;
481
507
  };
482
508
  type OutstandingOrderDetailsParam = {
509
+ /**
510
+ * - Merchant user ID as value.
511
+ */
483
512
  aggregator?: string;
484
513
  };
485
514
  type PaidOrderDetailsParam = {
515
+ /**
516
+ * - Merchant user ID as value.
517
+ */
486
518
  aggregator?: string;
487
519
  };
488
520
  type PollingPaymentLinkParam = {
521
+ /**
522
+ * - Unique payment link id.
523
+ */
489
524
  paymentLinkId?: string;
490
525
  };
491
526
  type RedirectToAggregatorParam = {
492
527
  /**
493
- * - This is a String value that contains callback
494
- * URL as value.
528
+ * - Callback URL to get callback from aggregator.
495
529
  */
496
530
  source?: string;
497
531
  /**
498
- * - This is a String value that contains
499
- * aggregator name as value.
532
+ * - Aggregator name.
500
533
  */
501
534
  aggregator?: string;
502
535
  };
@@ -25,7 +25,8 @@ const PaymentApplicationModel = require("./PaymentApplicationModel");
25
25
  /**
26
26
  * @typedef CardDetailsParam
27
27
  * @property {string} cardInfo - Card first 6 digit IIN(prefix) number.
28
- * @property {string} [aggregator]
28
+ * @property {string} [aggregator] - This is a string value describing the
29
+ * aggregator name.
29
30
  */
30
31
 
31
32
  /**
@@ -40,7 +41,7 @@ const PaymentApplicationModel = require("./PaymentApplicationModel");
40
41
 
41
42
  /**
42
43
  * @typedef CheckCreditParam
43
- * @property {string} [aggregator]
44
+ * @property {string} [aggregator] - Aggregator name.
44
45
  */
45
46
 
46
47
  /**
@@ -60,7 +61,7 @@ const PaymentApplicationModel = require("./PaymentApplicationModel");
60
61
 
61
62
  /**
62
63
  * @typedef CustomerCreditSummaryParam
63
- * @property {string} [aggregator]
64
+ * @property {string} [aggregator] - Aggregator name.
64
65
  */
65
66
 
66
67
  /**
@@ -85,21 +86,22 @@ const PaymentApplicationModel = require("./PaymentApplicationModel");
85
86
 
86
87
  /**
87
88
  * @typedef GetActiveCardAggregatorParam
88
- * @property {boolean} [refresh]
89
+ * @property {boolean} [refresh] - Select `true` to remove temporary cache files
90
+ * on payment gateway and replace with the latest one.
89
91
  */
90
92
 
91
93
  /** @typedef GetActiveRefundTransferModesParam */
92
94
 
93
95
  /**
94
96
  * @typedef GetActiveUserCardsParam
95
- * @property {boolean} [forceRefresh]
97
+ * @property {boolean} [forceRefresh] - Select `true` to clear the cache.
96
98
  */
97
99
 
98
100
  /**
99
101
  * @typedef GetAggregatorsConfigParam
100
- * @property {string} [xApiToken] - Used for basic authentication.
101
- * @property {boolean} [refresh] - This is a boolean value. Select `true` to
102
- * remove temporary cache files on payment gateway and replace with the latest one.
102
+ * @property {string} [xApiToken] - Basic auth token.
103
+ * @property {boolean} [refresh] - Select `true` to remove temporary cache files
104
+ * on payment gateway and replace with the latest one.
103
105
  */
104
106
 
105
107
  /** @typedef GetEpaylaterBannerDetailsParam */
@@ -112,7 +114,7 @@ const PaymentApplicationModel = require("./PaymentApplicationModel");
112
114
 
113
115
  /**
114
116
  * @typedef GetPaymentLinkParam
115
- * @property {string} [paymentLinkId]
117
+ * @property {string} [paymentLinkId] - Unique payment link id.
116
118
  */
117
119
 
118
120
  /**
@@ -120,35 +122,35 @@ const PaymentApplicationModel = require("./PaymentApplicationModel");
120
122
  * @property {number} amount - Payable amount.
121
123
  * @property {string} [cartId] - Identifier of the cart.
122
124
  * @property {string} [checkoutMode] - Option to checkout for self or for others.
123
- * @property {boolean} [refresh] - This is a boolean value. Select `true` to
124
- * remove temporary cache files on payment gateway and replace with the latest one.
125
- * @property {string} [orderId]
125
+ * @property {boolean} [refresh] - Select `true` to remove temporary cache files
126
+ * on payment gateway and replace with the latest one.
127
+ * @property {string} [orderId] - Identifier of the order, order_id.
126
128
  * @property {string} [cardReference] - Card reference id of user's debit or credit card.
127
- * @property {string} [userDetails] - URIencoded JSON containing details of an
129
+ * @property {string} [userDetails] - URLencoded JSON containing details of an
128
130
  * anonymous user.
129
- * @property {boolean} [displaySplit] - Display Split Payment Option or not
130
- * @property {boolean} [advancePayment] - Display Advance Payment Options or Normal
131
- * @property {string} [shipmentId]
131
+ * @property {boolean} [displaySplit] - Display Split Payment Option or not.
132
+ * @property {boolean} [advancePayment] - Display Advance Payment Options or Normal.
133
+ * @property {string} [shipmentId] - Identifier of the shipment, shipment_id.
132
134
  */
133
135
 
134
136
  /**
135
137
  * @typedef GetPaymentModeRoutesPaymentLinkParam
136
- * @property {string} paymentLinkId - Payment link id
138
+ * @property {string} paymentLinkId - Payment link id.
137
139
  */
138
140
 
139
141
  /**
140
142
  * @typedef GetPosPaymentModeRoutesParam
141
143
  * @property {number} amount - Payable amount.
142
144
  * @property {string} [cartId] - Identifier of the cart.
143
- * @property {string} pincode - The PIN Code of the destination address, e.g. 400059
145
+ * @property {string} pincode - The PIN Code of the destination address, e.g. 400059.
144
146
  * @property {string} [checkoutMode] - Option to checkout for self or for others.
145
- * @property {boolean} [refresh] - This is a boolean value. Select `true` to
146
- * remove temporary cache files on payment gateway and replace with the latest one.
147
+ * @property {boolean} [refresh] - Select `true` to remove temporary cache files
148
+ * on payment gateway and replace with the latest one.
147
149
  * @property {string} [cardReference] - Card reference id of user's debit or credit card.
148
- * @property {string} orderType - The order type of shipment * HomeDelivery - If
149
- * the customer wants the order home-delivered * PickAtStore - If the customer
150
+ * @property {string} orderType - The order type of shipment HomeDelivery - If
151
+ * the customer wants the order home-delivered PickAtStore - If the customer
150
152
  * wants the handover of an order at the store itself.
151
- * @property {string} [userDetails] - URIencoded JSON containing details of an
153
+ * @property {string} [userDetails] - URLencoded JSON containing details of an
152
154
  * anonymous user.
153
155
  */
154
156
 
@@ -177,25 +179,23 @@ const PaymentApplicationModel = require("./PaymentApplicationModel");
177
179
 
178
180
  /**
179
181
  * @typedef OutstandingOrderDetailsParam
180
- * @property {string} [aggregator]
182
+ * @property {string} [aggregator] - Merchant user ID as value.
181
183
  */
182
184
 
183
185
  /**
184
186
  * @typedef PaidOrderDetailsParam
185
- * @property {string} [aggregator]
187
+ * @property {string} [aggregator] - Merchant user ID as value.
186
188
  */
187
189
 
188
190
  /**
189
191
  * @typedef PollingPaymentLinkParam
190
- * @property {string} [paymentLinkId]
192
+ * @property {string} [paymentLinkId] - Unique payment link id.
191
193
  */
192
194
 
193
195
  /**
194
196
  * @typedef RedirectToAggregatorParam
195
- * @property {string} [source] - This is a String value that contains callback
196
- * URL as value.
197
- * @property {string} [aggregator] - This is a String value that contains
198
- * aggregator name as value.
197
+ * @property {string} [source] - Callback URL to get callback from aggregator.
198
+ * @property {string} [aggregator] - Aggregator name.
199
199
  */
200
200
 
201
201
  /**
@@ -147,13 +147,13 @@ export = RewardsApplicationModel;
147
147
  */
148
148
  /**
149
149
  * @typedef Page
150
- * @property {number} [item_total]
151
- * @property {string} [next_id]
152
- * @property {boolean} [has_previous]
153
- * @property {boolean} [has_next]
154
- * @property {number} [current]
155
- * @property {string} type
156
- * @property {number} [size]
150
+ * @property {number} [item_total] - The total number of items on the page.
151
+ * @property {string} [next_id] - The identifier for the next page.
152
+ * @property {boolean} [has_previous] - Indicates whether there is a previous page.
153
+ * @property {boolean} [has_next] - Indicates whether there is a next page.
154
+ * @property {number} [current] - The current page number.
155
+ * @property {string} type - The type of the page, such as 'PageType'.
156
+ * @property {number} [size] - The number of items per page.
157
157
  */
158
158
  declare class RewardsApplicationModel {
159
159
  }
@@ -334,11 +334,32 @@ type PointsHistory = {
334
334
  /** @returns {Page} */
335
335
  declare function Page(): Page;
336
336
  type Page = {
337
+ /**
338
+ * - The total number of items on the page.
339
+ */
337
340
  item_total?: number;
341
+ /**
342
+ * - The identifier for the next page.
343
+ */
338
344
  next_id?: string;
345
+ /**
346
+ * - Indicates whether there is a previous page.
347
+ */
339
348
  has_previous?: boolean;
349
+ /**
350
+ * - Indicates whether there is a next page.
351
+ */
340
352
  has_next?: boolean;
353
+ /**
354
+ * - The current page number.
355
+ */
341
356
  current?: number;
357
+ /**
358
+ * - The type of the page, such as 'PageType'.
359
+ */
342
360
  type: string;
361
+ /**
362
+ * - The number of items per page.
363
+ */
343
364
  size?: number;
344
365
  };
@@ -167,13 +167,13 @@ const Joi = require("joi");
167
167
 
168
168
  /**
169
169
  * @typedef Page
170
- * @property {number} [item_total]
171
- * @property {string} [next_id]
172
- * @property {boolean} [has_previous]
173
- * @property {boolean} [has_next]
174
- * @property {number} [current]
175
- * @property {string} type
176
- * @property {number} [size]
170
+ * @property {number} [item_total] - The total number of items on the page.
171
+ * @property {string} [next_id] - The identifier for the next page.
172
+ * @property {boolean} [has_previous] - Indicates whether there is a previous page.
173
+ * @property {boolean} [has_next] - Indicates whether there is a next page.
174
+ * @property {number} [current] - The current page number.
175
+ * @property {string} type - The type of the page, such as 'PageType'.
176
+ * @property {number} [size] - The number of items per page.
177
177
  */
178
178
 
179
179
  class RewardsApplicationModel {