ce-storefront 0.3.17 → 0.4.0

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 (484) hide show
  1. package/FUNCTIONS.md +2 -2
  2. package/README.md +108 -129
  3. package/docs/sdks/addresses/README.md +363 -4
  4. package/docs/sdks/auth/README.md +0 -72
  5. package/docs/sdks/{cestorefrontaddresses → cestorefrontreviews}/README.md +34 -123
  6. package/docs/sdks/cestorefrontuser/README.md +735 -6
  7. package/docs/sdks/customers/README.md +18 -192
  8. package/docs/sdks/juspay/README.md +15 -15
  9. package/docs/sdks/loyalty/README.md +81 -0
  10. package/docs/sdks/notificationpreferences/README.md +162 -4
  11. package/docs/sdks/orders/README.md +5 -163
  12. package/docs/sdks/payments/README.md +95 -15
  13. package/docs/sdks/products/README.md +94 -15
  14. package/docs/sdks/{cards → refunds}/README.md +11 -12
  15. package/docs/sdks/reviews/README.md +13 -17
  16. package/docs/sdks/{catalogproducts → shipments}/README.md +12 -12
  17. package/docs/sdks/{shipment → shipping}/README.md +5 -5
  18. package/docs/sdks/{catalogskus → skus}/README.md +3 -3
  19. package/docs/sdks/user/README.md +0 -425
  20. package/docs/sdks/utils/README.md +72 -0
  21. package/docs/sdks/wishlist/README.md +5 -5
  22. package/esm/funcs/{authUsersAddProfileImage.d.ts → authUserAddProfileImage.d.ts} +2 -2
  23. package/esm/funcs/authUserAddProfileImage.d.ts.map +1 -0
  24. package/esm/funcs/{authUsersAddProfileImage.js → authUserAddProfileImage.js} +2 -2
  25. package/esm/funcs/authUserAddProfileImage.js.map +1 -0
  26. package/esm/funcs/{authUserDeactivate.d.ts → authUserDeactivateAccount.d.ts} +2 -2
  27. package/esm/funcs/authUserDeactivateAccount.d.ts.map +1 -0
  28. package/esm/funcs/{authUserDeactivate.js → authUserDeactivateAccount.js} +2 -2
  29. package/esm/funcs/authUserDeactivateAccount.js.map +1 -0
  30. package/esm/funcs/{userDeleteProfileImage.d.ts → authUserDeleteProfileImage.d.ts} +2 -2
  31. package/esm/funcs/authUserDeleteProfileImage.d.ts.map +1 -0
  32. package/esm/funcs/{userDeleteProfileImage.js → authUserDeleteProfileImage.js} +2 -2
  33. package/esm/funcs/authUserDeleteProfileImage.js.map +1 -0
  34. package/esm/funcs/{usersGet.d.ts → authUserGet.d.ts} +2 -2
  35. package/esm/funcs/authUserGet.d.ts.map +1 -0
  36. package/esm/funcs/{usersGet.js → authUserGet.js} +2 -2
  37. package/esm/funcs/authUserGet.js.map +1 -0
  38. package/esm/funcs/{usersGetProfileImage.d.ts → authUserGetProfileImage.d.ts} +2 -2
  39. package/esm/funcs/authUserGetProfileImage.d.ts.map +1 -0
  40. package/esm/funcs/{usersGetProfileImage.js → authUserGetProfileImage.js} +2 -2
  41. package/esm/funcs/authUserGetProfileImage.js.map +1 -0
  42. package/esm/funcs/{authLogout.d.ts → authUserLogout.d.ts} +2 -2
  43. package/esm/funcs/authUserLogout.d.ts.map +1 -0
  44. package/esm/funcs/{authLogout.js → authUserLogout.js} +2 -2
  45. package/esm/funcs/authUserLogout.js.map +1 -0
  46. package/esm/funcs/{userResetPassword.d.ts → authUserResetPassword.d.ts} +2 -2
  47. package/esm/funcs/authUserResetPassword.d.ts.map +1 -0
  48. package/esm/funcs/{userResetPassword.js → authUserResetPassword.js} +2 -2
  49. package/esm/funcs/authUserResetPassword.js.map +1 -0
  50. package/esm/funcs/{userUpdate.d.ts → authUserUpdate.d.ts} +2 -2
  51. package/esm/funcs/authUserUpdate.d.ts.map +1 -0
  52. package/esm/funcs/{userUpdate.js → authUserUpdate.js} +2 -2
  53. package/esm/funcs/authUserUpdate.js.map +1 -0
  54. package/esm/funcs/{userUpdateProfileImage.d.ts → authUserUpdateProfileImage.d.ts} +2 -2
  55. package/esm/funcs/authUserUpdateProfileImage.d.ts.map +1 -0
  56. package/esm/funcs/{userUpdateProfileImage.js → authUserUpdateProfileImage.js} +2 -2
  57. package/esm/funcs/authUserUpdateProfileImage.js.map +1 -0
  58. package/esm/funcs/{addressesGet.d.ts → catalogProductsGetCrossSells.d.ts} +4 -4
  59. package/esm/funcs/catalogProductsGetCrossSells.d.ts.map +1 -0
  60. package/esm/funcs/{productsListCrossSells.js → catalogProductsGetCrossSells.js} +2 -2
  61. package/esm/funcs/catalogProductsGetCrossSells.js.map +1 -0
  62. package/esm/funcs/{productsGetSimilar.d.ts → catalogProductsGetSimilar.d.ts} +2 -2
  63. package/esm/funcs/catalogProductsGetSimilar.d.ts.map +1 -0
  64. package/esm/funcs/{productsGetSimilar.js → catalogProductsGetSimilar.js} +2 -2
  65. package/esm/funcs/catalogProductsGetSimilar.js.map +1 -0
  66. package/esm/funcs/{productsGetUpsells.d.ts → catalogProductsGetUpsells.d.ts} +2 -2
  67. package/esm/funcs/catalogProductsGetUpsells.d.ts.map +1 -0
  68. package/esm/funcs/{productsGetUpsells.js → catalogProductsGetUpsells.js} +2 -2
  69. package/esm/funcs/catalogProductsGetUpsells.js.map +1 -0
  70. package/esm/funcs/{productsList.d.ts → catalogProductsList.d.ts} +2 -2
  71. package/esm/funcs/{customersAddAddress.d.ts.map → catalogProductsList.d.ts.map} +1 -1
  72. package/esm/funcs/{productsList.js → catalogProductsList.js} +2 -2
  73. package/esm/funcs/catalogProductsList.js.map +1 -0
  74. package/esm/funcs/{catalogProductReviewsCreate.d.ts → catalogProductsReviewsCreate.d.ts} +2 -2
  75. package/esm/funcs/catalogProductsReviewsCreate.d.ts.map +1 -0
  76. package/esm/funcs/{catalogProductReviewsCreate.js → catalogProductsReviewsCreate.js} +2 -2
  77. package/esm/funcs/catalogProductsReviewsCreate.js.map +1 -0
  78. package/esm/funcs/{customersUpdate.d.ts → customersAddressesAdd.d.ts} +4 -4
  79. package/esm/funcs/customersAddressesAdd.d.ts.map +1 -0
  80. package/esm/funcs/{customersAddAddress.js → customersAddressesAdd.js} +2 -2
  81. package/esm/funcs/customersAddressesAdd.js.map +1 -0
  82. package/esm/funcs/customersAddressesGet.d.ts +16 -0
  83. package/esm/funcs/customersAddressesGet.d.ts.map +1 -0
  84. package/esm/funcs/{addressesGet.js → customersAddressesGet.js} +2 -2
  85. package/esm/funcs/customersAddressesGet.js.map +1 -0
  86. package/esm/funcs/{customersGet.d.ts → customersGetCustomersId.d.ts} +2 -2
  87. package/esm/funcs/customersGetCustomersId.d.ts.map +1 -0
  88. package/esm/funcs/{customersGet.js → customersGetCustomersId.js} +2 -2
  89. package/esm/funcs/customersGetCustomersId.js.map +1 -0
  90. package/esm/funcs/{loyaltyPointsListActivities.d.ts → customersLoyaltyListActivities.d.ts} +2 -2
  91. package/esm/funcs/customersLoyaltyListActivities.d.ts.map +1 -0
  92. package/esm/funcs/{loyaltyPointsListActivities.js → customersLoyaltyListActivities.js} +2 -2
  93. package/esm/funcs/customersLoyaltyListActivities.js.map +1 -0
  94. package/esm/funcs/{customersCreate.d.ts → customersPostCustomers.d.ts} +2 -2
  95. package/esm/funcs/customersPostCustomers.d.ts.map +1 -0
  96. package/esm/funcs/{customersCreate.js → customersPostCustomers.js} +2 -2
  97. package/esm/funcs/customersPostCustomers.js.map +1 -0
  98. package/esm/funcs/customersPutCustomersId.d.ts +16 -0
  99. package/esm/funcs/customersPutCustomersId.d.ts.map +1 -0
  100. package/esm/funcs/{customersUpdate.js → customersPutCustomersId.js} +2 -2
  101. package/esm/funcs/customersPutCustomersId.js.map +1 -0
  102. package/esm/funcs/{ordersGetPaymentStatus.d.ts → customersReviewsList.d.ts} +4 -4
  103. package/esm/funcs/{usersGetProfileImage.d.ts.map → customersReviewsList.d.ts.map} +1 -1
  104. package/esm/funcs/{customersGetReviews.js → customersReviewsList.js} +2 -2
  105. package/esm/funcs/{usersGetProfileImage.js.map → customersReviewsList.js.map} +1 -1
  106. package/esm/funcs/{juspayGetCustomer.d.ts → juspayGetPaymentsJuspayCustomer.d.ts} +2 -2
  107. package/esm/funcs/juspayGetPaymentsJuspayCustomer.d.ts.map +1 -0
  108. package/esm/funcs/{juspayGetCustomer.js → juspayGetPaymentsJuspayCustomer.js} +2 -2
  109. package/esm/funcs/{juspayCreateOrder.js.map → juspayGetPaymentsJuspayCustomer.js.map} +1 -1
  110. package/esm/funcs/{wishlistRemoveItem.d.ts → juspayPostPaymentsJuspayCreateCustomer.d.ts} +5 -4
  111. package/esm/funcs/juspayPostPaymentsJuspayCreateCustomer.d.ts.map +1 -0
  112. package/esm/funcs/{juspayCreateCustomer.js → juspayPostPaymentsJuspayCreateCustomer.js} +2 -2
  113. package/esm/funcs/juspayPostPaymentsJuspayCreateCustomer.js.map +1 -0
  114. package/esm/funcs/{juspayCreateOrder.d.ts → juspayPostPaymentsJuspayCreateOrder.d.ts} +2 -2
  115. package/esm/funcs/juspayPostPaymentsJuspayCreateOrder.d.ts.map +1 -0
  116. package/esm/funcs/{juspayCreateOrder.js → juspayPostPaymentsJuspayCreateOrder.js} +2 -2
  117. package/esm/funcs/{juspayGetCustomer.js.map → juspayPostPaymentsJuspayCreateOrder.js.map} +1 -1
  118. package/esm/funcs/ordersGetOrdersIdPaymentStatus.d.ts +15 -0
  119. package/esm/funcs/ordersGetOrdersIdPaymentStatus.d.ts.map +1 -0
  120. package/esm/funcs/{ordersGetPaymentStatus.js → ordersGetOrdersIdPaymentStatus.js} +2 -2
  121. package/esm/funcs/ordersGetOrdersIdPaymentStatus.js.map +1 -0
  122. package/esm/funcs/{ordersGetRefunds.d.ts → ordersRefundsList.d.ts} +2 -2
  123. package/esm/funcs/{userResetPassword.d.ts.map → ordersRefundsList.d.ts.map} +1 -1
  124. package/esm/funcs/{ordersGetRefunds.js → ordersRefundsList.js} +2 -2
  125. package/esm/funcs/ordersRefundsList.js.map +1 -0
  126. package/esm/funcs/{ordersGetShipments.d.ts → ordersShipmentsList.d.ts} +2 -2
  127. package/esm/funcs/ordersShipmentsList.d.ts.map +1 -0
  128. package/esm/funcs/{ordersGetShipments.js → ordersShipmentsList.js} +2 -2
  129. package/esm/funcs/ordersShipmentsList.js.map +1 -0
  130. package/esm/funcs/{paymentsListMethods.d.ts → paymentsGetMethods.d.ts} +2 -2
  131. package/esm/funcs/{authUserDeactivate.d.ts.map → paymentsGetMethods.d.ts.map} +1 -1
  132. package/esm/funcs/{paymentsListMethods.js → paymentsGetMethods.js} +2 -2
  133. package/esm/funcs/paymentsGetMethods.js.map +1 -0
  134. package/esm/funcs/{paymentsCardsList.d.ts → paymentsGetPaymentsCards.d.ts} +2 -2
  135. package/esm/funcs/paymentsGetPaymentsCards.d.ts.map +1 -0
  136. package/esm/funcs/{paymentsCardsList.js → paymentsGetPaymentsCards.js} +2 -2
  137. package/esm/funcs/paymentsGetPaymentsCards.js.map +1 -0
  138. package/esm/funcs/{paymentsVerifyVpa.d.ts → paymentsGetPaymentsVerifyVpa.d.ts} +2 -2
  139. package/esm/funcs/paymentsGetPaymentsVerifyVpa.d.ts.map +1 -0
  140. package/esm/funcs/{paymentsVerifyVpa.js → paymentsGetPaymentsVerifyVpa.js} +2 -2
  141. package/esm/funcs/paymentsGetPaymentsVerifyVpa.js.map +1 -0
  142. package/esm/funcs/{paymentsAddCard.d.ts → paymentsPostPaymentsCards.d.ts} +2 -2
  143. package/esm/funcs/paymentsPostPaymentsCards.d.ts.map +1 -0
  144. package/esm/funcs/{paymentsAddCard.js → paymentsPostPaymentsCards.js} +2 -2
  145. package/esm/funcs/paymentsPostPaymentsCards.js.map +1 -0
  146. package/esm/funcs/{shipmentCheckPincodeServiceability.d.ts → shippingCheckPincodeServiceability.d.ts} +2 -2
  147. package/esm/funcs/{shipmentCheckPincodeServiceability.d.ts.map → shippingCheckPincodeServiceability.d.ts.map} +1 -1
  148. package/esm/funcs/{shipmentCheckPincodeServiceability.js → shippingCheckPincodeServiceability.js} +2 -2
  149. package/esm/funcs/{shipmentCheckPincodeServiceability.js.map → shippingCheckPincodeServiceability.js.map} +1 -1
  150. package/esm/funcs/{usersCreateNotificationPreferences.d.ts → userNotificationPreferencesCreate.d.ts} +2 -2
  151. package/esm/funcs/userNotificationPreferencesCreate.d.ts.map +1 -0
  152. package/esm/funcs/{usersCreateNotificationPreferences.js → userNotificationPreferencesCreate.js} +2 -2
  153. package/esm/funcs/userNotificationPreferencesCreate.js.map +1 -0
  154. package/esm/funcs/{authUserNotificationPreferencesGet.d.ts → userNotificationPreferencesGet.d.ts} +2 -2
  155. package/esm/funcs/userNotificationPreferencesGet.d.ts.map +1 -0
  156. package/esm/funcs/{authUserNotificationPreferencesGet.js → userNotificationPreferencesGet.js} +2 -2
  157. package/esm/funcs/userNotificationPreferencesGet.js.map +1 -0
  158. package/esm/funcs/{userUpdateNotificationPreferences.d.ts → userNotificationPreferencesUpdate.d.ts} +2 -2
  159. package/esm/funcs/{userUpdateNotificationPreferences.d.ts.map → userNotificationPreferencesUpdate.d.ts.map} +1 -1
  160. package/esm/funcs/{userUpdateNotificationPreferences.js → userNotificationPreferencesUpdate.js} +2 -2
  161. package/esm/funcs/{userUpdateNotificationPreferences.js.map → userNotificationPreferencesUpdate.js.map} +1 -1
  162. package/esm/funcs/{utilsCountriesGet.d.ts → utilsGetCountries.d.ts} +2 -2
  163. package/esm/funcs/{utilsCountriesGet.d.ts.map → utilsGetCountries.d.ts.map} +1 -1
  164. package/esm/funcs/{utilsCountriesGet.js → utilsGetCountries.js} +2 -2
  165. package/esm/funcs/{utilsCountriesGet.js.map → utilsGetCountries.js.map} +1 -1
  166. package/esm/funcs/{customersAddAddress.d.ts → wishlistDelete.d.ts} +4 -4
  167. package/esm/funcs/wishlistDelete.d.ts.map +1 -0
  168. package/esm/funcs/{wishlistRemoveItem.js → wishlistDelete.js} +2 -2
  169. package/esm/funcs/wishlistDelete.js.map +1 -0
  170. package/esm/lib/config.d.ts +2 -2
  171. package/esm/lib/config.js +2 -2
  172. package/esm/lib/config.js.map +1 -1
  173. package/esm/models/components/bundleproduct.d.ts +11 -11
  174. package/esm/models/components/bundleproduct.d.ts.map +1 -1
  175. package/esm/models/components/bundleproduct.js +22 -22
  176. package/esm/models/components/bundleproduct.js.map +1 -1
  177. package/esm/models/components/bundleproductdetail.d.ts +11 -11
  178. package/esm/models/components/bundleproductdetail.d.ts.map +1 -1
  179. package/esm/models/components/bundleproductdetail.js +22 -22
  180. package/esm/models/components/bundleproductdetail.js.map +1 -1
  181. package/esm/models/components/cartitem.d.ts +4 -4
  182. package/esm/models/components/cartitem.d.ts.map +1 -1
  183. package/esm/models/components/cartitem.js +8 -8
  184. package/esm/models/components/cartitem.js.map +1 -1
  185. package/esm/models/components/productimage.d.ts +2 -0
  186. package/esm/models/components/productimage.d.ts.map +1 -1
  187. package/esm/models/components/productimage.js +2 -0
  188. package/esm/models/components/productimage.js.map +1 -1
  189. package/esm/models/components/singleproduct.d.ts +6 -6
  190. package/esm/models/components/singleproduct.d.ts.map +1 -1
  191. package/esm/models/components/singleproduct.js +12 -12
  192. package/esm/models/components/singleproduct.js.map +1 -1
  193. package/esm/models/components/singleproductdetail.d.ts +6 -6
  194. package/esm/models/components/singleproductdetail.d.ts.map +1 -1
  195. package/esm/models/components/singleproductdetail.js +12 -12
  196. package/esm/models/components/singleproductdetail.js.map +1 -1
  197. package/esm/models/components/sku.d.ts +5 -5
  198. package/esm/models/components/sku.d.ts.map +1 -1
  199. package/esm/models/components/sku.js +10 -10
  200. package/esm/models/components/sku.js.map +1 -1
  201. package/esm/models/components/variant.d.ts +3 -3
  202. package/esm/models/components/variant.d.ts.map +1 -1
  203. package/esm/models/components/variant.js +6 -6
  204. package/esm/models/components/variant.js.map +1 -1
  205. package/esm/models/components/variantdetail.d.ts +3 -3
  206. package/esm/models/components/variantdetail.d.ts.map +1 -1
  207. package/esm/models/components/variantdetail.js +6 -6
  208. package/esm/models/components/variantdetail.js.map +1 -1
  209. package/esm/sdk/addresses.d.ts +28 -0
  210. package/esm/sdk/addresses.d.ts.map +1 -1
  211. package/esm/sdk/addresses.js +42 -2
  212. package/esm/sdk/addresses.js.map +1 -1
  213. package/esm/sdk/auth.d.ts +0 -10
  214. package/esm/sdk/auth.d.ts.map +1 -1
  215. package/esm/sdk/auth.js +0 -14
  216. package/esm/sdk/auth.js.map +1 -1
  217. package/esm/sdk/catalog.d.ts +5 -2
  218. package/esm/sdk/catalog.d.ts.map +1 -1
  219. package/esm/sdk/catalog.js +6 -2
  220. package/esm/sdk/catalog.js.map +1 -1
  221. package/esm/sdk/cestorefrontreviews.d.ts +19 -0
  222. package/esm/sdk/cestorefrontreviews.d.ts.map +1 -0
  223. package/esm/sdk/cestorefrontreviews.js +28 -0
  224. package/esm/sdk/cestorefrontreviews.js.map +1 -0
  225. package/esm/sdk/cestorefrontuser.d.ts +64 -4
  226. package/esm/sdk/cestorefrontuser.d.ts.map +1 -1
  227. package/esm/sdk/cestorefrontuser.js +92 -6
  228. package/esm/sdk/cestorefrontuser.js.map +1 -1
  229. package/esm/sdk/customers.d.ts +8 -19
  230. package/esm/sdk/customers.d.ts.map +1 -1
  231. package/esm/sdk/customers.js +15 -31
  232. package/esm/sdk/customers.js.map +1 -1
  233. package/esm/sdk/juspay.d.ts +3 -3
  234. package/esm/sdk/juspay.d.ts.map +1 -1
  235. package/esm/sdk/juspay.js +9 -9
  236. package/esm/sdk/juspay.js.map +1 -1
  237. package/esm/sdk/loyalty.d.ts +7 -0
  238. package/esm/sdk/loyalty.d.ts.map +1 -1
  239. package/esm/sdk/loyalty.js +10 -0
  240. package/esm/sdk/loyalty.js.map +1 -1
  241. package/esm/sdk/notificationpreferences.d.ts +14 -0
  242. package/esm/sdk/notificationpreferences.d.ts.map +1 -1
  243. package/esm/sdk/notificationpreferences.js +22 -2
  244. package/esm/sdk/notificationpreferences.js.map +1 -1
  245. package/esm/sdk/orders.d.ts +7 -15
  246. package/esm/sdk/orders.d.ts.map +1 -1
  247. package/esm/sdk/orders.js +11 -23
  248. package/esm/sdk/orders.js.map +1 -1
  249. package/esm/sdk/payments.d.ts +10 -6
  250. package/esm/sdk/payments.d.ts.map +1 -1
  251. package/esm/sdk/payments.js +19 -13
  252. package/esm/sdk/payments.js.map +1 -1
  253. package/esm/sdk/products.d.ts +14 -1
  254. package/esm/sdk/products.d.ts.map +1 -1
  255. package/esm/sdk/products.js +27 -9
  256. package/esm/sdk/products.js.map +1 -1
  257. package/esm/sdk/refunds.d.ts +12 -0
  258. package/esm/sdk/refunds.d.ts.map +1 -0
  259. package/esm/sdk/refunds.js +18 -0
  260. package/esm/sdk/refunds.js.map +1 -0
  261. package/esm/sdk/reviews.d.ts +3 -3
  262. package/esm/sdk/reviews.d.ts.map +1 -1
  263. package/esm/sdk/reviews.js +4 -4
  264. package/esm/sdk/reviews.js.map +1 -1
  265. package/esm/sdk/sdk.d.ts +3 -27
  266. package/esm/sdk/sdk.d.ts.map +1 -1
  267. package/esm/sdk/sdk.js +3 -35
  268. package/esm/sdk/sdk.js.map +1 -1
  269. package/esm/sdk/shipments.d.ts +12 -0
  270. package/esm/sdk/shipments.d.ts.map +1 -0
  271. package/esm/sdk/shipments.js +18 -0
  272. package/esm/sdk/shipments.js.map +1 -0
  273. package/esm/sdk/{shipment.d.ts → shipping.d.ts} +2 -2
  274. package/esm/sdk/{shipment.d.ts.map → shipping.d.ts.map} +1 -1
  275. package/esm/sdk/{shipment.js → shipping.js} +4 -4
  276. package/esm/sdk/{shipment.js.map → shipping.js.map} +1 -1
  277. package/esm/sdk/{catalogskus.d.ts → skus.d.ts} +2 -2
  278. package/esm/sdk/skus.d.ts.map +1 -0
  279. package/esm/sdk/{catalogskus.js → skus.js} +2 -2
  280. package/esm/sdk/skus.js.map +1 -0
  281. package/esm/sdk/user.d.ts +4 -37
  282. package/esm/sdk/user.d.ts.map +1 -1
  283. package/esm/sdk/user.js +3 -50
  284. package/esm/sdk/user.js.map +1 -1
  285. package/esm/sdk/utils.d.ts +7 -3
  286. package/esm/sdk/utils.d.ts.map +1 -1
  287. package/esm/sdk/utils.js +9 -3
  288. package/esm/sdk/utils.js.map +1 -1
  289. package/esm/sdk/wishlist.d.ts +1 -1
  290. package/esm/sdk/wishlist.d.ts.map +1 -1
  291. package/esm/sdk/wishlist.js +3 -3
  292. package/esm/sdk/wishlist.js.map +1 -1
  293. package/jsr.json +1 -1
  294. package/package.json +1 -1
  295. package/src/funcs/{authUsersAddProfileImage.ts → authUserAddProfileImage.ts} +1 -1
  296. package/src/funcs/{authUserDeactivate.ts → authUserDeactivateAccount.ts} +1 -1
  297. package/src/funcs/{userDeleteProfileImage.ts → authUserDeleteProfileImage.ts} +1 -1
  298. package/src/funcs/{usersGet.ts → authUserGet.ts} +1 -1
  299. package/src/funcs/{usersGetProfileImage.ts → authUserGetProfileImage.ts} +1 -1
  300. package/src/funcs/{authLogout.ts → authUserLogout.ts} +1 -1
  301. package/src/funcs/{userResetPassword.ts → authUserResetPassword.ts} +1 -1
  302. package/src/funcs/{userUpdate.ts → authUserUpdate.ts} +1 -1
  303. package/src/funcs/{userUpdateProfileImage.ts → authUserUpdateProfileImage.ts} +1 -1
  304. package/src/funcs/{productsListCrossSells.ts → catalogProductsGetCrossSells.ts} +1 -1
  305. package/src/funcs/{productsGetSimilar.ts → catalogProductsGetSimilar.ts} +1 -1
  306. package/src/funcs/{productsGetUpsells.ts → catalogProductsGetUpsells.ts} +1 -1
  307. package/src/funcs/{productsList.ts → catalogProductsList.ts} +1 -1
  308. package/src/funcs/{catalogProductReviewsCreate.ts → catalogProductsReviewsCreate.ts} +1 -1
  309. package/src/funcs/{customersAddAddress.ts → customersAddressesAdd.ts} +1 -1
  310. package/src/funcs/{addressesGet.ts → customersAddressesGet.ts} +1 -1
  311. package/src/funcs/{customersGet.ts → customersGetCustomersId.ts} +1 -1
  312. package/src/funcs/{loyaltyPointsListActivities.ts → customersLoyaltyListActivities.ts} +1 -1
  313. package/src/funcs/{customersCreate.ts → customersPostCustomers.ts} +1 -1
  314. package/src/funcs/{customersUpdate.ts → customersPutCustomersId.ts} +1 -1
  315. package/src/funcs/{customersGetReviews.ts → customersReviewsList.ts} +1 -1
  316. package/src/funcs/{juspayGetCustomer.ts → juspayGetPaymentsJuspayCustomer.ts} +1 -1
  317. package/src/funcs/{juspayCreateCustomer.ts → juspayPostPaymentsJuspayCreateCustomer.ts} +1 -1
  318. package/src/funcs/{juspayCreateOrder.ts → juspayPostPaymentsJuspayCreateOrder.ts} +1 -1
  319. package/src/funcs/{ordersGetPaymentStatus.ts → ordersGetOrdersIdPaymentStatus.ts} +1 -1
  320. package/src/funcs/{ordersGetRefunds.ts → ordersRefundsList.ts} +1 -1
  321. package/src/funcs/{ordersGetShipments.ts → ordersShipmentsList.ts} +1 -1
  322. package/src/funcs/{paymentsListMethods.ts → paymentsGetMethods.ts} +1 -1
  323. package/src/funcs/{paymentsCardsList.ts → paymentsGetPaymentsCards.ts} +1 -1
  324. package/src/funcs/{paymentsVerifyVpa.ts → paymentsGetPaymentsVerifyVpa.ts} +1 -1
  325. package/src/funcs/{paymentsAddCard.ts → paymentsPostPaymentsCards.ts} +1 -1
  326. package/src/funcs/{shipmentCheckPincodeServiceability.ts → shippingCheckPincodeServiceability.ts} +1 -1
  327. package/src/funcs/{usersCreateNotificationPreferences.ts → userNotificationPreferencesCreate.ts} +1 -1
  328. package/src/funcs/{authUserNotificationPreferencesGet.ts → userNotificationPreferencesGet.ts} +1 -1
  329. package/src/funcs/{userUpdateNotificationPreferences.ts → userNotificationPreferencesUpdate.ts} +1 -1
  330. package/src/funcs/{utilsCountriesGet.ts → utilsGetCountries.ts} +1 -1
  331. package/src/funcs/{wishlistRemoveItem.ts → wishlistDelete.ts} +1 -1
  332. package/src/lib/config.ts +2 -2
  333. package/src/models/components/bundleproduct.ts +33 -33
  334. package/src/models/components/bundleproductdetail.ts +33 -33
  335. package/src/models/components/cartitem.ts +12 -12
  336. package/src/models/components/productimage.ts +4 -0
  337. package/src/models/components/singleproduct.ts +18 -18
  338. package/src/models/components/singleproductdetail.ts +18 -18
  339. package/src/models/components/sku.ts +15 -15
  340. package/src/models/components/variant.ts +9 -9
  341. package/src/models/components/variantdetail.ts +9 -9
  342. package/src/sdk/addresses.ts +74 -2
  343. package/src/sdk/auth.ts +0 -22
  344. package/src/sdk/catalog.ts +10 -4
  345. package/src/sdk/cestorefrontreviews.ts +45 -0
  346. package/src/sdk/cestorefrontuser.ts +160 -8
  347. package/src/sdk/customers.ts +19 -49
  348. package/src/sdk/juspay.ts +9 -9
  349. package/src/sdk/loyalty.ts +18 -0
  350. package/src/sdk/notificationpreferences.ts +38 -2
  351. package/src/sdk/orders.ts +15 -39
  352. package/src/sdk/payments.ts +27 -15
  353. package/src/sdk/products.ts +39 -9
  354. package/src/sdk/{cards.ts → refunds.ts} +7 -7
  355. package/src/sdk/reviews.ts +6 -6
  356. package/src/sdk/sdk.ts +4 -54
  357. package/src/sdk/shipments.ts +27 -0
  358. package/src/sdk/{shipment.ts → shipping.ts} +3 -3
  359. package/src/sdk/{catalogskus.ts → skus.ts} +1 -1
  360. package/src/sdk/user.ts +6 -90
  361. package/src/sdk/utils.ts +14 -4
  362. package/src/sdk/wishlist.ts +3 -3
  363. package/docs/sdks/authuser/README.md +0 -80
  364. package/docs/sdks/catalogproductreviews/README.md +0 -97
  365. package/docs/sdks/cestorefrontproducts/README.md +0 -6
  366. package/docs/sdks/cestorefrontusers/README.md +0 -92
  367. package/docs/sdks/countries/README.md +0 -79
  368. package/docs/sdks/loyaltypoints/README.md +0 -88
  369. package/docs/sdks/users/README.md +0 -240
  370. package/esm/funcs/addressesGet.d.ts.map +0 -1
  371. package/esm/funcs/addressesGet.js.map +0 -1
  372. package/esm/funcs/authLogout.d.ts.map +0 -1
  373. package/esm/funcs/authLogout.js.map +0 -1
  374. package/esm/funcs/authUserDeactivate.js.map +0 -1
  375. package/esm/funcs/authUserNotificationPreferencesGet.d.ts.map +0 -1
  376. package/esm/funcs/authUserNotificationPreferencesGet.js.map +0 -1
  377. package/esm/funcs/authUsersAddProfileImage.d.ts.map +0 -1
  378. package/esm/funcs/authUsersAddProfileImage.js.map +0 -1
  379. package/esm/funcs/catalogProductReviewsCreate.d.ts.map +0 -1
  380. package/esm/funcs/catalogProductReviewsCreate.js.map +0 -1
  381. package/esm/funcs/customersAddAddress.js.map +0 -1
  382. package/esm/funcs/customersCreate.d.ts.map +0 -1
  383. package/esm/funcs/customersCreate.js.map +0 -1
  384. package/esm/funcs/customersGet.d.ts.map +0 -1
  385. package/esm/funcs/customersGet.js.map +0 -1
  386. package/esm/funcs/customersGetReviews.d.ts +0 -15
  387. package/esm/funcs/customersGetReviews.d.ts.map +0 -1
  388. package/esm/funcs/customersGetReviews.js.map +0 -1
  389. package/esm/funcs/customersUpdate.d.ts.map +0 -1
  390. package/esm/funcs/customersUpdate.js.map +0 -1
  391. package/esm/funcs/juspayCreateCustomer.d.ts +0 -17
  392. package/esm/funcs/juspayCreateCustomer.d.ts.map +0 -1
  393. package/esm/funcs/juspayCreateCustomer.js.map +0 -1
  394. package/esm/funcs/juspayCreateOrder.d.ts.map +0 -1
  395. package/esm/funcs/juspayGetCustomer.d.ts.map +0 -1
  396. package/esm/funcs/loyaltyPointsListActivities.d.ts.map +0 -1
  397. package/esm/funcs/loyaltyPointsListActivities.js.map +0 -1
  398. package/esm/funcs/ordersGetPaymentStatus.d.ts.map +0 -1
  399. package/esm/funcs/ordersGetPaymentStatus.js.map +0 -1
  400. package/esm/funcs/ordersGetRefunds.d.ts.map +0 -1
  401. package/esm/funcs/ordersGetRefunds.js.map +0 -1
  402. package/esm/funcs/ordersGetShipments.d.ts.map +0 -1
  403. package/esm/funcs/ordersGetShipments.js.map +0 -1
  404. package/esm/funcs/paymentsAddCard.d.ts.map +0 -1
  405. package/esm/funcs/paymentsAddCard.js.map +0 -1
  406. package/esm/funcs/paymentsCardsList.d.ts.map +0 -1
  407. package/esm/funcs/paymentsCardsList.js.map +0 -1
  408. package/esm/funcs/paymentsListMethods.d.ts.map +0 -1
  409. package/esm/funcs/paymentsListMethods.js.map +0 -1
  410. package/esm/funcs/paymentsVerifyVpa.d.ts.map +0 -1
  411. package/esm/funcs/paymentsVerifyVpa.js.map +0 -1
  412. package/esm/funcs/productsGetSimilar.d.ts.map +0 -1
  413. package/esm/funcs/productsGetSimilar.js.map +0 -1
  414. package/esm/funcs/productsGetUpsells.d.ts.map +0 -1
  415. package/esm/funcs/productsGetUpsells.js.map +0 -1
  416. package/esm/funcs/productsList.d.ts.map +0 -1
  417. package/esm/funcs/productsList.js.map +0 -1
  418. package/esm/funcs/productsListCrossSells.d.ts +0 -16
  419. package/esm/funcs/productsListCrossSells.d.ts.map +0 -1
  420. package/esm/funcs/productsListCrossSells.js.map +0 -1
  421. package/esm/funcs/userDeleteProfileImage.d.ts.map +0 -1
  422. package/esm/funcs/userDeleteProfileImage.js.map +0 -1
  423. package/esm/funcs/userResetPassword.js.map +0 -1
  424. package/esm/funcs/userUpdate.d.ts.map +0 -1
  425. package/esm/funcs/userUpdate.js.map +0 -1
  426. package/esm/funcs/userUpdateProfileImage.d.ts.map +0 -1
  427. package/esm/funcs/userUpdateProfileImage.js.map +0 -1
  428. package/esm/funcs/usersCreateNotificationPreferences.d.ts.map +0 -1
  429. package/esm/funcs/usersCreateNotificationPreferences.js.map +0 -1
  430. package/esm/funcs/usersGet.d.ts.map +0 -1
  431. package/esm/funcs/usersGet.js.map +0 -1
  432. package/esm/funcs/wishlistRemoveItem.d.ts.map +0 -1
  433. package/esm/funcs/wishlistRemoveItem.js.map +0 -1
  434. package/esm/sdk/authuser.d.ts +0 -12
  435. package/esm/sdk/authuser.d.ts.map +0 -1
  436. package/esm/sdk/authuser.js +0 -18
  437. package/esm/sdk/authuser.js.map +0 -1
  438. package/esm/sdk/cards.d.ts +0 -12
  439. package/esm/sdk/cards.d.ts.map +0 -1
  440. package/esm/sdk/cards.js +0 -18
  441. package/esm/sdk/cards.js.map +0 -1
  442. package/esm/sdk/catalogproductreviews.d.ts +0 -12
  443. package/esm/sdk/catalogproductreviews.d.ts.map +0 -1
  444. package/esm/sdk/catalogproductreviews.js +0 -18
  445. package/esm/sdk/catalogproductreviews.js.map +0 -1
  446. package/esm/sdk/catalogproducts.d.ts +0 -12
  447. package/esm/sdk/catalogproducts.d.ts.map +0 -1
  448. package/esm/sdk/catalogproducts.js +0 -18
  449. package/esm/sdk/catalogproducts.js.map +0 -1
  450. package/esm/sdk/catalogskus.d.ts.map +0 -1
  451. package/esm/sdk/catalogskus.js.map +0 -1
  452. package/esm/sdk/cestorefrontaddresses.d.ts +0 -26
  453. package/esm/sdk/cestorefrontaddresses.d.ts.map +0 -1
  454. package/esm/sdk/cestorefrontaddresses.js +0 -38
  455. package/esm/sdk/cestorefrontaddresses.js.map +0 -1
  456. package/esm/sdk/cestorefrontproducts.d.ts +0 -10
  457. package/esm/sdk/cestorefrontproducts.d.ts.map +0 -1
  458. package/esm/sdk/cestorefrontproducts.js +0 -15
  459. package/esm/sdk/cestorefrontproducts.js.map +0 -1
  460. package/esm/sdk/cestorefrontusers.d.ts +0 -12
  461. package/esm/sdk/cestorefrontusers.d.ts.map +0 -1
  462. package/esm/sdk/cestorefrontusers.js +0 -18
  463. package/esm/sdk/cestorefrontusers.js.map +0 -1
  464. package/esm/sdk/countries.d.ts +0 -12
  465. package/esm/sdk/countries.d.ts.map +0 -1
  466. package/esm/sdk/countries.js +0 -18
  467. package/esm/sdk/countries.js.map +0 -1
  468. package/esm/sdk/loyaltypoints.d.ts +0 -12
  469. package/esm/sdk/loyaltypoints.d.ts.map +0 -1
  470. package/esm/sdk/loyaltypoints.js +0 -18
  471. package/esm/sdk/loyaltypoints.js.map +0 -1
  472. package/esm/sdk/users.d.ts +0 -26
  473. package/esm/sdk/users.d.ts.map +0 -1
  474. package/esm/sdk/users.js +0 -38
  475. package/esm/sdk/users.js.map +0 -1
  476. package/src/sdk/authuser.ts +0 -27
  477. package/src/sdk/catalogproductreviews.ts +0 -27
  478. package/src/sdk/catalogproducts.ts +0 -27
  479. package/src/sdk/cestorefrontaddresses.ts +0 -63
  480. package/src/sdk/cestorefrontproducts.ts +0 -19
  481. package/src/sdk/cestorefrontusers.ts +0 -27
  482. package/src/sdk/countries.ts +0 -25
  483. package/src/sdk/loyaltypoints.ts +0 -27
  484. package/src/sdk/users.ts +0 -63
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cestorefrontreviews.d.ts","sourceRoot":"","sources":["../../src/sdk/cestorefrontreviews.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,mBAAoB,SAAQ,SAAS;IAChD;;;;;OAKG;IACG,IAAI,CACR,OAAO,EAAE,UAAU,CAAC,2BAA2B,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,gCAAgC,CAAC;IAQvD;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,4BAA4B,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,iCAAiC,CAAC;CAOzD"}
@@ -0,0 +1,28 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+ import { catalogProductsReviewsCreate } from "../funcs/catalogProductsReviewsCreate.js";
5
+ import { catalogProductsReviewsList } from "../funcs/catalogProductsReviewsList.js";
6
+ import { ClientSDK } from "../lib/sdks.js";
7
+ import { unwrapAsync } from "../types/fp.js";
8
+ export class CeStorefrontReviews extends ClientSDK {
9
+ /**
10
+ * List all product reviews
11
+ *
12
+ * @remarks
13
+ * List of reviews for a specified product. The reviews are returned sorted by submission date, with the most recent reviews appearing first. You can filter the reviews by rating, reviewer, or date for more detailed analysis.
14
+ */
15
+ async list(request, options) {
16
+ return unwrapAsync(catalogProductsReviewsList(this, request, options));
17
+ }
18
+ /**
19
+ * Create product review
20
+ *
21
+ * @remarks
22
+ * Create a product review
23
+ */
24
+ async create(request, options) {
25
+ return unwrapAsync(catalogProductsReviewsCreate(this, request, options));
26
+ }
27
+ }
28
+ //# sourceMappingURL=cestorefrontreviews.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cestorefrontreviews.js","sourceRoot":"","sources":["../../src/sdk/cestorefrontreviews.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,4BAA4B,EAAE,MAAM,0CAA0C,CAAC;AACxF,OAAO,EAAE,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AACpF,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,mBAAoB,SAAQ,SAAS;IAChD;;;;;OAKG;IACH,KAAK,CAAC,IAAI,CACR,OAA+C,EAC/C,OAAwB;QAExB,OAAO,WAAW,CAAC,0BAA0B,CAC3C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CACV,OAAgD,EAChD,OAAwB;QAExB,OAAO,WAAW,CAAC,4BAA4B,CAC7C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -1,16 +1,55 @@
1
1
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
2
2
  import * as operations from "../models/operations/index.js";
3
- import { NotificationPreferences } from "./notificationpreferences.js";
4
3
  export declare class CeStorefrontUser extends ClientSDK {
5
- private _notificationPreferences?;
6
- get notificationPreferences(): NotificationPreferences;
4
+ /**
5
+ * Retrieve a user
6
+ *
7
+ * @remarks
8
+ * The Retrieve User API is designed to facilitate the retrieval of comprehensive user information from the system. A required parameter is a user-id of the user whose information needs to be retrieved.
9
+ */
10
+ get(request: operations.GetAuthUserIdRequest, options?: RequestOptions): Promise<operations.GetAuthUserIdResponseBody>;
11
+ /**
12
+ * Update a user
13
+ *
14
+ * @remarks
15
+ * The Update User API helps to efficiently modify and enhance user information within the system, ensuring that user profiles remain accurate and up-to-date. This API provides a secure and flexible mechanism for updating specific details while maintaining adherence to established conventions.
16
+ */
17
+ update(request: operations.PutAuthUserIdRequest, options?: RequestOptions): Promise<operations.PutAuthUserIdResponseBody>;
18
+ /**
19
+ * Add profile image
20
+ *
21
+ * @remarks
22
+ * The Profile Image API streamlines the process of uploading profile images associating with user accounts, offering a user-centric approach to visual identity customization. Upon success, the API responds with a confirmation message. In case of errors, clear error messages facilitate quick issue resolution. Overall, the Profile Image API enhances user engagement by seamlessly integrating personalized visual elements into digital platforms.
23
+ */
24
+ addProfileImage(request: operations.PostAuthUserIdProfileImageRequest, options?: RequestOptions): Promise<operations.PostAuthUserIdProfileImageResponseBody>;
25
+ /**
26
+ * Update profile image
27
+ *
28
+ * @remarks
29
+ * The Profile Image API streamlines the process of updating profile images associating with user accounts, offering a user-centric approach to visual identity customization. Upon success, the API responds with a confirmation message. In case of errors, clear error messages facilitate quick issue resolution. Overall, the Profile Image API enhances user engagement by seamlessly integrating personalized visual elements into digital platforms.
30
+ */
31
+ updateProfileImage(request: operations.PutAuthUserIdProfileImageRequest, options?: RequestOptions): Promise<operations.PutAuthUserIdProfileImageResponseBody>;
32
+ /**
33
+ * Delete profile image
34
+ *
35
+ * @remarks
36
+ * Delete profile image API streamlines the process of removing profile images associating with user accounts. Upon success, the API responds with a confirmation message. In case of errors, clear error messages facilitate quick issue resolution.
37
+ */
38
+ deleteProfileImage(request: operations.DeleteAuthUserIdProfileImageRequest, options?: RequestOptions): Promise<operations.DeleteAuthUserIdProfileImageResponseBody>;
39
+ /**
40
+ * Retrieve a profile image
41
+ *
42
+ * @remarks
43
+ * Retrieve user profile image API streamlines the process of retriving profile images associating with user accounts. Upon success, the API responds with a confirmation message. In case of errors, clear error messages facilitate quick issue resolution.
44
+ */
45
+ getProfileImage(request: operations.GetAuthUserIdProfileImageRequest, options?: RequestOptions): Promise<operations.GetAuthUserIdProfileImageResponseBody>;
7
46
  /**
8
47
  * Deactivate account
9
48
  *
10
49
  * @remarks
11
50
  * The Deactivate Account API providing users with a straightforward method to deactivate their accounts. Upon successful deactivation, the API responds with a confirmation message. Error responses are detailed, aiding developers in addressing issues promptly.
12
51
  */
13
- deactivate(request: operations.PutAuthUserIdDeactivateRequest, options?: RequestOptions): Promise<operations.PutAuthUserIdDeactivateResponseBody>;
52
+ deactivateAccount(request: operations.PutAuthUserIdDeactivateRequest, options?: RequestOptions): Promise<operations.PutAuthUserIdDeactivateResponseBody>;
14
53
  /**
15
54
  * Change password
16
55
  *
@@ -18,5 +57,26 @@ export declare class CeStorefrontUser extends ClientSDK {
18
57
  * The Change Password API is a key feature designed to provide a secure and standardized method for users to update their passwords.
19
58
  */
20
59
  changePassword(request: operations.PostAuthChangePasswordRequestBody, options?: RequestOptions): Promise<operations.PostAuthChangePasswordResponseBody>;
60
+ /**
61
+ * Forgot password
62
+ *
63
+ * @remarks
64
+ * The Forgot Password API provides a secure mechanism for users to initiate the password recovery process. This API provides one-time password (OTP) token, which facilitas the resetting of user’s account password.
65
+ */
66
+ forgotPassword(request: operations.PostAuthForgotPasswordRequestBody, options?: RequestOptions): Promise<operations.PostAuthForgotPasswordResponseBody>;
67
+ /**
68
+ * Reset password
69
+ *
70
+ * @remarks
71
+ * Reset password
72
+ */
73
+ resetPassword(request: operations.PostAuthResetPasswordRequestBody, options?: RequestOptions): Promise<operations.PostAuthResetPasswordResponseBody>;
74
+ /**
75
+ * Logout user
76
+ *
77
+ * @remarks
78
+ * The Logout User API initiate the logout process for a user. Upon a successful request, the API responds with a confirmation message. If the user is not found or there's an issue with the request, an error response is returned with an appropriate message.
79
+ */
80
+ logout(options?: RequestOptions): Promise<operations.PostAuthLogoutResponseBody>;
21
81
  }
22
82
  //# sourceMappingURL=cestorefrontuser.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cestorefrontuser.d.ts","sourceRoot":"","sources":["../../src/sdk/cestorefrontuser.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAE5D,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAEvE,qBAA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,CACtB,OAAO,EAAE,UAAU,CAAC,mCAAmC,EACvD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,wCAAwC,CAAC;IAQ/D;;;;;OAKG;IACG,eAAe,CACnB,OAAO,EAAE,UAAU,CAAC,gCAAgC,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,qCAAqC,CAAC;IAQ5D;;;;;OAKG;IACG,iBAAiB,CACrB,OAAO,EAAE,UAAU,CAAC,8BAA8B,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,mCAAmC,CAAC;IAQ1D;;;;;OAKG;IACG,cAAc,CAClB,OAAO,EAAE,UAAU,CAAC,iCAAiC,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,kCAAkC,CAAC;IAQzD;;;;;OAKG;IACG,cAAc,CAClB,OAAO,EAAE,UAAU,CAAC,iCAAiC,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,kCAAkC,CAAC;IAQzD;;;;;OAKG;IACG,aAAa,CACjB,OAAO,EAAE,UAAU,CAAC,gCAAgC,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,iCAAiC,CAAC;IAQxD;;;;;OAKG;IACG,MAAM,CACV,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,0BAA0B,CAAC;CAMlD"}
@@ -1,14 +1,73 @@
1
1
  /*
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
+ import { authUserAddProfileImage } from "../funcs/authUserAddProfileImage.js";
4
5
  import { authUserChangePassword } from "../funcs/authUserChangePassword.js";
5
- import { authUserDeactivate } from "../funcs/authUserDeactivate.js";
6
+ import { authUserDeactivateAccount } from "../funcs/authUserDeactivateAccount.js";
7
+ import { authUserDeleteProfileImage } from "../funcs/authUserDeleteProfileImage.js";
8
+ import { authUserForgotPassword } from "../funcs/authUserForgotPassword.js";
9
+ import { authUserGet } from "../funcs/authUserGet.js";
10
+ import { authUserGetProfileImage } from "../funcs/authUserGetProfileImage.js";
11
+ import { authUserLogout } from "../funcs/authUserLogout.js";
12
+ import { authUserResetPassword } from "../funcs/authUserResetPassword.js";
13
+ import { authUserUpdate } from "../funcs/authUserUpdate.js";
14
+ import { authUserUpdateProfileImage } from "../funcs/authUserUpdateProfileImage.js";
6
15
  import { ClientSDK } from "../lib/sdks.js";
7
16
  import { unwrapAsync } from "../types/fp.js";
8
- import { NotificationPreferences } from "./notificationpreferences.js";
9
17
  export class CeStorefrontUser extends ClientSDK {
10
- get notificationPreferences() {
11
- return (this._notificationPreferences ?? (this._notificationPreferences = new NotificationPreferences(this._options)));
18
+ /**
19
+ * Retrieve a user
20
+ *
21
+ * @remarks
22
+ * The Retrieve User API is designed to facilitate the retrieval of comprehensive user information from the system. A required parameter is a user-id of the user whose information needs to be retrieved.
23
+ */
24
+ async get(request, options) {
25
+ return unwrapAsync(authUserGet(this, request, options));
26
+ }
27
+ /**
28
+ * Update a user
29
+ *
30
+ * @remarks
31
+ * The Update User API helps to efficiently modify and enhance user information within the system, ensuring that user profiles remain accurate and up-to-date. This API provides a secure and flexible mechanism for updating specific details while maintaining adherence to established conventions.
32
+ */
33
+ async update(request, options) {
34
+ return unwrapAsync(authUserUpdate(this, request, options));
35
+ }
36
+ /**
37
+ * Add profile image
38
+ *
39
+ * @remarks
40
+ * The Profile Image API streamlines the process of uploading profile images associating with user accounts, offering a user-centric approach to visual identity customization. Upon success, the API responds with a confirmation message. In case of errors, clear error messages facilitate quick issue resolution. Overall, the Profile Image API enhances user engagement by seamlessly integrating personalized visual elements into digital platforms.
41
+ */
42
+ async addProfileImage(request, options) {
43
+ return unwrapAsync(authUserAddProfileImage(this, request, options));
44
+ }
45
+ /**
46
+ * Update profile image
47
+ *
48
+ * @remarks
49
+ * The Profile Image API streamlines the process of updating profile images associating with user accounts, offering a user-centric approach to visual identity customization. Upon success, the API responds with a confirmation message. In case of errors, clear error messages facilitate quick issue resolution. Overall, the Profile Image API enhances user engagement by seamlessly integrating personalized visual elements into digital platforms.
50
+ */
51
+ async updateProfileImage(request, options) {
52
+ return unwrapAsync(authUserUpdateProfileImage(this, request, options));
53
+ }
54
+ /**
55
+ * Delete profile image
56
+ *
57
+ * @remarks
58
+ * Delete profile image API streamlines the process of removing profile images associating with user accounts. Upon success, the API responds with a confirmation message. In case of errors, clear error messages facilitate quick issue resolution.
59
+ */
60
+ async deleteProfileImage(request, options) {
61
+ return unwrapAsync(authUserDeleteProfileImage(this, request, options));
62
+ }
63
+ /**
64
+ * Retrieve a profile image
65
+ *
66
+ * @remarks
67
+ * Retrieve user profile image API streamlines the process of retriving profile images associating with user accounts. Upon success, the API responds with a confirmation message. In case of errors, clear error messages facilitate quick issue resolution.
68
+ */
69
+ async getProfileImage(request, options) {
70
+ return unwrapAsync(authUserGetProfileImage(this, request, options));
12
71
  }
13
72
  /**
14
73
  * Deactivate account
@@ -16,8 +75,8 @@ export class CeStorefrontUser extends ClientSDK {
16
75
  * @remarks
17
76
  * The Deactivate Account API providing users with a straightforward method to deactivate their accounts. Upon successful deactivation, the API responds with a confirmation message. Error responses are detailed, aiding developers in addressing issues promptly.
18
77
  */
19
- async deactivate(request, options) {
20
- return unwrapAsync(authUserDeactivate(this, request, options));
78
+ async deactivateAccount(request, options) {
79
+ return unwrapAsync(authUserDeactivateAccount(this, request, options));
21
80
  }
22
81
  /**
23
82
  * Change password
@@ -28,5 +87,32 @@ export class CeStorefrontUser extends ClientSDK {
28
87
  async changePassword(request, options) {
29
88
  return unwrapAsync(authUserChangePassword(this, request, options));
30
89
  }
90
+ /**
91
+ * Forgot password
92
+ *
93
+ * @remarks
94
+ * The Forgot Password API provides a secure mechanism for users to initiate the password recovery process. This API provides one-time password (OTP) token, which facilitas the resetting of user’s account password.
95
+ */
96
+ async forgotPassword(request, options) {
97
+ return unwrapAsync(authUserForgotPassword(this, request, options));
98
+ }
99
+ /**
100
+ * Reset password
101
+ *
102
+ * @remarks
103
+ * Reset password
104
+ */
105
+ async resetPassword(request, options) {
106
+ return unwrapAsync(authUserResetPassword(this, request, options));
107
+ }
108
+ /**
109
+ * Logout user
110
+ *
111
+ * @remarks
112
+ * The Logout User API initiate the logout process for a user. Upon a successful request, the API responds with a confirmation message. If the user is not found or there's an issue with the request, an error response is returned with an appropriate message.
113
+ */
114
+ async logout(options) {
115
+ return unwrapAsync(authUserLogout(this, options));
116
+ }
31
117
  }
32
118
  //# sourceMappingURL=cestorefrontuser.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"cestorefrontuser.js","sourceRoot":"","sources":["../../src/sdk/cestorefrontuser.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAC5E,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAEvE,MAAM,OAAO,gBAAiB,SAAQ,SAAS;IAE7C,IAAI,uBAAuB;QACzB,OAAO,CAAC,IAAI,CAAC,wBAAwB,KAA7B,IAAI,CAAC,wBAAwB,GAAK,IAAI,uBAAuB,CACnE,IAAI,CAAC,QAAQ,CACd,EAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,UAAU,CACd,OAAkD,EAClD,OAAwB;QAExB,OAAO,WAAW,CAAC,kBAAkB,CACnC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,cAAc,CAClB,OAAqD,EACrD,OAAwB;QAExB,OAAO,WAAW,CAAC,sBAAsB,CACvC,IA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AO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CACV,OAAwB;QAExB,OAAO,WAAW,CAAC,cAAc,CAC/B,IAAI,EACJ,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -1,47 +1,36 @@
1
1
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
2
2
  import * as components from "../models/components/index.js";
3
3
  import * as operations from "../models/operations/index.js";
4
- import { CeStorefrontAddresses } from "./cestorefrontaddresses.js";
4
+ import { Addresses } from "./addresses.js";
5
5
  import { Loyalty } from "./loyalty.js";
6
+ import { Reviews } from "./reviews.js";
6
7
  export declare class Customers extends ClientSDK {
7
8
  private _addresses?;
8
- get addresses(): CeStorefrontAddresses;
9
+ get addresses(): Addresses;
9
10
  private _loyalty?;
10
11
  get loyalty(): Loyalty;
12
+ private _reviews?;
13
+ get reviews(): Reviews;
11
14
  /**
12
15
  * Create customer
13
16
  *
14
17
  * @remarks
15
18
  * Create customer
16
19
  */
17
- create(request: components.CreateCustomer, options?: RequestOptions): Promise<operations.PostCustomersResponseBody>;
20
+ postCustomers(request: components.CreateCustomer, options?: RequestOptions): Promise<operations.PostCustomersResponseBody>;
18
21
  /**
19
22
  * Retrieve customer detail
20
23
  *
21
24
  * @remarks
22
25
  * Retrieve customer detail.
23
26
  */
24
- get(request: operations.GetCustomersIdRequest, options?: RequestOptions): Promise<operations.GetCustomersIdResponseBody>;
27
+ getCustomersId(request: operations.GetCustomersIdRequest, options?: RequestOptions): Promise<operations.GetCustomersIdResponseBody>;
25
28
  /**
26
29
  * Update customer detail
27
30
  *
28
31
  * @remarks
29
32
  * Update customer detail
30
33
  */
31
- update(request: operations.PutCustomersIdRequest, options?: RequestOptions): Promise<operations.PutCustomersIdResponseBody>;
32
- /**
33
- * Add address
34
- *
35
- * @remarks
36
- * Add new address
37
- */
38
- addAddress(request: operations.PostAddressRequest, options?: RequestOptions): Promise<operations.PostAddressResponseBody>;
39
- /**
40
- * Retrieve all reviews
41
- *
42
- * @remarks
43
- * Retrieve all reviews
44
- */
45
- getReviews(request: operations.GetCustomersUserIdReviewsRequest, options?: RequestOptions): Promise<operations.GetCustomersUserIdReviewsResponseBody>;
34
+ putCustomersId(request: operations.PutCustomersIdRequest, options?: RequestOptions): Promise<operations.PutCustomersIdResponseBody>;
46
35
  }
47
36
  //# sourceMappingURL=customers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"customers.d.ts","sourceRoot":"","sources":["../../src/sdk/customers.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAE5D,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAEvC,qBAAa,SAAU,SAAQ,SAAS;IACtC,OAAO,CAAC,UAAU,CAAC,CAAwB;IAC3C,IAAI,SAAS,IAAI,qBAAqB,CAErC;IAED,OAAO,CAAC,QAAQ,CAAC,CAAU;IAC3B,IAAI,OAAO,IAAI,OAAO,CAErB;IAED;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,cAAc,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,yBAAyB,CAAC;IAQhD;;;;;OAKG;IACG,GAAG,CACP,OAAO,EAAE,UAAU,CAAC,qBAAqB,EACzC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,0BAA0B,CAAC;IAQjD;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,qBAAqB,EACzC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,0BAA0B,CAAC;IAQjD;;;;;OAKG;IACG,UAAU,CACd,OA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B,EACzC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,0BAA0B,CAAC;CAOlD"}
@@ -1,30 +1,32 @@
1
1
  /*
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
- import { customersAddAddress } from "../funcs/customersAddAddress.js";
5
- import { customersCreate } from "../funcs/customersCreate.js";
6
- import { customersGet } from "../funcs/customersGet.js";
7
- import { customersGetReviews } from "../funcs/customersGetReviews.js";
8
- import { customersUpdate } from "../funcs/customersUpdate.js";
4
+ import { customersGetCustomersId } from "../funcs/customersGetCustomersId.js";
5
+ import { customersPostCustomers } from "../funcs/customersPostCustomers.js";
6
+ import { customersPutCustomersId } from "../funcs/customersPutCustomersId.js";
9
7
  import { ClientSDK } from "../lib/sdks.js";
10
8
  import { unwrapAsync } from "../types/fp.js";
11
- import { CeStorefrontAddresses } from "./cestorefrontaddresses.js";
9
+ import { Addresses } from "./addresses.js";
12
10
  import { Loyalty } from "./loyalty.js";
11
+ import { Reviews } from "./reviews.js";
13
12
  export class Customers extends ClientSDK {
14
13
  get addresses() {
15
- return (this._addresses ?? (this._addresses = new CeStorefrontAddresses(this._options)));
14
+ return (this._addresses ?? (this._addresses = new Addresses(this._options)));
16
15
  }
17
16
  get loyalty() {
18
17
  return (this._loyalty ?? (this._loyalty = new Loyalty(this._options)));
19
18
  }
19
+ get reviews() {
20
+ return (this._reviews ?? (this._reviews = new Reviews(this._options)));
21
+ }
20
22
  /**
21
23
  * Create customer
22
24
  *
23
25
  * @remarks
24
26
  * Create customer
25
27
  */
26
- async create(request, options) {
27
- return unwrapAsync(customersCreate(this, request, options));
28
+ async postCustomers(request, options) {
29
+ return unwrapAsync(customersPostCustomers(this, request, options));
28
30
  }
29
31
  /**
30
32
  * Retrieve customer detail
@@ -32,8 +34,8 @@ export class Customers extends ClientSDK {
32
34
  * @remarks
33
35
  * Retrieve customer detail.
34
36
  */
35
- async get(request, options) {
36
- return unwrapAsync(customersGet(this, request, options));
37
+ async getCustomersId(request, options) {
38
+ return unwrapAsync(customersGetCustomersId(this, request, options));
37
39
  }
38
40
  /**
39
41
  * Update customer detail
@@ -41,26 +43,8 @@ export class Customers extends ClientSDK {
41
43
  * @remarks
42
44
  * Update customer detail
43
45
  */
44
- async update(request, options) {
45
- return unwrapAsync(customersUpdate(this, request, options));
46
- }
47
- /**
48
- * Add address
49
- *
50
- * @remarks
51
- * Add new address
52
- */
53
- async addAddress(request, options) {
54
- return unwrapAsync(customersAddAddress(this, request, options));
55
- }
56
- /**
57
- * Retrieve all reviews
58
- *
59
- * @remarks
60
- * Retrieve all reviews
61
- */
62
- async getReviews(request, options) {
63
- return unwrapAsync(customersGetReviews(this, request, options));
46
+ async putCustomersId(request, options) {
47
+ return unwrapAsync(customersPutCustomersId(this, request, options));
64
48
  }
65
49
  }
66
50
  //# sourceMappingURL=customers.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"customers.js","sourceRoot":"","sources":["../../src/sdk/customers.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAG3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAEvC,MAAM,OAAO,SAAU,SAAQ,SAAS;IAEtC,IAAI,SAAS;QACX,OAAO,CAAC,IAAI,CAAC,UAAU,KAAf,IAAI,CAAC,UAAU,GAAK,IAAI,qBAAqB,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IACxE,CAAC;IAGD,IAAI,OAAO;QACT,OAAO,CAAC,IAAI,CAAC,QAAQ,KAAb,IAAI,CAAC,QAAQ,GAAK,IAAI,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IACxD,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CACV,OAAkC,EAClC,OAAwB;QAExB,OAAO,WAAW,CAAC,eAAe,CAChC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,GAAG,CACP,OAAyC,EACzC,OAAwB;QAExB,OAAO,WAAW,CAAC,YAAY,CAC7B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CACV,OAAyC,EACzC,OAAwB;QAExB,OAAO,WAAW,CAAC,eAAe,CAChC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,UAAU,CACd,OAAsC,EACtC,OAAwB;QAExB,OAAO,WAAW,CAAC,mBAAmB,CACpC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,UAAU,CACd,OAAoD,EACpD,OAAwB;QAExB,OAAO,WAAW,CAAC,mBAAmB,CACpC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
1
+ {"version":3,"file":"customers.js","sourceRoot":"","sources":["../../src/sdk/customers.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAC5E,OAAO,EAAE,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OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -9,20 +9,20 @@ export declare class Juspay extends ClientSDK {
9
9
  * Creates an order in the Juspay system and fetches the corresponding client_auth_token.
10
10
  * To be used for Express Checkout integration.
11
11
  */
12
- createOrder(request: components.JuspayCreateOrderPayload, options?: RequestOptions): Promise<operations.PostPaymentsJuspayCreateOrderResponseBody>;
12
+ postPaymentsJuspayCreateOrder(request: components.JuspayCreateOrderPayload, options?: RequestOptions): Promise<operations.PostPaymentsJuspayCreateOrderResponseBody>;
13
13
  /**
14
14
  * Create customer in juspay
15
15
  *
16
16
  * @remarks
17
17
  * Create customer in juspay.
18
18
  */
19
- createCustomer(request: components.JuspayCreateCustomerPayload, options?: RequestOptions): Promise<operations.PostPaymentsJuspayCreateCustomerResponseBody>;
19
+ postPaymentsJuspayCreateCustomer(request: components.JuspayCreateCustomerPayload, options?: RequestOptions): Promise<operations.PostPaymentsJuspayCreateCustomerResponseBody>;
20
20
  /**
21
21
  * Retrieve customer from juspay
22
22
  *
23
23
  * @remarks
24
24
  * Retrieve customer from juspay.
25
25
  */
26
- getCustomer(request: operations.GetPaymentsJuspayCustomerRequest, options?: RequestOptions): Promise<operations.GetPaymentsJuspayCustomerResponseBody>;
26
+ getPaymentsJuspayCustomer(request: operations.GetPaymentsJuspayCustomerRequest, options?: RequestOptions): Promise<operations.GetPaymentsJuspayCustomerResponseBody>;
27
27
  }
28
28
  //# sourceMappingURL=juspay.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"juspay.d.ts","sourceRoot":"","sources":["../../src/sdk/juspay.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,MAAO,SAAQ,SAAS;IACnC;;;;;;OAMG;IACG,WAAW,CACf,OAAO,EAAE,UAAU,CAAC,wBAAwB,EAC5C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,yCAAyC,CAAC;IAQhE;;;;;OAKG;IACG,cAAc,CAClB,OAAO,EAAE,UAAU,CAAC,2BAA2B,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,4CAA4C,CAAC;IAQnE;;;;;OAKG;IACG,WAAW,CACf,OAAO,EAAE,UAAU,CAAC,gCAAgC,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,qCAAqC,CAAC;CAO7D"}
1
+ {"version":3,"file":"juspay.d.ts","sourceRoot":"","sources":["../../src/sdk/juspay.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,MAAO,SAAQ,SAAS;IACnC;;;;;;OAMG;IACG,6BAA6B,CACjC,OAAO,EAAE,UAAU,CAAC,wBAAwB,EAC5C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,yCAAyC,CAAC;IAQhE;;;;;OAKG;IACG,gCAAgC,CACpC,OAAO,EAAE,UAAU,CAAC,2BAA2B,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,4CAA4C,CAAC;IAQnE;;;;;OAKG;IACG,yBAAyB,CAC7B,OAAO,EAAE,UAAU,CAAC,gCAAgC,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,qCAAqC,CAAC;CAO7D"}
package/esm/sdk/juspay.js CHANGED
@@ -1,9 +1,9 @@
1
1
  /*
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
- import { juspayCreateCustomer } from "../funcs/juspayCreateCustomer.js";
5
- import { juspayCreateOrder } from "../funcs/juspayCreateOrder.js";
6
- import { juspayGetCustomer } from "../funcs/juspayGetCustomer.js";
4
+ import { juspayGetPaymentsJuspayCustomer } from "../funcs/juspayGetPaymentsJuspayCustomer.js";
5
+ import { juspayPostPaymentsJuspayCreateCustomer } from "../funcs/juspayPostPaymentsJuspayCreateCustomer.js";
6
+ import { juspayPostPaymentsJuspayCreateOrder } from "../funcs/juspayPostPaymentsJuspayCreateOrder.js";
7
7
  import { ClientSDK } from "../lib/sdks.js";
8
8
  import { unwrapAsync } from "../types/fp.js";
9
9
  export class Juspay extends ClientSDK {
@@ -14,8 +14,8 @@ export class Juspay extends ClientSDK {
14
14
  * Creates an order in the Juspay system and fetches the corresponding client_auth_token.
15
15
  * To be used for Express Checkout integration.
16
16
  */
17
- async createOrder(request, options) {
18
- return unwrapAsync(juspayCreateOrder(this, request, options));
17
+ async postPaymentsJuspayCreateOrder(request, options) {
18
+ return unwrapAsync(juspayPostPaymentsJuspayCreateOrder(this, request, options));
19
19
  }
20
20
  /**
21
21
  * Create customer in juspay
@@ -23,8 +23,8 @@ export class Juspay extends ClientSDK {
23
23
  * @remarks
24
24
  * Create customer in juspay.
25
25
  */
26
- async createCustomer(request, options) {
27
- return unwrapAsync(juspayCreateCustomer(this, request, options));
26
+ async postPaymentsJuspayCreateCustomer(request, options) {
27
+ return unwrapAsync(juspayPostPaymentsJuspayCreateCustomer(this, request, options));
28
28
  }
29
29
  /**
30
30
  * Retrieve customer from juspay
@@ -32,8 +32,8 @@ export class Juspay extends ClientSDK {
32
32
  * @remarks
33
33
  * Retrieve customer from juspay.
34
34
  */
35
- async getCustomer(request, options) {
36
- return unwrapAsync(juspayGetCustomer(this, request, options));
35
+ async getPaymentsJuspayCustomer(request, options) {
36
+ return unwrapAsync(juspayGetPaymentsJuspayCustomer(this, request, options));
37
37
  }
38
38
  }
39
39
  //# sourceMappingURL=juspay.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"juspay.js","sourceRoot":"","sources":["../../src/sdk/juspay.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAG3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,MAAO,SAAQ,SAAS;IACnC;;;;;;OAMG;IACH,KAAK,CAAC,WAAW,CACf,OAA4C,EAC5C,OAAwB;QAExB,OAAO,WAAW,CAAC,iBAAiB,CAClC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,cAAc,CAClB,OAA+C,EAC/C,OAAwB;QAExB,OAAO,WAAW,CAAC,oBAAoB,CACrC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,WAAW,CACf,OAAoD,EACpD,OAAwB;QAExB,OAAO,WAAW,CAAC,iBAAiB,CAClC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
1
+ {"version":3,"file":"juspay.js","sourceRoot":"","sources":["../../src/sdk/juspay.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,+BAA+B,EAAE,MAAM,6CAA6C,CAAC;AAC9F,OAAO,EAAE,sCAAsC,EAAE,MAAM,oDAAoD,CAAC;AAC5G,OAAO,EAAE,mCAAmC,EAAE,MAAM,iDAAiD,CAAC;AACtG,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAG3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,MAAO,SAAQ,SAAS;IACnC;;;;;;OAMG;IACH,KAAK,CAAC,6BAA6B,CACjC,OAA4C,EAC5C,OAAwB;QAExB,OAAO,WAAW,CAAC,mCAAmC,CACpD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,gCAAgC,CACpC,OAA+C,EAC/C,OAAwB;QAExB,OAAO,WAAW,CAAC,sCAAsC,CACvD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,yBAAyB,CAC7B,OAAoD,EACpD,OAAwB;QAExB,OAAO,WAAW,CAAC,+BAA+B,CAChD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -8,5 +8,12 @@ export declare class Loyalty extends ClientSDK {
8
8
  * Retrieve loyalty details
9
9
  */
10
10
  get(request: operations.GetLoyaltyPointRequest, options?: RequestOptions): Promise<operations.GetLoyaltyPointResponseBody>;
11
+ /**
12
+ * List all loyalty points activity
13
+ *
14
+ * @remarks
15
+ * List all loyalty points activity
16
+ */
17
+ listActivities(request: operations.GetLoyaltyPointActivityRequest, options?: RequestOptions): Promise<operations.GetLoyaltyPointActivityResponseBody>;
11
18
  }
12
19
  //# sourceMappingURL=loyalty.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"loyalty.d.ts","sourceRoot":"","sources":["../../src/sdk/loyalty.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,OAAQ,SAAQ,SAAS;IACpC;;;;;OAKG;IACG,GAAG,CACP,OAAO,EAAE,UAAU,CAAC,sBAAsB,EAC1C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,2BAA2B,CAAC;CAOnD"}
1
+ {"version":3,"file":"loyalty.d.ts","sourceRoot":"","sources":["../../src/sdk/loyalty.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,OAAQ,SAAQ,SAAS;IACpC;;;;;OAKG;IACG,GAAG,CACP,OAAO,EAAE,UAAU,CAAC,sBAAsB,EAC1C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,2BAA2B,CAAC;IAQlD;;;;;OAKG;IACG,cAAc,CAClB,OAAO,EAAE,UAAU,CAAC,8BAA8B,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,mCAAmC,CAAC;CAO3D"}
@@ -2,6 +2,7 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
  import { customersLoyaltyGet } from "../funcs/customersLoyaltyGet.js";
5
+ import { customersLoyaltyListActivities } from "../funcs/customersLoyaltyListActivities.js";
5
6
  import { ClientSDK } from "../lib/sdks.js";
6
7
  import { unwrapAsync } from "../types/fp.js";
7
8
  export class Loyalty extends ClientSDK {
@@ -14,5 +15,14 @@ export class Loyalty extends ClientSDK {
14
15
  async get(request, options) {
15
16
  return unwrapAsync(customersLoyaltyGet(this, request, options));
16
17
  }
18
+ /**
19
+ * List all loyalty points activity
20
+ *
21
+ * @remarks
22
+ * List all loyalty points activity
23
+ */
24
+ async listActivities(request, options) {
25
+ return unwrapAsync(customersLoyaltyListActivities(this, request, options));
26
+ }
17
27
  }
18
28
  //# sourceMappingURL=loyalty.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"loyalty.js","sourceRoot":"","sources":["../../src/sdk/loyalty.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,OAAQ,SAAQ,SAAS;IACpC;;;;;OAKG;IACH,KAAK,CAAC,GAAG,CACP,OAA0C,EAC1C,OAAwB;QAExB,OAAO,WAAW,CAAC,mBAAmB,CACpC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
1
+ {"version":3,"file":"loyalty.js","sourceRoot":"","sources":["../../src/sdk/loyalty.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,8BAA8B,EAAE,MAAM,4CAA4C,CAAC;AAC5F,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,OAAQ,SAAQ,SAAS;IACpC;;;;;OAKG;IACH,KAAK,CAAC,GAAG,CACP,OAA0C,EAC1C,OAAwB;QAExB,OAAO,WAAW,CAAC,mBAAmB,CACpC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,cAAc,CAClB,OAAkD,EAClD,OAAwB;QAExB,OAAO,WAAW,CAAC,8BAA8B,CAC/C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -8,5 +8,19 @@ export declare class NotificationPreferences extends ClientSDK {
8
8
  * The Retrieve Notification Preferences API allows clients to fetch a user's notification preferences based on their unique user identifier (user_id).
9
9
  */
10
10
  get(request: operations.GetAuthUserIdNotificationPreferencesRequest, options?: RequestOptions): Promise<operations.GetAuthUserIdNotificationPreferencesResponseBody>;
11
+ /**
12
+ * Create user notification preferences
13
+ *
14
+ * @remarks
15
+ * Create user notification preferences API allows clients to create a user's notification preferences based on their unique user identifier (user_id).
16
+ */
17
+ create(request: operations.PostAuthUserIdNotificationPreferencesRequest, options?: RequestOptions): Promise<operations.PostAuthUserIdNotificationPreferencesResponseBody>;
18
+ /**
19
+ * Update user notification preferences
20
+ *
21
+ * @remarks
22
+ * Update Notification Preferences API allows clients to update a user's notification preferences based on their unique user identifier (user_id).
23
+ */
24
+ update(request: operations.PutAuthUserIdNotificationPreferencesRequest, options?: RequestOptions): Promise<operations.PutAuthUserIdNotificationPreferencesResponseBody>;
11
25
  }
12
26
  //# sourceMappingURL=notificationpreferences.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"notificationpreferences.d.ts","sourceRoot":"","sources":["../../src/sdk/notificationpreferences.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,uBAAwB,SAAQ,SAAS;IACpD;;;;;OAKG;IACG,GAAG,CACP,OAAO,EAAE,UAAU,CAAC,2CAA2C,EAC/D,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,gDAAgD,CAAC;CAOxE"}
1
+ {"version":3,"file":"notificationpreferences.d.ts","sourceRoot":"","sources":["../../src/sdk/notificationpreferences.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,uBAAwB,SAAQ,SAAS;IACpD;;;;;OAKG;IACG,GAAG,CACP,OAAO,EAAE,UAAU,CAAC,2CAA2C,EAC/D,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,gDAAgD,CAAC;IAQvE;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,4CAA4C,EAChE,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,iDAAiD,CAAC;IAQxE;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,2CAA2C,EAC/D,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,gDAAgD,CAAC;CAOxE"}
@@ -1,7 +1,9 @@
1
1
  /*
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
- import { authUserNotificationPreferencesGet } from "../funcs/authUserNotificationPreferencesGet.js";
4
+ import { userNotificationPreferencesCreate } from "../funcs/userNotificationPreferencesCreate.js";
5
+ import { userNotificationPreferencesGet } from "../funcs/userNotificationPreferencesGet.js";
6
+ import { userNotificationPreferencesUpdate } from "../funcs/userNotificationPreferencesUpdate.js";
5
7
  import { ClientSDK } from "../lib/sdks.js";
6
8
  import { unwrapAsync } from "../types/fp.js";
7
9
  export class NotificationPreferences extends ClientSDK {
@@ -12,7 +14,25 @@ export class NotificationPreferences extends ClientSDK {
12
14
  * The Retrieve Notification Preferences API allows clients to fetch a user's notification preferences based on their unique user identifier (user_id).
13
15
  */
14
16
  async get(request, options) {
15
- return unwrapAsync(authUserNotificationPreferencesGet(this, request, options));
17
+ return unwrapAsync(userNotificationPreferencesGet(this, request, options));
18
+ }
19
+ /**
20
+ * Create user notification preferences
21
+ *
22
+ * @remarks
23
+ * Create user notification preferences API allows clients to create a user's notification preferences based on their unique user identifier (user_id).
24
+ */
25
+ async create(request, options) {
26
+ return unwrapAsync(userNotificationPreferencesCreate(this, request, options));
27
+ }
28
+ /**
29
+ * Update user notification preferences
30
+ *
31
+ * @remarks
32
+ * Update Notification Preferences API allows clients to update a user's notification preferences based on their unique user identifier (user_id).
33
+ */
34
+ async update(request, options) {
35
+ return unwrapAsync(userNotificationPreferencesUpdate(this, request, options));
16
36
  }
17
37
  }
18
38
  //# sourceMappingURL=notificationpreferences.js.map