@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
@@ -40,6 +40,10 @@ export = PaymentApplicationValidator;
40
40
  * @typedef CreatePaymentLinkParam
41
41
  * @property {PaymentApplicationModel.CreatePaymentLinkRequest} body
42
42
  */
43
+ /**
44
+ * @typedef CreatePaymentOrderParam
45
+ * @property {PaymentApplicationModel.PaymentOrderRequest} body
46
+ */
43
47
  /**
44
48
  * @typedef CustomerCreditSummaryParam
45
49
  * @property {string} [aggregator]
@@ -52,6 +56,10 @@ export = PaymentApplicationValidator;
52
56
  * @typedef DeleteUserCardParam
53
57
  * @property {PaymentApplicationModel.DeletehCardRequest} body
54
58
  */
59
+ /**
60
+ * @typedef DelinkWalletParam
61
+ * @property {PaymentApplicationModel.WalletDelinkRequestSchema} body
62
+ */
55
63
  /**
56
64
  * @typedef EnableOrDisableRefundTransferModeParam
57
65
  * @property {PaymentApplicationModel.UpdateRefundTransferModeRequest} body
@@ -84,14 +92,17 @@ export = PaymentApplicationValidator;
84
92
  /**
85
93
  * @typedef GetPaymentModeRoutesParam
86
94
  * @property {number} amount - Payable amount.
87
- * @property {string} cartId - Identifier of the cart.
88
- * @property {string} pincode - The PIN Code of the destination address, e.g. 400059
89
- * @property {string} checkoutMode - Option to checkout for self or for others.
95
+ * @property {string} [cartId] - Identifier of the cart.
96
+ * @property {string} [checkoutMode] - Option to checkout for self or for others.
90
97
  * @property {boolean} [refresh] - This is a boolean value. Select `true` to
91
98
  * remove temporary cache files on payment gateway and replace with the latest one.
99
+ * @property {string} [orderId]
92
100
  * @property {string} [cardReference] - Card reference id of user's debit or credit card.
93
101
  * @property {string} [userDetails] - URIencoded JSON containing details of an
94
102
  * 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]
95
106
  */
96
107
  /**
97
108
  * @typedef GetPaymentModeRoutesPaymentLinkParam
@@ -100,9 +111,9 @@ export = PaymentApplicationValidator;
100
111
  /**
101
112
  * @typedef GetPosPaymentModeRoutesParam
102
113
  * @property {number} amount - Payable amount.
103
- * @property {string} cartId - Identifier of the cart.
114
+ * @property {string} [cartId] - Identifier of the cart.
104
115
  * @property {string} pincode - The PIN Code of the destination address, e.g. 400059
105
- * @property {string} checkoutMode - Option to checkout for self or for others.
116
+ * @property {string} [checkoutMode] - Option to checkout for self or for others.
106
117
  * @property {boolean} [refresh] - This is a boolean value. Select `true` to
107
118
  * remove temporary cache files on payment gateway and replace with the latest one.
108
119
  * @property {string} [cardReference] - Card reference id of user's debit or credit card.
@@ -126,6 +137,10 @@ export = PaymentApplicationValidator;
126
137
  * @typedef InitialisePaymentPaymentLinkParam
127
138
  * @property {PaymentApplicationModel.PaymentInitializationRequest} body
128
139
  */
140
+ /**
141
+ * @typedef LinkWalletParam
142
+ * @property {PaymentApplicationModel.WalletVerifyRequestSchema} body
143
+ */
129
144
  /**
130
145
  * @typedef OutstandingOrderDetailsParam
131
146
  * @property {string} [aggregator]
@@ -186,6 +201,10 @@ export = PaymentApplicationValidator;
186
201
  * @typedef VerifyOtpAndAddBeneficiaryForWalletParam
187
202
  * @property {PaymentApplicationModel.WalletOtpRequest} body
188
203
  */
204
+ /**
205
+ * @typedef WalletLinkInitateParam
206
+ * @property {PaymentApplicationModel.WalletLinkRequestSchema} body
207
+ */
189
208
  declare class PaymentApplicationValidator {
190
209
  /** @returns {AddBeneficiaryDetailsParam} */
191
210
  static addBeneficiaryDetails(): AddBeneficiaryDetailsParam;
@@ -207,12 +226,16 @@ declare class PaymentApplicationValidator {
207
226
  static createOrderHandlerPaymentLink(): CreateOrderHandlerPaymentLinkParam;
208
227
  /** @returns {CreatePaymentLinkParam} */
209
228
  static createPaymentLink(): CreatePaymentLinkParam;
229
+ /** @returns {CreatePaymentOrderParam} */
230
+ static createPaymentOrder(): CreatePaymentOrderParam;
210
231
  /** @returns {CustomerCreditSummaryParam} */
211
232
  static customerCreditSummary(): CustomerCreditSummaryParam;
212
233
  /** @returns {CustomerOnboardParam} */
213
234
  static customerOnboard(): CustomerOnboardParam;
214
235
  /** @returns {DeleteUserCardParam} */
215
236
  static deleteUserCard(): DeleteUserCardParam;
237
+ /** @returns {DelinkWalletParam} */
238
+ static delinkWallet(): DelinkWalletParam;
216
239
  /** @returns {EnableOrDisableRefundTransferModeParam} */
217
240
  static enableOrDisableRefundTransferMode(): EnableOrDisableRefundTransferModeParam;
218
241
  /** @returns {GetActiveCardAggregatorParam} */
@@ -243,6 +266,8 @@ declare class PaymentApplicationValidator {
243
266
  static initialisePayment(): InitialisePaymentParam;
244
267
  /** @returns {InitialisePaymentPaymentLinkParam} */
245
268
  static initialisePaymentPaymentLink(): InitialisePaymentPaymentLinkParam;
269
+ /** @returns {LinkWalletParam} */
270
+ static linkWallet(): LinkWalletParam;
246
271
  /** @returns {OutstandingOrderDetailsParam} */
247
272
  static outstandingOrderDetails(): OutstandingOrderDetailsParam;
248
273
  /** @returns {PaidOrderDetailsParam} */
@@ -271,9 +296,11 @@ declare class PaymentApplicationValidator {
271
296
  static verifyOtpAndAddBeneficiaryForBank(): VerifyOtpAndAddBeneficiaryForBankParam;
272
297
  /** @returns {VerifyOtpAndAddBeneficiaryForWalletParam} */
273
298
  static verifyOtpAndAddBeneficiaryForWallet(): VerifyOtpAndAddBeneficiaryForWalletParam;
299
+ /** @returns {WalletLinkInitateParam} */
300
+ static walletLinkInitate(): WalletLinkInitateParam;
274
301
  }
275
302
  declare namespace PaymentApplicationValidator {
276
- export { AddBeneficiaryDetailsParam, AddRefundBankAccountUsingOTPParam, AttachCardToCustomerParam, CancelPaymentLinkParam, CardDetailsParam, CheckAndUpdatePaymentStatusParam, CheckAndUpdatePaymentStatusPaymentLinkParam, CheckCreditParam, CreateOrderHandlerPaymentLinkParam, CreatePaymentLinkParam, CustomerCreditSummaryParam, CustomerOnboardParam, DeleteUserCardParam, EnableOrDisableRefundTransferModeParam, GetActiveCardAggregatorParam, GetActiveRefundTransferModesParam, GetActiveUserCardsParam, GetAggregatorsConfigParam, GetEpaylaterBannerDetailsParam, GetOrderBeneficiariesDetailParam, GetPaymentLinkParam, GetPaymentModeRoutesParam, GetPaymentModeRoutesPaymentLinkParam, GetPosPaymentModeRoutesParam, GetRupifiBannerDetailsParam, GetUserBeneficiariesDetailParam, InitialisePaymentParam, InitialisePaymentPaymentLinkParam, OutstandingOrderDetailsParam, PaidOrderDetailsParam, PollingPaymentLinkParam, RedirectToAggregatorParam, RenderHTMLParam, ResendOrCancelPaymentParam, ResendPaymentLinkParam, UpdateDefaultBeneficiaryParam, ValidateVPAParam, VerifyAndChargePaymentParam, VerifyCustomerForPaymentParam, VerifyIfscCodeParam, VerifyOtpAndAddBeneficiaryForBankParam, VerifyOtpAndAddBeneficiaryForWalletParam };
303
+ export { AddBeneficiaryDetailsParam, AddRefundBankAccountUsingOTPParam, AttachCardToCustomerParam, CancelPaymentLinkParam, CardDetailsParam, CheckAndUpdatePaymentStatusParam, CheckAndUpdatePaymentStatusPaymentLinkParam, CheckCreditParam, CreateOrderHandlerPaymentLinkParam, CreatePaymentLinkParam, CreatePaymentOrderParam, CustomerCreditSummaryParam, CustomerOnboardParam, DeleteUserCardParam, DelinkWalletParam, EnableOrDisableRefundTransferModeParam, GetActiveCardAggregatorParam, GetActiveRefundTransferModesParam, GetActiveUserCardsParam, GetAggregatorsConfigParam, GetEpaylaterBannerDetailsParam, GetOrderBeneficiariesDetailParam, GetPaymentLinkParam, GetPaymentModeRoutesParam, GetPaymentModeRoutesPaymentLinkParam, GetPosPaymentModeRoutesParam, GetRupifiBannerDetailsParam, GetUserBeneficiariesDetailParam, InitialisePaymentParam, InitialisePaymentPaymentLinkParam, LinkWalletParam, OutstandingOrderDetailsParam, PaidOrderDetailsParam, PollingPaymentLinkParam, RedirectToAggregatorParam, RenderHTMLParam, ResendOrCancelPaymentParam, ResendPaymentLinkParam, UpdateDefaultBeneficiaryParam, ValidateVPAParam, VerifyAndChargePaymentParam, VerifyCustomerForPaymentParam, VerifyIfscCodeParam, VerifyOtpAndAddBeneficiaryForBankParam, VerifyOtpAndAddBeneficiaryForWalletParam, WalletLinkInitateParam };
277
304
  }
278
305
  type AddBeneficiaryDetailsParam = {
279
306
  body: PaymentApplicationModel.AddBeneficiaryDetailsRequest;
@@ -309,6 +336,9 @@ type CreateOrderHandlerPaymentLinkParam = {
309
336
  type CreatePaymentLinkParam = {
310
337
  body: PaymentApplicationModel.CreatePaymentLinkRequest;
311
338
  };
339
+ type CreatePaymentOrderParam = {
340
+ body: PaymentApplicationModel.PaymentOrderRequest;
341
+ };
312
342
  type CustomerCreditSummaryParam = {
313
343
  aggregator?: string;
314
344
  };
@@ -318,6 +348,9 @@ type CustomerOnboardParam = {
318
348
  type DeleteUserCardParam = {
319
349
  body: PaymentApplicationModel.DeletehCardRequest;
320
350
  };
351
+ type DelinkWalletParam = {
352
+ body: PaymentApplicationModel.WalletDelinkRequestSchema;
353
+ };
321
354
  type EnableOrDisableRefundTransferModeParam = {
322
355
  body: PaymentApplicationModel.UpdateRefundTransferModeRequest;
323
356
  };
@@ -356,20 +389,17 @@ type GetPaymentModeRoutesParam = {
356
389
  /**
357
390
  * - Identifier of the cart.
358
391
  */
359
- cartId: string;
360
- /**
361
- * - The PIN Code of the destination address, e.g. 400059
362
- */
363
- pincode: string;
392
+ cartId?: string;
364
393
  /**
365
394
  * - Option to checkout for self or for others.
366
395
  */
367
- checkoutMode: string;
396
+ checkoutMode?: string;
368
397
  /**
369
398
  * - This is a boolean value. Select `true` to
370
399
  * remove temporary cache files on payment gateway and replace with the latest one.
371
400
  */
372
401
  refresh?: boolean;
402
+ orderId?: string;
373
403
  /**
374
404
  * - Card reference id of user's debit or credit card.
375
405
  */
@@ -379,6 +409,15 @@ type GetPaymentModeRoutesParam = {
379
409
  * anonymous user.
380
410
  */
381
411
  userDetails?: string;
412
+ /**
413
+ * - Display Split Payment Option or not
414
+ */
415
+ displaySplit?: boolean;
416
+ /**
417
+ * - Display Advance Payment Options or Normal
418
+ */
419
+ advancePayment?: boolean;
420
+ shipmentId?: string;
382
421
  };
383
422
  type GetPaymentModeRoutesPaymentLinkParam = {
384
423
  /**
@@ -394,7 +433,7 @@ type GetPosPaymentModeRoutesParam = {
394
433
  /**
395
434
  * - Identifier of the cart.
396
435
  */
397
- cartId: string;
436
+ cartId?: string;
398
437
  /**
399
438
  * - The PIN Code of the destination address, e.g. 400059
400
439
  */
@@ -402,7 +441,7 @@ type GetPosPaymentModeRoutesParam = {
402
441
  /**
403
442
  * - Option to checkout for self or for others.
404
443
  */
405
- checkoutMode: string;
444
+ checkoutMode?: string;
406
445
  /**
407
446
  * - This is a boolean value. Select `true` to
408
447
  * remove temporary cache files on payment gateway and replace with the latest one.
@@ -437,6 +476,9 @@ type InitialisePaymentParam = {
437
476
  type InitialisePaymentPaymentLinkParam = {
438
477
  body: PaymentApplicationModel.PaymentInitializationRequest;
439
478
  };
479
+ type LinkWalletParam = {
480
+ body: PaymentApplicationModel.WalletVerifyRequestSchema;
481
+ };
440
482
  type OutstandingOrderDetailsParam = {
441
483
  aggregator?: string;
442
484
  };
@@ -492,6 +534,9 @@ type VerifyOtpAndAddBeneficiaryForBankParam = {
492
534
  type VerifyOtpAndAddBeneficiaryForWalletParam = {
493
535
  body: PaymentApplicationModel.WalletOtpRequest;
494
536
  };
537
+ type WalletLinkInitateParam = {
538
+ body: PaymentApplicationModel.WalletLinkRequestSchema;
539
+ };
495
540
  type GetActiveRefundTransferModesParam = any;
496
541
  type GetEpaylaterBannerDetailsParam = any;
497
542
  type GetRupifiBannerDetailsParam = any;
@@ -53,6 +53,11 @@ const PaymentApplicationModel = require("./PaymentApplicationModel");
53
53
  * @property {PaymentApplicationModel.CreatePaymentLinkRequest} body
54
54
  */
55
55
 
56
+ /**
57
+ * @typedef CreatePaymentOrderParam
58
+ * @property {PaymentApplicationModel.PaymentOrderRequest} body
59
+ */
60
+
56
61
  /**
57
62
  * @typedef CustomerCreditSummaryParam
58
63
  * @property {string} [aggregator]
@@ -68,6 +73,11 @@ const PaymentApplicationModel = require("./PaymentApplicationModel");
68
73
  * @property {PaymentApplicationModel.DeletehCardRequest} body
69
74
  */
70
75
 
76
+ /**
77
+ * @typedef DelinkWalletParam
78
+ * @property {PaymentApplicationModel.WalletDelinkRequestSchema} body
79
+ */
80
+
71
81
  /**
72
82
  * @typedef EnableOrDisableRefundTransferModeParam
73
83
  * @property {PaymentApplicationModel.UpdateRefundTransferModeRequest} body
@@ -108,14 +118,17 @@ const PaymentApplicationModel = require("./PaymentApplicationModel");
108
118
  /**
109
119
  * @typedef GetPaymentModeRoutesParam
110
120
  * @property {number} amount - Payable amount.
111
- * @property {string} cartId - Identifier of the cart.
112
- * @property {string} pincode - The PIN Code of the destination address, e.g. 400059
113
- * @property {string} checkoutMode - Option to checkout for self or for others.
121
+ * @property {string} [cartId] - Identifier of the cart.
122
+ * @property {string} [checkoutMode] - Option to checkout for self or for others.
114
123
  * @property {boolean} [refresh] - This is a boolean value. Select `true` to
115
124
  * remove temporary cache files on payment gateway and replace with the latest one.
125
+ * @property {string} [orderId]
116
126
  * @property {string} [cardReference] - Card reference id of user's debit or credit card.
117
127
  * @property {string} [userDetails] - URIencoded JSON containing details of an
118
128
  * 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]
119
132
  */
120
133
 
121
134
  /**
@@ -126,9 +139,9 @@ const PaymentApplicationModel = require("./PaymentApplicationModel");
126
139
  /**
127
140
  * @typedef GetPosPaymentModeRoutesParam
128
141
  * @property {number} amount - Payable amount.
129
- * @property {string} cartId - Identifier of the cart.
142
+ * @property {string} [cartId] - Identifier of the cart.
130
143
  * @property {string} pincode - The PIN Code of the destination address, e.g. 400059
131
- * @property {string} checkoutMode - Option to checkout for self or for others.
144
+ * @property {string} [checkoutMode] - Option to checkout for self or for others.
132
145
  * @property {boolean} [refresh] - This is a boolean value. Select `true` to
133
146
  * remove temporary cache files on payment gateway and replace with the latest one.
134
147
  * @property {string} [cardReference] - Card reference id of user's debit or credit card.
@@ -157,6 +170,11 @@ const PaymentApplicationModel = require("./PaymentApplicationModel");
157
170
  * @property {PaymentApplicationModel.PaymentInitializationRequest} body
158
171
  */
159
172
 
173
+ /**
174
+ * @typedef LinkWalletParam
175
+ * @property {PaymentApplicationModel.WalletVerifyRequestSchema} body
176
+ */
177
+
160
178
  /**
161
179
  * @typedef OutstandingOrderDetailsParam
162
180
  * @property {string} [aggregator]
@@ -231,6 +249,11 @@ const PaymentApplicationModel = require("./PaymentApplicationModel");
231
249
  * @property {PaymentApplicationModel.WalletOtpRequest} body
232
250
  */
233
251
 
252
+ /**
253
+ * @typedef WalletLinkInitateParam
254
+ * @property {PaymentApplicationModel.WalletLinkRequestSchema} body
255
+ */
256
+
234
257
  class PaymentApplicationValidator {
235
258
  /** @returns {AddBeneficiaryDetailsParam} */
236
259
  static addBeneficiaryDetails() {
@@ -303,6 +326,13 @@ class PaymentApplicationValidator {
303
326
  }).required();
304
327
  }
305
328
 
329
+ /** @returns {CreatePaymentOrderParam} */
330
+ static createPaymentOrder() {
331
+ return Joi.object({
332
+ body: PaymentApplicationModel.PaymentOrderRequest().required(),
333
+ }).required();
334
+ }
335
+
306
336
  /** @returns {CustomerCreditSummaryParam} */
307
337
  static customerCreditSummary() {
308
338
  return Joi.object({
@@ -324,6 +354,13 @@ class PaymentApplicationValidator {
324
354
  }).required();
325
355
  }
326
356
 
357
+ /** @returns {DelinkWalletParam} */
358
+ static delinkWallet() {
359
+ return Joi.object({
360
+ body: PaymentApplicationModel.WalletDelinkRequestSchema().required(),
361
+ }).required();
362
+ }
363
+
327
364
  /** @returns {EnableOrDisableRefundTransferModeParam} */
328
365
  static enableOrDisableRefundTransferMode() {
329
366
  return Joi.object({
@@ -381,12 +418,15 @@ class PaymentApplicationValidator {
381
418
  static getPaymentModeRoutes() {
382
419
  return Joi.object({
383
420
  amount: Joi.number().required(),
384
- cartId: Joi.string().allow("").required(),
385
- pincode: Joi.string().allow("").required(),
386
- checkoutMode: Joi.string().allow("").required(),
421
+ cartId: Joi.string().allow(""),
422
+ checkoutMode: Joi.string().allow(""),
387
423
  refresh: Joi.boolean(),
424
+ orderId: Joi.string().allow(""),
388
425
  cardReference: Joi.string().allow(""),
389
426
  userDetails: Joi.string().allow(""),
427
+ displaySplit: Joi.boolean(),
428
+ advancePayment: Joi.boolean(),
429
+ shipmentId: Joi.string().allow(""),
390
430
  }).required();
391
431
  }
392
432
 
@@ -401,9 +441,9 @@ class PaymentApplicationValidator {
401
441
  static getPosPaymentModeRoutes() {
402
442
  return Joi.object({
403
443
  amount: Joi.number().required(),
404
- cartId: Joi.string().allow("").required(),
444
+ cartId: Joi.string().allow(""),
405
445
  pincode: Joi.string().allow("").required(),
406
- checkoutMode: Joi.string().allow("").required(),
446
+ checkoutMode: Joi.string().allow(""),
407
447
  refresh: Joi.boolean(),
408
448
  cardReference: Joi.string().allow(""),
409
449
  orderType: Joi.string().allow("").required(),
@@ -437,6 +477,13 @@ class PaymentApplicationValidator {
437
477
  }).required();
438
478
  }
439
479
 
480
+ /** @returns {LinkWalletParam} */
481
+ static linkWallet() {
482
+ return Joi.object({
483
+ body: PaymentApplicationModel.WalletVerifyRequestSchema().required(),
484
+ }).required();
485
+ }
486
+
440
487
  /** @returns {OutstandingOrderDetailsParam} */
441
488
  static outstandingOrderDetails() {
442
489
  return Joi.object({
@@ -535,6 +582,13 @@ class PaymentApplicationValidator {
535
582
  body: PaymentApplicationModel.WalletOtpRequest().required(),
536
583
  }).required();
537
584
  }
585
+
586
+ /** @returns {WalletLinkInitateParam} */
587
+ static walletLinkInitate() {
588
+ return Joi.object({
589
+ body: PaymentApplicationModel.WalletLinkRequestSchema().required(),
590
+ }).required();
591
+ }
538
592
  }
539
593
 
540
594
  module.exports = PaymentApplicationValidator;
@@ -59,7 +59,9 @@ export = PosCartApplicationModel;
59
59
  * @property {Object} [meta]
60
60
  * @property {string} [name]
61
61
  * @property {string} [phone]
62
+ * @property {string} [sector]
62
63
  * @property {string} [state]
64
+ * @property {string} [state_code] - State code for international address
63
65
  * @property {string[]} [tags]
64
66
  * @property {string} [user_id]
65
67
  */
@@ -78,6 +80,7 @@ export = PosCartApplicationModel;
78
80
  * @property {number} [article_quantity] - Quantity of article on which
79
81
  * promotion is applicable
80
82
  * @property {BuyRules[]} [buy_rules] - Buy rules for promotions
83
+ * @property {CartCurrency} [currency]
81
84
  * @property {DiscountRulesApp[]} [discount_rules] - Discount rules for promotions
82
85
  * @property {boolean} [mrp_promotion] - If applied promotion is applied on
83
86
  * product MRP or ESP
@@ -551,6 +554,7 @@ export = PosCartApplicationModel;
551
554
  * @property {string} [seller_identifier]
552
555
  * @property {string} [size]
553
556
  * @property {StoreInfo} [store]
557
+ * @property {string[]} [tags] - A list of article tags
554
558
  * @property {string} [type]
555
559
  * @property {string} [uid]
556
560
  */
@@ -594,6 +598,11 @@ export = PosCartApplicationModel;
594
598
  * @property {string} [max]
595
599
  * @property {string} [min]
596
600
  */
601
+ /**
602
+ * @typedef PromiseISOFormat
603
+ * @property {string} [max] - Max promise in ISO format.
604
+ * @property {string} [min] - Min Promise in ISO format.
605
+ */
597
606
  /**
598
607
  * @typedef PromiseTimestamp
599
608
  * @property {number} [max]
@@ -673,6 +682,7 @@ export = PosCartApplicationModel;
673
682
  /**
674
683
  * @typedef ShipmentPromise
675
684
  * @property {PromiseFormatted} [formatted]
685
+ * @property {PromiseISOFormat} [iso]
676
686
  * @property {PromiseTimestamp} [timestamp]
677
687
  */
678
688
  /**
@@ -764,7 +774,7 @@ export = PosCartApplicationModel;
764
774
  declare class PosCartApplicationModel {
765
775
  }
766
776
  declare namespace PosCartApplicationModel {
767
- export { ActionQuery, AddCartDetailResponse, AddCartRequest, AddProductCart, Address, AppliedFreeArticles, AppliedPromotion, ApplyCouponRequest, ArticleGiftDetail, ArticlePriceInfo, BaseInfo, BasePrice, BulkPriceOffer, BulkPriceResponse, BuyRules, CartBreakup, CartCheckoutCustomMeta, CartCheckoutResponse, CartCurrency, CartDeliveryModesResponse, CartDetailResponse, CartItemCountResponse, CartMetaMissingResponse, CartMetaRequest, CartMetaResponse, CartPosCheckoutDetailRequest, CartProduct, CartProductIdentifer, CartProductInfo, CartShipmentsResponse, CategoryInfo, CheckCart, Coupon, CouponBreakup, CouponDetails, CouponValidity, CustomerDetails, DeleteAddressResponse, DiscountRulesApp, DisplayBreakup, Files, FreeGiftItem, GeoLocation, GetAddressesResponse, GetCouponResponse, GetShareCartLinkRequest, GetShareCartLinkResponse, GiftDetail, LoyaltyPoints, OfferItem, OfferPrice, OfferSeller, Ownership, PageCoupon, PaymentCouponValidate, PaymentSelectionLock, PickupStoreDetail, ProductAction, ProductArticle, ProductAvailability, ProductAvailabilitySize, ProductImage, ProductPrice, ProductPriceInfo, PromiseFormatted, PromiseTimestamp, PromoMeta, RawBreakup, RewardPointRequest, SaveAddressResponse, SelectCartAddressRequest, SharedCart, SharedCartDetails, SharedCartResponse, ShipmentPromise, ShipmentResponse, StaffCheckout, StoreDetailsResponse, StoreInfo, Tags, UpdateAddressResponse, UpdateCartDetailResponse, UpdateCartPaymentRequest, UpdateCartRequest, UpdateCartShipmentItem, UpdateCartShipmentRequest, UpdateProductCart };
777
+ export { ActionQuery, AddCartDetailResponse, AddCartRequest, AddProductCart, Address, AppliedFreeArticles, AppliedPromotion, ApplyCouponRequest, ArticleGiftDetail, ArticlePriceInfo, BaseInfo, BasePrice, BulkPriceOffer, BulkPriceResponse, BuyRules, CartBreakup, CartCheckoutCustomMeta, CartCheckoutResponse, CartCurrency, CartDeliveryModesResponse, CartDetailResponse, CartItemCountResponse, CartMetaMissingResponse, CartMetaRequest, CartMetaResponse, CartPosCheckoutDetailRequest, CartProduct, CartProductIdentifer, CartProductInfo, CartShipmentsResponse, CategoryInfo, CheckCart, Coupon, CouponBreakup, CouponDetails, CouponValidity, CustomerDetails, DeleteAddressResponse, DiscountRulesApp, DisplayBreakup, Files, FreeGiftItem, GeoLocation, GetAddressesResponse, GetCouponResponse, GetShareCartLinkRequest, GetShareCartLinkResponse, GiftDetail, LoyaltyPoints, OfferItem, OfferPrice, OfferSeller, Ownership, PageCoupon, PaymentCouponValidate, PaymentSelectionLock, PickupStoreDetail, ProductAction, ProductArticle, ProductAvailability, ProductAvailabilitySize, ProductImage, ProductPrice, ProductPriceInfo, PromiseFormatted, PromiseISOFormat, PromiseTimestamp, PromoMeta, RawBreakup, RewardPointRequest, SaveAddressResponse, SelectCartAddressRequest, SharedCart, SharedCartDetails, SharedCartResponse, ShipmentPromise, ShipmentResponse, StaffCheckout, StoreDetailsResponse, StoreInfo, Tags, UpdateAddressResponse, UpdateCartDetailResponse, UpdateCartPaymentRequest, UpdateCartRequest, UpdateCartShipmentItem, UpdateCartShipmentRequest, UpdateProductCart };
768
778
  }
769
779
  /** @returns {ActionQuery} */
770
780
  declare function ActionQuery(): ActionQuery;
@@ -840,7 +850,12 @@ type Address = {
840
850
  meta?: any;
841
851
  name?: string;
842
852
  phone?: string;
853
+ sector?: string;
843
854
  state?: string;
855
+ /**
856
+ * - State code for international address
857
+ */
858
+ state_code?: string;
844
859
  tags?: string[];
845
860
  user_id?: string;
846
861
  };
@@ -885,6 +900,7 @@ type AppliedPromotion = {
885
900
  * - Buy rules for promotions
886
901
  */
887
902
  buy_rules?: BuyRules[];
903
+ currency?: CartCurrency;
888
904
  /**
889
905
  * - Discount rules for promotions
890
906
  */
@@ -1560,6 +1576,10 @@ type ProductArticle = {
1560
1576
  seller_identifier?: string;
1561
1577
  size?: string;
1562
1578
  store?: StoreInfo;
1579
+ /**
1580
+ * - A list of article tags
1581
+ */
1582
+ tags?: string[];
1563
1583
  type?: string;
1564
1584
  uid?: string;
1565
1585
  };
@@ -1609,6 +1629,18 @@ type PromiseFormatted = {
1609
1629
  max?: string;
1610
1630
  min?: string;
1611
1631
  };
1632
+ /** @returns {PromiseISOFormat} */
1633
+ declare function PromiseISOFormat(): PromiseISOFormat;
1634
+ type PromiseISOFormat = {
1635
+ /**
1636
+ * - Max promise in ISO format.
1637
+ */
1638
+ max?: string;
1639
+ /**
1640
+ * - Min Promise in ISO format.
1641
+ */
1642
+ min?: string;
1643
+ };
1612
1644
  /** @returns {PromiseTimestamp} */
1613
1645
  declare function PromiseTimestamp(): PromiseTimestamp;
1614
1646
  type PromiseTimestamp = {
@@ -1710,6 +1742,7 @@ type SharedCartResponse = {
1710
1742
  declare function ShipmentPromise(): ShipmentPromise;
1711
1743
  type ShipmentPromise = {
1712
1744
  formatted?: PromiseFormatted;
1745
+ iso?: PromiseISOFormat;
1713
1746
  timestamp?: PromiseTimestamp;
1714
1747
  };
1715
1748
  /** @returns {ShipmentResponse} */
@@ -64,7 +64,9 @@ const Joi = require("joi");
64
64
  * @property {Object} [meta]
65
65
  * @property {string} [name]
66
66
  * @property {string} [phone]
67
+ * @property {string} [sector]
67
68
  * @property {string} [state]
69
+ * @property {string} [state_code] - State code for international address
68
70
  * @property {string[]} [tags]
69
71
  * @property {string} [user_id]
70
72
  */
@@ -85,6 +87,7 @@ const Joi = require("joi");
85
87
  * @property {number} [article_quantity] - Quantity of article on which
86
88
  * promotion is applicable
87
89
  * @property {BuyRules[]} [buy_rules] - Buy rules for promotions
90
+ * @property {CartCurrency} [currency]
88
91
  * @property {DiscountRulesApp[]} [discount_rules] - Discount rules for promotions
89
92
  * @property {boolean} [mrp_promotion] - If applied promotion is applied on
90
93
  * product MRP or ESP
@@ -610,6 +613,7 @@ const Joi = require("joi");
610
613
  * @property {string} [seller_identifier]
611
614
  * @property {string} [size]
612
615
  * @property {StoreInfo} [store]
616
+ * @property {string[]} [tags] - A list of article tags
613
617
  * @property {string} [type]
614
618
  * @property {string} [uid]
615
619
  */
@@ -660,6 +664,12 @@ const Joi = require("joi");
660
664
  * @property {string} [min]
661
665
  */
662
666
 
667
+ /**
668
+ * @typedef PromiseISOFormat
669
+ * @property {string} [max] - Max promise in ISO format.
670
+ * @property {string} [min] - Min Promise in ISO format.
671
+ */
672
+
663
673
  /**
664
674
  * @typedef PromiseTimestamp
665
675
  * @property {number} [max]
@@ -748,6 +758,7 @@ const Joi = require("joi");
748
758
  /**
749
759
  * @typedef ShipmentPromise
750
760
  * @property {PromiseFormatted} [formatted]
761
+ * @property {PromiseISOFormat} [iso]
751
762
  * @property {PromiseTimestamp} [timestamp]
752
763
  */
753
764
 
@@ -923,7 +934,9 @@ class PosCartApplicationModel {
923
934
  meta: Joi.any(),
924
935
  name: Joi.string().allow(""),
925
936
  phone: Joi.string().allow(""),
937
+ sector: Joi.string().allow(""),
926
938
  state: Joi.string().allow(""),
939
+ state_code: Joi.string().allow(""),
927
940
  tags: Joi.array().items(Joi.string().allow("")),
928
941
  user_id: Joi.string().allow(""),
929
942
  });
@@ -948,6 +961,7 @@ class PosCartApplicationModel {
948
961
  ),
949
962
  article_quantity: Joi.number(),
950
963
  buy_rules: Joi.array().items(PosCartApplicationModel.BuyRules()),
964
+ currency: PosCartApplicationModel.CartCurrency(),
951
965
  discount_rules: Joi.array().items(
952
966
  PosCartApplicationModel.DiscountRulesApp()
953
967
  ),
@@ -1580,6 +1594,7 @@ class PosCartApplicationModel {
1580
1594
  seller_identifier: Joi.string().allow(""),
1581
1595
  size: Joi.string().allow(""),
1582
1596
  store: PosCartApplicationModel.StoreInfo(),
1597
+ tags: Joi.array().items(Joi.string().allow("")),
1583
1598
  type: Joi.string().allow(""),
1584
1599
  uid: Joi.string().allow(""),
1585
1600
  });
@@ -1645,6 +1660,14 @@ class PosCartApplicationModel {
1645
1660
  });
1646
1661
  }
1647
1662
 
1663
+ /** @returns {PromiseISOFormat} */
1664
+ static PromiseISOFormat() {
1665
+ return Joi.object({
1666
+ max: Joi.string().allow(""),
1667
+ min: Joi.string().allow(""),
1668
+ });
1669
+ }
1670
+
1648
1671
  /** @returns {PromiseTimestamp} */
1649
1672
  static PromiseTimestamp() {
1650
1673
  return Joi.object({
@@ -1752,6 +1775,7 @@ class PosCartApplicationModel {
1752
1775
  static ShipmentPromise() {
1753
1776
  return Joi.object({
1754
1777
  formatted: PosCartApplicationModel.PromiseFormatted(),
1778
+ iso: PosCartApplicationModel.PromiseISOFormat(),
1755
1779
  timestamp: PosCartApplicationModel.PromiseTimestamp(),
1756
1780
  });
1757
1781
  }
@@ -39,7 +39,7 @@ declare class Theme {
39
39
  * @summary: Get page of a theme
40
40
  * @description: Use this API to retrieve a page of a theme. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/theme/getPage/).
41
41
  */
42
- getPage({ themeId, pageValue, requestHeaders }?: ThemeApplicationValidator.GetPageParam, { responseHeaders }?: object): Promise<ThemeApplicationModel.AvailablePageSchema>;
42
+ getPage({ themeId, pageValue, filters, company, requestHeaders }?: ThemeApplicationValidator.GetPageParam, { responseHeaders }?: object): Promise<ThemeApplicationModel.AvailablePageSchema>;
43
43
  /**
44
44
  * @param {ThemeApplicationValidator.GetThemeForPreviewParam} arg - Arg object.
45
45
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -201,11 +201,13 @@ class Theme {
201
201
  * @description: Use this API to retrieve a page of a theme. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/theme/getPage/).
202
202
  */
203
203
  async getPage(
204
- { themeId, pageValue, requestHeaders } = { requestHeaders: {} },
204
+ { themeId, pageValue, filters, company, requestHeaders } = {
205
+ requestHeaders: {},
206
+ },
205
207
  { responseHeaders } = { responseHeaders: false }
206
208
  ) {
207
209
  const { error } = ThemeApplicationValidator.getPage().validate(
208
- { themeId, pageValue },
210
+ { themeId, pageValue, filters, company },
209
211
  { abortEarly: false, allowUnknown: true }
210
212
  );
211
213
  if (error) {
@@ -214,7 +216,7 @@ class Theme {
214
216
 
215
217
  // Showing warrnings if extra unknown parameters are found
216
218
  const { error: warrning } = ThemeApplicationValidator.getPage().validate(
217
- { themeId, pageValue },
219
+ { themeId, pageValue, filters, company },
218
220
  { abortEarly: false, allowUnknown: false }
219
221
  );
220
222
  if (warrning) {
@@ -225,6 +227,8 @@ class Theme {
225
227
  }
226
228
 
227
229
  const query_params = {};
230
+ query_params["filters"] = filters;
231
+ query_params["company"] = company;
228
232
 
229
233
  const xHeaders = {};
230
234