ce-storefront 0.3.11 → 0.3.17

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 (438) hide show
  1. package/FUNCTIONS.md +2 -2
  2. package/README.md +129 -108
  3. package/docs/sdks/addresses/README.md +4 -363
  4. package/docs/sdks/auth/README.md +72 -0
  5. package/docs/sdks/authuser/README.md +80 -0
  6. package/docs/sdks/{refunds → cards}/README.md +12 -11
  7. package/docs/sdks/catalogproductreviews/README.md +97 -0
  8. package/docs/sdks/{shipments → catalogproducts}/README.md +12 -12
  9. package/docs/sdks/{skus → catalogskus}/README.md +3 -3
  10. package/docs/sdks/{cestorefrontreviews → cestorefrontaddresses}/README.md +123 -34
  11. package/docs/sdks/cestorefrontproducts/README.md +6 -0
  12. package/docs/sdks/cestorefrontuser/README.md +6 -735
  13. package/docs/sdks/cestorefrontusers/README.md +92 -0
  14. package/docs/sdks/countries/README.md +79 -0
  15. package/docs/sdks/customers/README.md +192 -18
  16. package/docs/sdks/juspay/README.md +15 -15
  17. package/docs/sdks/loyalty/README.md +0 -81
  18. package/docs/sdks/loyaltypoints/README.md +88 -0
  19. package/docs/sdks/notificationpreferences/README.md +4 -162
  20. package/docs/sdks/orders/README.md +163 -5
  21. package/docs/sdks/payments/README.md +15 -95
  22. package/docs/sdks/products/README.md +15 -94
  23. package/docs/sdks/reviews/README.md +17 -13
  24. package/docs/sdks/{shipping → shipment}/README.md +5 -5
  25. package/docs/sdks/user/README.md +425 -0
  26. package/docs/sdks/users/README.md +240 -0
  27. package/docs/sdks/utils/README.md +0 -72
  28. package/docs/sdks/wishlist/README.md +5 -5
  29. package/esm/funcs/{catalogProductsGetCrossSells.d.ts → addressesGet.d.ts} +4 -4
  30. package/esm/funcs/addressesGet.d.ts.map +1 -0
  31. package/esm/funcs/{customersAddressesGet.js → addressesGet.js} +2 -2
  32. package/esm/funcs/addressesGet.js.map +1 -0
  33. package/esm/funcs/{authUserLogout.d.ts → authLogout.d.ts} +2 -2
  34. package/esm/funcs/authLogout.d.ts.map +1 -0
  35. package/esm/funcs/{authUserLogout.js → authLogout.js} +2 -2
  36. package/esm/funcs/authLogout.js.map +1 -0
  37. package/esm/funcs/{authUserDeactivateAccount.d.ts → authUserDeactivate.d.ts} +2 -2
  38. package/esm/funcs/{paymentsGetMethods.d.ts.map → authUserDeactivate.d.ts.map} +1 -1
  39. package/esm/funcs/{authUserDeactivateAccount.js → authUserDeactivate.js} +2 -2
  40. package/esm/funcs/authUserDeactivate.js.map +1 -0
  41. package/esm/funcs/{userNotificationPreferencesGet.d.ts → authUserNotificationPreferencesGet.d.ts} +2 -2
  42. package/esm/funcs/authUserNotificationPreferencesGet.d.ts.map +1 -0
  43. package/esm/funcs/{userNotificationPreferencesGet.js → authUserNotificationPreferencesGet.js} +2 -2
  44. package/esm/funcs/authUserNotificationPreferencesGet.js.map +1 -0
  45. package/esm/funcs/{authUserAddProfileImage.d.ts → authUsersAddProfileImage.d.ts} +2 -2
  46. package/esm/funcs/authUsersAddProfileImage.d.ts.map +1 -0
  47. package/esm/funcs/{authUserAddProfileImage.js → authUsersAddProfileImage.js} +2 -2
  48. package/esm/funcs/authUsersAddProfileImage.js.map +1 -0
  49. package/esm/funcs/{catalogProductsReviewsCreate.d.ts → catalogProductReviewsCreate.d.ts} +2 -2
  50. package/esm/funcs/catalogProductReviewsCreate.d.ts.map +1 -0
  51. package/esm/funcs/{catalogProductsReviewsCreate.js → catalogProductReviewsCreate.js} +2 -2
  52. package/esm/funcs/catalogProductReviewsCreate.js.map +1 -0
  53. package/esm/funcs/customersAddAddress.d.ts +16 -0
  54. package/esm/funcs/{catalogProductsList.d.ts.map → customersAddAddress.d.ts.map} +1 -1
  55. package/esm/funcs/{customersAddressesAdd.js → customersAddAddress.js} +2 -2
  56. package/esm/funcs/customersAddAddress.js.map +1 -0
  57. package/esm/funcs/{customersPostCustomers.d.ts → customersCreate.d.ts} +2 -2
  58. package/esm/funcs/customersCreate.d.ts.map +1 -0
  59. package/esm/funcs/{customersPostCustomers.js → customersCreate.js} +2 -2
  60. package/esm/funcs/customersCreate.js.map +1 -0
  61. package/esm/funcs/{customersGetCustomersId.d.ts → customersGet.d.ts} +2 -2
  62. package/esm/funcs/customersGet.d.ts.map +1 -0
  63. package/esm/funcs/{customersGetCustomersId.js → customersGet.js} +2 -2
  64. package/esm/funcs/customersGet.js.map +1 -0
  65. package/esm/funcs/customersGetReviews.d.ts +15 -0
  66. package/esm/funcs/customersGetReviews.d.ts.map +1 -0
  67. package/esm/funcs/{customersReviewsList.js → customersGetReviews.js} +2 -2
  68. package/esm/funcs/customersGetReviews.js.map +1 -0
  69. package/esm/funcs/{customersAddressesAdd.d.ts → customersUpdate.d.ts} +4 -4
  70. package/esm/funcs/customersUpdate.d.ts.map +1 -0
  71. package/esm/funcs/{customersPutCustomersId.js → customersUpdate.js} +2 -2
  72. package/esm/funcs/customersUpdate.js.map +1 -0
  73. package/esm/funcs/juspayCreateCustomer.d.ts +17 -0
  74. package/esm/funcs/juspayCreateCustomer.d.ts.map +1 -0
  75. package/esm/funcs/{juspayPostPaymentsJuspayCreateCustomer.js → juspayCreateCustomer.js} +2 -2
  76. package/esm/funcs/juspayCreateCustomer.js.map +1 -0
  77. package/esm/funcs/{juspayPostPaymentsJuspayCreateOrder.d.ts → juspayCreateOrder.d.ts} +2 -2
  78. package/esm/funcs/juspayCreateOrder.d.ts.map +1 -0
  79. package/esm/funcs/{juspayPostPaymentsJuspayCreateOrder.js → juspayCreateOrder.js} +2 -2
  80. package/esm/funcs/{juspayGetPaymentsJuspayCustomer.js.map → juspayCreateOrder.js.map} +1 -1
  81. package/esm/funcs/{juspayGetPaymentsJuspayCustomer.d.ts → juspayGetCustomer.d.ts} +2 -2
  82. package/esm/funcs/juspayGetCustomer.d.ts.map +1 -0
  83. package/esm/funcs/{juspayGetPaymentsJuspayCustomer.js → juspayGetCustomer.js} +2 -2
  84. package/esm/funcs/{juspayPostPaymentsJuspayCreateOrder.js.map → juspayGetCustomer.js.map} +1 -1
  85. package/esm/funcs/{customersLoyaltyListActivities.d.ts → loyaltyPointsListActivities.d.ts} +2 -2
  86. package/esm/funcs/loyaltyPointsListActivities.d.ts.map +1 -0
  87. package/esm/funcs/{customersLoyaltyListActivities.js → loyaltyPointsListActivities.js} +2 -2
  88. package/esm/funcs/loyaltyPointsListActivities.js.map +1 -0
  89. package/esm/funcs/{customersReviewsList.d.ts → ordersGetPaymentStatus.d.ts} +4 -4
  90. package/esm/funcs/ordersGetPaymentStatus.d.ts.map +1 -0
  91. package/esm/funcs/{ordersGetOrdersIdPaymentStatus.js → ordersGetPaymentStatus.js} +2 -2
  92. package/esm/funcs/ordersGetPaymentStatus.js.map +1 -0
  93. package/esm/funcs/{ordersRefundsList.d.ts → ordersGetRefunds.d.ts} +2 -2
  94. package/esm/funcs/ordersGetRefunds.d.ts.map +1 -0
  95. package/esm/funcs/{ordersRefundsList.js → ordersGetRefunds.js} +2 -2
  96. package/esm/funcs/ordersGetRefunds.js.map +1 -0
  97. package/esm/funcs/{ordersShipmentsList.d.ts → ordersGetShipments.d.ts} +2 -2
  98. package/esm/funcs/ordersGetShipments.d.ts.map +1 -0
  99. package/esm/funcs/{ordersShipmentsList.js → ordersGetShipments.js} +2 -2
  100. package/esm/funcs/ordersGetShipments.js.map +1 -0
  101. package/esm/funcs/{paymentsPostPaymentsCards.d.ts → paymentsAddCard.d.ts} +2 -2
  102. package/esm/funcs/paymentsAddCard.d.ts.map +1 -0
  103. package/esm/funcs/{paymentsPostPaymentsCards.js → paymentsAddCard.js} +2 -2
  104. package/esm/funcs/paymentsAddCard.js.map +1 -0
  105. package/esm/funcs/{paymentsGetPaymentsCards.d.ts → paymentsCardsList.d.ts} +2 -2
  106. package/esm/funcs/paymentsCardsList.d.ts.map +1 -0
  107. package/esm/funcs/{paymentsGetPaymentsCards.js → paymentsCardsList.js} +2 -2
  108. package/esm/funcs/paymentsCardsList.js.map +1 -0
  109. package/esm/funcs/{paymentsGetMethods.d.ts → paymentsListMethods.d.ts} +2 -2
  110. package/esm/funcs/paymentsListMethods.d.ts.map +1 -0
  111. package/esm/funcs/{paymentsGetMethods.js → paymentsListMethods.js} +2 -2
  112. package/esm/funcs/paymentsListMethods.js.map +1 -0
  113. package/esm/funcs/{paymentsGetPaymentsVerifyVpa.d.ts → paymentsVerifyVpa.d.ts} +2 -2
  114. package/esm/funcs/paymentsVerifyVpa.d.ts.map +1 -0
  115. package/esm/funcs/{paymentsGetPaymentsVerifyVpa.js → paymentsVerifyVpa.js} +2 -2
  116. package/esm/funcs/paymentsVerifyVpa.js.map +1 -0
  117. package/esm/funcs/{catalogProductsGetSimilar.d.ts → productsGetSimilar.d.ts} +2 -2
  118. package/esm/funcs/productsGetSimilar.d.ts.map +1 -0
  119. package/esm/funcs/{catalogProductsGetSimilar.js → productsGetSimilar.js} +2 -2
  120. package/esm/funcs/productsGetSimilar.js.map +1 -0
  121. package/esm/funcs/{catalogProductsGetUpsells.d.ts → productsGetUpsells.d.ts} +2 -2
  122. package/esm/funcs/productsGetUpsells.d.ts.map +1 -0
  123. package/esm/funcs/{catalogProductsGetUpsells.js → productsGetUpsells.js} +2 -2
  124. package/esm/funcs/productsGetUpsells.js.map +1 -0
  125. package/esm/funcs/{catalogProductsList.d.ts → productsList.d.ts} +2 -2
  126. package/esm/funcs/productsList.d.ts.map +1 -0
  127. package/esm/funcs/{catalogProductsList.js → productsList.js} +2 -2
  128. package/esm/funcs/productsList.js.map +1 -0
  129. package/esm/funcs/{juspayPostPaymentsJuspayCreateCustomer.d.ts → productsListCrossSells.d.ts} +4 -5
  130. package/esm/funcs/productsListCrossSells.d.ts.map +1 -0
  131. package/esm/funcs/{catalogProductsGetCrossSells.js → productsListCrossSells.js} +2 -2
  132. package/esm/funcs/productsListCrossSells.js.map +1 -0
  133. package/esm/funcs/{shippingCheckPincodeServiceability.d.ts → shipmentCheckPincodeServiceability.d.ts} +2 -2
  134. package/esm/funcs/{shippingCheckPincodeServiceability.d.ts.map → shipmentCheckPincodeServiceability.d.ts.map} +1 -1
  135. package/esm/funcs/{shippingCheckPincodeServiceability.js → shipmentCheckPincodeServiceability.js} +2 -2
  136. package/esm/funcs/{shippingCheckPincodeServiceability.js.map → shipmentCheckPincodeServiceability.js.map} +1 -1
  137. package/esm/funcs/{authUserDeleteProfileImage.d.ts → userDeleteProfileImage.d.ts} +2 -2
  138. package/esm/funcs/userDeleteProfileImage.d.ts.map +1 -0
  139. package/esm/funcs/{authUserDeleteProfileImage.js → userDeleteProfileImage.js} +2 -2
  140. package/esm/funcs/userDeleteProfileImage.js.map +1 -0
  141. package/esm/funcs/{authUserResetPassword.d.ts → userResetPassword.d.ts} +2 -2
  142. package/esm/funcs/{ordersRefundsList.d.ts.map → userResetPassword.d.ts.map} +1 -1
  143. package/esm/funcs/{authUserResetPassword.js → userResetPassword.js} +2 -2
  144. package/esm/funcs/userResetPassword.js.map +1 -0
  145. package/esm/funcs/{authUserUpdate.d.ts → userUpdate.d.ts} +2 -2
  146. package/esm/funcs/userUpdate.d.ts.map +1 -0
  147. package/esm/funcs/{authUserUpdate.js → userUpdate.js} +2 -2
  148. package/esm/funcs/userUpdate.js.map +1 -0
  149. package/esm/funcs/{userNotificationPreferencesUpdate.d.ts → userUpdateNotificationPreferences.d.ts} +2 -2
  150. package/esm/funcs/{userNotificationPreferencesUpdate.d.ts.map → userUpdateNotificationPreferences.d.ts.map} +1 -1
  151. package/esm/funcs/{userNotificationPreferencesUpdate.js → userUpdateNotificationPreferences.js} +2 -2
  152. package/esm/funcs/{userNotificationPreferencesUpdate.js.map → userUpdateNotificationPreferences.js.map} +1 -1
  153. package/esm/funcs/{authUserUpdateProfileImage.d.ts → userUpdateProfileImage.d.ts} +2 -2
  154. package/esm/funcs/userUpdateProfileImage.d.ts.map +1 -0
  155. package/esm/funcs/{authUserUpdateProfileImage.js → userUpdateProfileImage.js} +2 -2
  156. package/esm/funcs/userUpdateProfileImage.js.map +1 -0
  157. package/esm/funcs/{userNotificationPreferencesCreate.d.ts → usersCreateNotificationPreferences.d.ts} +2 -2
  158. package/esm/funcs/usersCreateNotificationPreferences.d.ts.map +1 -0
  159. package/esm/funcs/{userNotificationPreferencesCreate.js → usersCreateNotificationPreferences.js} +2 -2
  160. package/esm/funcs/usersCreateNotificationPreferences.js.map +1 -0
  161. package/esm/funcs/{authUserGet.d.ts → usersGet.d.ts} +2 -2
  162. package/esm/funcs/usersGet.d.ts.map +1 -0
  163. package/esm/funcs/{authUserGet.js → usersGet.js} +2 -2
  164. package/esm/funcs/usersGet.js.map +1 -0
  165. package/esm/funcs/{authUserGetProfileImage.d.ts → usersGetProfileImage.d.ts} +2 -2
  166. package/esm/funcs/{customersReviewsList.d.ts.map → usersGetProfileImage.d.ts.map} +1 -1
  167. package/esm/funcs/{authUserGetProfileImage.js → usersGetProfileImage.js} +2 -2
  168. package/esm/funcs/{customersReviewsList.js.map → usersGetProfileImage.js.map} +1 -1
  169. package/esm/funcs/{utilsGetCountries.d.ts → utilsCountriesGet.d.ts} +2 -2
  170. package/esm/funcs/{utilsGetCountries.d.ts.map → utilsCountriesGet.d.ts.map} +1 -1
  171. package/esm/funcs/{utilsGetCountries.js → utilsCountriesGet.js} +2 -2
  172. package/esm/funcs/{utilsGetCountries.js.map → utilsCountriesGet.js.map} +1 -1
  173. package/esm/funcs/{wishlistDelete.d.ts → wishlistRemoveItem.d.ts} +2 -2
  174. package/esm/funcs/wishlistRemoveItem.d.ts.map +1 -0
  175. package/esm/funcs/{wishlistDelete.js → wishlistRemoveItem.js} +2 -2
  176. package/esm/funcs/wishlistRemoveItem.js.map +1 -0
  177. package/esm/lib/config.d.ts +2 -2
  178. package/esm/lib/config.js +2 -2
  179. package/esm/sdk/addresses.d.ts +0 -28
  180. package/esm/sdk/addresses.d.ts.map +1 -1
  181. package/esm/sdk/addresses.js +2 -42
  182. package/esm/sdk/addresses.js.map +1 -1
  183. package/esm/sdk/auth.d.ts +10 -0
  184. package/esm/sdk/auth.d.ts.map +1 -1
  185. package/esm/sdk/auth.js +14 -0
  186. package/esm/sdk/auth.js.map +1 -1
  187. package/esm/sdk/authuser.d.ts +12 -0
  188. package/esm/sdk/authuser.d.ts.map +1 -0
  189. package/esm/sdk/authuser.js +18 -0
  190. package/esm/sdk/authuser.js.map +1 -0
  191. package/esm/sdk/cards.d.ts +12 -0
  192. package/esm/sdk/cards.d.ts.map +1 -0
  193. package/esm/sdk/cards.js +18 -0
  194. package/esm/sdk/cards.js.map +1 -0
  195. package/esm/sdk/catalog.d.ts +2 -5
  196. package/esm/sdk/catalog.d.ts.map +1 -1
  197. package/esm/sdk/catalog.js +2 -6
  198. package/esm/sdk/catalog.js.map +1 -1
  199. package/esm/sdk/catalogproductreviews.d.ts +12 -0
  200. package/esm/sdk/catalogproductreviews.d.ts.map +1 -0
  201. package/esm/sdk/catalogproductreviews.js +18 -0
  202. package/esm/sdk/catalogproductreviews.js.map +1 -0
  203. package/esm/sdk/catalogproducts.d.ts +12 -0
  204. package/esm/sdk/catalogproducts.d.ts.map +1 -0
  205. package/esm/sdk/catalogproducts.js +18 -0
  206. package/esm/sdk/catalogproducts.js.map +1 -0
  207. package/esm/sdk/{skus.d.ts → catalogskus.d.ts} +2 -2
  208. package/esm/sdk/catalogskus.d.ts.map +1 -0
  209. package/esm/sdk/{skus.js → catalogskus.js} +2 -2
  210. package/esm/sdk/catalogskus.js.map +1 -0
  211. package/esm/sdk/cestorefrontaddresses.d.ts +26 -0
  212. package/esm/sdk/cestorefrontaddresses.d.ts.map +1 -0
  213. package/esm/sdk/cestorefrontaddresses.js +38 -0
  214. package/esm/sdk/cestorefrontaddresses.js.map +1 -0
  215. package/esm/sdk/cestorefrontproducts.d.ts +10 -0
  216. package/esm/sdk/cestorefrontproducts.d.ts.map +1 -0
  217. package/esm/sdk/cestorefrontproducts.js +15 -0
  218. package/esm/sdk/cestorefrontproducts.js.map +1 -0
  219. package/esm/sdk/cestorefrontuser.d.ts +4 -64
  220. package/esm/sdk/cestorefrontuser.d.ts.map +1 -1
  221. package/esm/sdk/cestorefrontuser.js +6 -92
  222. package/esm/sdk/cestorefrontuser.js.map +1 -1
  223. package/esm/sdk/cestorefrontusers.d.ts +12 -0
  224. package/esm/sdk/cestorefrontusers.d.ts.map +1 -0
  225. package/esm/sdk/cestorefrontusers.js +18 -0
  226. package/esm/sdk/cestorefrontusers.js.map +1 -0
  227. package/esm/sdk/countries.d.ts +12 -0
  228. package/esm/sdk/countries.d.ts.map +1 -0
  229. package/esm/sdk/countries.js +18 -0
  230. package/esm/sdk/countries.js.map +1 -0
  231. package/esm/sdk/customers.d.ts +19 -8
  232. package/esm/sdk/customers.d.ts.map +1 -1
  233. package/esm/sdk/customers.js +31 -15
  234. package/esm/sdk/customers.js.map +1 -1
  235. package/esm/sdk/juspay.d.ts +3 -3
  236. package/esm/sdk/juspay.d.ts.map +1 -1
  237. package/esm/sdk/juspay.js +9 -9
  238. package/esm/sdk/juspay.js.map +1 -1
  239. package/esm/sdk/loyalty.d.ts +0 -7
  240. package/esm/sdk/loyalty.d.ts.map +1 -1
  241. package/esm/sdk/loyalty.js +0 -10
  242. package/esm/sdk/loyalty.js.map +1 -1
  243. package/esm/sdk/loyaltypoints.d.ts +12 -0
  244. package/esm/sdk/loyaltypoints.d.ts.map +1 -0
  245. package/esm/sdk/loyaltypoints.js +18 -0
  246. package/esm/sdk/loyaltypoints.js.map +1 -0
  247. package/esm/sdk/notificationpreferences.d.ts +0 -14
  248. package/esm/sdk/notificationpreferences.d.ts.map +1 -1
  249. package/esm/sdk/notificationpreferences.js +2 -22
  250. package/esm/sdk/notificationpreferences.js.map +1 -1
  251. package/esm/sdk/orders.d.ts +15 -7
  252. package/esm/sdk/orders.d.ts.map +1 -1
  253. package/esm/sdk/orders.js +23 -11
  254. package/esm/sdk/orders.js.map +1 -1
  255. package/esm/sdk/payments.d.ts +6 -10
  256. package/esm/sdk/payments.d.ts.map +1 -1
  257. package/esm/sdk/payments.js +13 -19
  258. package/esm/sdk/payments.js.map +1 -1
  259. package/esm/sdk/products.d.ts +1 -14
  260. package/esm/sdk/products.d.ts.map +1 -1
  261. package/esm/sdk/products.js +9 -27
  262. package/esm/sdk/products.js.map +1 -1
  263. package/esm/sdk/reviews.d.ts +3 -3
  264. package/esm/sdk/reviews.d.ts.map +1 -1
  265. package/esm/sdk/reviews.js +4 -4
  266. package/esm/sdk/reviews.js.map +1 -1
  267. package/esm/sdk/sdk.d.ts +27 -3
  268. package/esm/sdk/sdk.d.ts.map +1 -1
  269. package/esm/sdk/sdk.js +35 -3
  270. package/esm/sdk/sdk.js.map +1 -1
  271. package/esm/sdk/{shipping.d.ts → shipment.d.ts} +2 -2
  272. package/esm/sdk/{shipping.d.ts.map → shipment.d.ts.map} +1 -1
  273. package/esm/sdk/{shipping.js → shipment.js} +4 -4
  274. package/esm/sdk/{shipping.js.map → shipment.js.map} +1 -1
  275. package/esm/sdk/user.d.ts +37 -4
  276. package/esm/sdk/user.d.ts.map +1 -1
  277. package/esm/sdk/user.js +50 -3
  278. package/esm/sdk/user.js.map +1 -1
  279. package/esm/sdk/users.d.ts +26 -0
  280. package/esm/sdk/users.d.ts.map +1 -0
  281. package/esm/sdk/users.js +38 -0
  282. package/esm/sdk/users.js.map +1 -0
  283. package/esm/sdk/utils.d.ts +3 -7
  284. package/esm/sdk/utils.d.ts.map +1 -1
  285. package/esm/sdk/utils.js +3 -9
  286. package/esm/sdk/utils.js.map +1 -1
  287. package/esm/sdk/wishlist.d.ts +1 -1
  288. package/esm/sdk/wishlist.d.ts.map +1 -1
  289. package/esm/sdk/wishlist.js +3 -3
  290. package/esm/sdk/wishlist.js.map +1 -1
  291. package/jsr.json +1 -1
  292. package/package.json +1 -1
  293. package/src/funcs/{customersAddressesGet.ts → addressesGet.ts} +1 -1
  294. package/src/funcs/{authUserLogout.ts → authLogout.ts} +1 -1
  295. package/src/funcs/{authUserDeactivateAccount.ts → authUserDeactivate.ts} +1 -1
  296. package/src/funcs/{userNotificationPreferencesGet.ts → authUserNotificationPreferencesGet.ts} +1 -1
  297. package/src/funcs/{authUserAddProfileImage.ts → authUsersAddProfileImage.ts} +1 -1
  298. package/src/funcs/{catalogProductsReviewsCreate.ts → catalogProductReviewsCreate.ts} +1 -1
  299. package/src/funcs/{customersAddressesAdd.ts → customersAddAddress.ts} +1 -1
  300. package/src/funcs/{customersPostCustomers.ts → customersCreate.ts} +1 -1
  301. package/src/funcs/{customersGetCustomersId.ts → customersGet.ts} +1 -1
  302. package/src/funcs/{customersReviewsList.ts → customersGetReviews.ts} +1 -1
  303. package/src/funcs/{customersPutCustomersId.ts → customersUpdate.ts} +1 -1
  304. package/src/funcs/{juspayPostPaymentsJuspayCreateCustomer.ts → juspayCreateCustomer.ts} +1 -1
  305. package/src/funcs/{juspayPostPaymentsJuspayCreateOrder.ts → juspayCreateOrder.ts} +1 -1
  306. package/src/funcs/{juspayGetPaymentsJuspayCustomer.ts → juspayGetCustomer.ts} +1 -1
  307. package/src/funcs/{customersLoyaltyListActivities.ts → loyaltyPointsListActivities.ts} +1 -1
  308. package/src/funcs/{ordersGetOrdersIdPaymentStatus.ts → ordersGetPaymentStatus.ts} +1 -1
  309. package/src/funcs/{ordersRefundsList.ts → ordersGetRefunds.ts} +1 -1
  310. package/src/funcs/{ordersShipmentsList.ts → ordersGetShipments.ts} +1 -1
  311. package/src/funcs/{paymentsPostPaymentsCards.ts → paymentsAddCard.ts} +1 -1
  312. package/src/funcs/{paymentsGetPaymentsCards.ts → paymentsCardsList.ts} +1 -1
  313. package/src/funcs/{paymentsGetMethods.ts → paymentsListMethods.ts} +1 -1
  314. package/src/funcs/{paymentsGetPaymentsVerifyVpa.ts → paymentsVerifyVpa.ts} +1 -1
  315. package/src/funcs/{catalogProductsGetSimilar.ts → productsGetSimilar.ts} +1 -1
  316. package/src/funcs/{catalogProductsGetUpsells.ts → productsGetUpsells.ts} +1 -1
  317. package/src/funcs/{catalogProductsList.ts → productsList.ts} +1 -1
  318. package/src/funcs/{catalogProductsGetCrossSells.ts → productsListCrossSells.ts} +1 -1
  319. package/src/funcs/{shippingCheckPincodeServiceability.ts → shipmentCheckPincodeServiceability.ts} +1 -1
  320. package/src/funcs/{authUserDeleteProfileImage.ts → userDeleteProfileImage.ts} +1 -1
  321. package/src/funcs/{authUserResetPassword.ts → userResetPassword.ts} +1 -1
  322. package/src/funcs/{authUserUpdate.ts → userUpdate.ts} +1 -1
  323. package/src/funcs/{userNotificationPreferencesUpdate.ts → userUpdateNotificationPreferences.ts} +1 -1
  324. package/src/funcs/{authUserUpdateProfileImage.ts → userUpdateProfileImage.ts} +1 -1
  325. package/src/funcs/{userNotificationPreferencesCreate.ts → usersCreateNotificationPreferences.ts} +1 -1
  326. package/src/funcs/{authUserGet.ts → usersGet.ts} +1 -1
  327. package/src/funcs/{authUserGetProfileImage.ts → usersGetProfileImage.ts} +1 -1
  328. package/src/funcs/{utilsGetCountries.ts → utilsCountriesGet.ts} +1 -1
  329. package/src/funcs/{wishlistDelete.ts → wishlistRemoveItem.ts} +1 -1
  330. package/src/lib/config.ts +2 -2
  331. package/src/sdk/addresses.ts +2 -74
  332. package/src/sdk/auth.ts +22 -0
  333. package/src/sdk/authuser.ts +27 -0
  334. package/src/sdk/{refunds.ts → cards.ts} +7 -7
  335. package/src/sdk/catalog.ts +4 -10
  336. package/src/sdk/catalogproductreviews.ts +27 -0
  337. package/src/sdk/catalogproducts.ts +27 -0
  338. package/src/sdk/{skus.ts → catalogskus.ts} +1 -1
  339. package/src/sdk/cestorefrontaddresses.ts +63 -0
  340. package/src/sdk/cestorefrontproducts.ts +19 -0
  341. package/src/sdk/cestorefrontuser.ts +8 -160
  342. package/src/sdk/cestorefrontusers.ts +27 -0
  343. package/src/sdk/countries.ts +25 -0
  344. package/src/sdk/customers.ts +49 -19
  345. package/src/sdk/juspay.ts +9 -9
  346. package/src/sdk/loyalty.ts +0 -18
  347. package/src/sdk/loyaltypoints.ts +27 -0
  348. package/src/sdk/notificationpreferences.ts +2 -38
  349. package/src/sdk/orders.ts +39 -15
  350. package/src/sdk/payments.ts +15 -27
  351. package/src/sdk/products.ts +9 -39
  352. package/src/sdk/reviews.ts +6 -6
  353. package/src/sdk/sdk.ts +54 -4
  354. package/src/sdk/{shipping.ts → shipment.ts} +3 -3
  355. package/src/sdk/user.ts +90 -6
  356. package/src/sdk/users.ts +63 -0
  357. package/src/sdk/utils.ts +4 -14
  358. package/src/sdk/wishlist.ts +3 -3
  359. package/esm/funcs/authUserAddProfileImage.d.ts.map +0 -1
  360. package/esm/funcs/authUserAddProfileImage.js.map +0 -1
  361. package/esm/funcs/authUserDeactivateAccount.d.ts.map +0 -1
  362. package/esm/funcs/authUserDeactivateAccount.js.map +0 -1
  363. package/esm/funcs/authUserDeleteProfileImage.d.ts.map +0 -1
  364. package/esm/funcs/authUserDeleteProfileImage.js.map +0 -1
  365. package/esm/funcs/authUserGet.d.ts.map +0 -1
  366. package/esm/funcs/authUserGet.js.map +0 -1
  367. package/esm/funcs/authUserGetProfileImage.d.ts.map +0 -1
  368. package/esm/funcs/authUserGetProfileImage.js.map +0 -1
  369. package/esm/funcs/authUserLogout.d.ts.map +0 -1
  370. package/esm/funcs/authUserLogout.js.map +0 -1
  371. package/esm/funcs/authUserResetPassword.d.ts.map +0 -1
  372. package/esm/funcs/authUserResetPassword.js.map +0 -1
  373. package/esm/funcs/authUserUpdate.d.ts.map +0 -1
  374. package/esm/funcs/authUserUpdate.js.map +0 -1
  375. package/esm/funcs/authUserUpdateProfileImage.d.ts.map +0 -1
  376. package/esm/funcs/authUserUpdateProfileImage.js.map +0 -1
  377. package/esm/funcs/catalogProductsGetCrossSells.d.ts.map +0 -1
  378. package/esm/funcs/catalogProductsGetCrossSells.js.map +0 -1
  379. package/esm/funcs/catalogProductsGetSimilar.d.ts.map +0 -1
  380. package/esm/funcs/catalogProductsGetSimilar.js.map +0 -1
  381. package/esm/funcs/catalogProductsGetUpsells.d.ts.map +0 -1
  382. package/esm/funcs/catalogProductsGetUpsells.js.map +0 -1
  383. package/esm/funcs/catalogProductsList.js.map +0 -1
  384. package/esm/funcs/catalogProductsReviewsCreate.d.ts.map +0 -1
  385. package/esm/funcs/catalogProductsReviewsCreate.js.map +0 -1
  386. package/esm/funcs/customersAddressesAdd.d.ts.map +0 -1
  387. package/esm/funcs/customersAddressesAdd.js.map +0 -1
  388. package/esm/funcs/customersAddressesGet.d.ts +0 -16
  389. package/esm/funcs/customersAddressesGet.d.ts.map +0 -1
  390. package/esm/funcs/customersAddressesGet.js.map +0 -1
  391. package/esm/funcs/customersGetCustomersId.d.ts.map +0 -1
  392. package/esm/funcs/customersGetCustomersId.js.map +0 -1
  393. package/esm/funcs/customersLoyaltyListActivities.d.ts.map +0 -1
  394. package/esm/funcs/customersLoyaltyListActivities.js.map +0 -1
  395. package/esm/funcs/customersPostCustomers.d.ts.map +0 -1
  396. package/esm/funcs/customersPostCustomers.js.map +0 -1
  397. package/esm/funcs/customersPutCustomersId.d.ts +0 -16
  398. package/esm/funcs/customersPutCustomersId.d.ts.map +0 -1
  399. package/esm/funcs/customersPutCustomersId.js.map +0 -1
  400. package/esm/funcs/juspayGetPaymentsJuspayCustomer.d.ts.map +0 -1
  401. package/esm/funcs/juspayPostPaymentsJuspayCreateCustomer.d.ts.map +0 -1
  402. package/esm/funcs/juspayPostPaymentsJuspayCreateCustomer.js.map +0 -1
  403. package/esm/funcs/juspayPostPaymentsJuspayCreateOrder.d.ts.map +0 -1
  404. package/esm/funcs/ordersGetOrdersIdPaymentStatus.d.ts +0 -15
  405. package/esm/funcs/ordersGetOrdersIdPaymentStatus.d.ts.map +0 -1
  406. package/esm/funcs/ordersGetOrdersIdPaymentStatus.js.map +0 -1
  407. package/esm/funcs/ordersRefundsList.js.map +0 -1
  408. package/esm/funcs/ordersShipmentsList.d.ts.map +0 -1
  409. package/esm/funcs/ordersShipmentsList.js.map +0 -1
  410. package/esm/funcs/paymentsGetMethods.js.map +0 -1
  411. package/esm/funcs/paymentsGetPaymentsCards.d.ts.map +0 -1
  412. package/esm/funcs/paymentsGetPaymentsCards.js.map +0 -1
  413. package/esm/funcs/paymentsGetPaymentsVerifyVpa.d.ts.map +0 -1
  414. package/esm/funcs/paymentsGetPaymentsVerifyVpa.js.map +0 -1
  415. package/esm/funcs/paymentsPostPaymentsCards.d.ts.map +0 -1
  416. package/esm/funcs/paymentsPostPaymentsCards.js.map +0 -1
  417. package/esm/funcs/userNotificationPreferencesCreate.d.ts.map +0 -1
  418. package/esm/funcs/userNotificationPreferencesCreate.js.map +0 -1
  419. package/esm/funcs/userNotificationPreferencesGet.d.ts.map +0 -1
  420. package/esm/funcs/userNotificationPreferencesGet.js.map +0 -1
  421. package/esm/funcs/wishlistDelete.d.ts.map +0 -1
  422. package/esm/funcs/wishlistDelete.js.map +0 -1
  423. package/esm/sdk/cestorefrontreviews.d.ts +0 -19
  424. package/esm/sdk/cestorefrontreviews.d.ts.map +0 -1
  425. package/esm/sdk/cestorefrontreviews.js +0 -28
  426. package/esm/sdk/cestorefrontreviews.js.map +0 -1
  427. package/esm/sdk/refunds.d.ts +0 -12
  428. package/esm/sdk/refunds.d.ts.map +0 -1
  429. package/esm/sdk/refunds.js +0 -18
  430. package/esm/sdk/refunds.js.map +0 -1
  431. package/esm/sdk/shipments.d.ts +0 -12
  432. package/esm/sdk/shipments.d.ts.map +0 -1
  433. package/esm/sdk/shipments.js +0 -18
  434. package/esm/sdk/shipments.js.map +0 -1
  435. package/esm/sdk/skus.d.ts.map +0 -1
  436. package/esm/sdk/skus.js.map +0 -1
  437. package/src/sdk/cestorefrontreviews.ts +0 -45
  438. package/src/sdk/shipments.ts +0 -27
@@ -0,0 +1,240 @@
1
+ # Users
2
+ (*users*)
3
+
4
+ ## Overview
5
+
6
+ ### Available Operations
7
+
8
+ * [get](#get) - Retrieve a user
9
+ * [getProfileImage](#getprofileimage) - Retrieve a profile image
10
+ * [createNotificationPreferences](#createnotificationpreferences) - Create user notification preferences
11
+
12
+ ## get
13
+
14
+ 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.
15
+
16
+ ### Example Usage
17
+
18
+ ```typescript
19
+ import { CeStorefront } from "ce-storefront";
20
+
21
+ const ceStorefront = new CeStorefront({
22
+ authorization: "<YOUR_BEARER_TOKEN_HERE>",
23
+ });
24
+
25
+ async function run() {
26
+ const result = await ceStorefront.users.get({
27
+ id: "<id>",
28
+ });
29
+
30
+ // Handle the result
31
+ console.log(result);
32
+ }
33
+
34
+ run();
35
+ ```
36
+
37
+ ### Standalone function
38
+
39
+ The standalone function version of this method:
40
+
41
+ ```typescript
42
+ import { CeStorefrontCore } from "ce-storefront/core.js";
43
+ import { usersGet } from "ce-storefront/funcs/usersGet.js";
44
+
45
+ // Use `CeStorefrontCore` for best tree-shaking performance.
46
+ // You can create one instance of it to use across an application.
47
+ const ceStorefront = new CeStorefrontCore({
48
+ authorization: "<YOUR_BEARER_TOKEN_HERE>",
49
+ });
50
+
51
+ async function run() {
52
+ const res = await usersGet(ceStorefront, {
53
+ id: "<id>",
54
+ });
55
+
56
+ if (!res.ok) {
57
+ throw res.error;
58
+ }
59
+
60
+ const { value: result } = res;
61
+
62
+ // Handle the result
63
+ console.log(result);
64
+ }
65
+
66
+ run();
67
+ ```
68
+
69
+ ### Parameters
70
+
71
+ | Parameter | Type | Required | Description |
72
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
73
+ | `request` | [operations.GetAuthUserIdRequest](../../models/operations/getauthuseridrequest.md) | :heavy_check_mark: | The request object to use for the request. |
74
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
75
+ | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
76
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
77
+
78
+ ### Response
79
+
80
+ **Promise\<[operations.GetAuthUserIdResponseBody](../../models/operations/getauthuseridresponsebody.md)\>**
81
+
82
+ ### Errors
83
+
84
+ | Error Type | Status Code | Content Type |
85
+ | -------------- | -------------- | -------------- |
86
+ | errors.CeError | 4XX, 5XX | \*/\* |
87
+
88
+ ## getProfileImage
89
+
90
+ 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.
91
+
92
+ ### Example Usage
93
+
94
+ ```typescript
95
+ import { CeStorefront } from "ce-storefront";
96
+
97
+ const ceStorefront = new CeStorefront({
98
+ authorization: "<YOUR_BEARER_TOKEN_HERE>",
99
+ });
100
+
101
+ async function run() {
102
+ const result = await ceStorefront.users.getProfileImage({
103
+ id: "<id>",
104
+ });
105
+
106
+ // Handle the result
107
+ console.log(result);
108
+ }
109
+
110
+ run();
111
+ ```
112
+
113
+ ### Standalone function
114
+
115
+ The standalone function version of this method:
116
+
117
+ ```typescript
118
+ import { CeStorefrontCore } from "ce-storefront/core.js";
119
+ import { usersGetProfileImage } from "ce-storefront/funcs/usersGetProfileImage.js";
120
+
121
+ // Use `CeStorefrontCore` for best tree-shaking performance.
122
+ // You can create one instance of it to use across an application.
123
+ const ceStorefront = new CeStorefrontCore({
124
+ authorization: "<YOUR_BEARER_TOKEN_HERE>",
125
+ });
126
+
127
+ async function run() {
128
+ const res = await usersGetProfileImage(ceStorefront, {
129
+ id: "<id>",
130
+ });
131
+
132
+ if (!res.ok) {
133
+ throw res.error;
134
+ }
135
+
136
+ const { value: result } = res;
137
+
138
+ // Handle the result
139
+ console.log(result);
140
+ }
141
+
142
+ run();
143
+ ```
144
+
145
+ ### Parameters
146
+
147
+ | Parameter | Type | Required | Description |
148
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
149
+ | `request` | [operations.GetAuthUserIdProfileImageRequest](../../models/operations/getauthuseridprofileimagerequest.md) | :heavy_check_mark: | The request object to use for the request. |
150
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
151
+ | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
152
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
153
+
154
+ ### Response
155
+
156
+ **Promise\<[operations.GetAuthUserIdProfileImageResponseBody](../../models/operations/getauthuseridprofileimageresponsebody.md)\>**
157
+
158
+ ### Errors
159
+
160
+ | Error Type | Status Code | Content Type |
161
+ | -------------- | -------------- | -------------- |
162
+ | errors.CeError | 4XX, 5XX | \*/\* |
163
+
164
+ ## createNotificationPreferences
165
+
166
+ Create user notification preferences API allows clients to create a user's notification preferences based on their unique user identifier (user_id).
167
+
168
+ ### Example Usage
169
+
170
+ ```typescript
171
+ import { CeStorefront } from "ce-storefront";
172
+
173
+ const ceStorefront = new CeStorefront({
174
+ authorization: "<YOUR_BEARER_TOKEN_HERE>",
175
+ });
176
+
177
+ async function run() {
178
+ const result = await ceStorefront.users.createNotificationPreferences({
179
+ id: "<id>",
180
+ requestBody: {},
181
+ });
182
+
183
+ // Handle the result
184
+ console.log(result);
185
+ }
186
+
187
+ run();
188
+ ```
189
+
190
+ ### Standalone function
191
+
192
+ The standalone function version of this method:
193
+
194
+ ```typescript
195
+ import { CeStorefrontCore } from "ce-storefront/core.js";
196
+ import { usersCreateNotificationPreferences } from "ce-storefront/funcs/usersCreateNotificationPreferences.js";
197
+
198
+ // Use `CeStorefrontCore` for best tree-shaking performance.
199
+ // You can create one instance of it to use across an application.
200
+ const ceStorefront = new CeStorefrontCore({
201
+ authorization: "<YOUR_BEARER_TOKEN_HERE>",
202
+ });
203
+
204
+ async function run() {
205
+ const res = await usersCreateNotificationPreferences(ceStorefront, {
206
+ id: "<id>",
207
+ requestBody: {},
208
+ });
209
+
210
+ if (!res.ok) {
211
+ throw res.error;
212
+ }
213
+
214
+ const { value: result } = res;
215
+
216
+ // Handle the result
217
+ console.log(result);
218
+ }
219
+
220
+ run();
221
+ ```
222
+
223
+ ### Parameters
224
+
225
+ | Parameter | Type | Required | Description |
226
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
227
+ | `request` | [operations.PostAuthUserIdNotificationPreferencesRequest](../../models/operations/postauthuseridnotificationpreferencesrequest.md) | :heavy_check_mark: | The request object to use for the request. |
228
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
229
+ | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
230
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
231
+
232
+ ### Response
233
+
234
+ **Promise\<[operations.PostAuthUserIdNotificationPreferencesResponseBody](../../models/operations/postauthuseridnotificationpreferencesresponsebody.md)\>**
235
+
236
+ ### Errors
237
+
238
+ | Error Type | Status Code | Content Type |
239
+ | -------------- | -------------- | -------------- |
240
+ | errors.CeError | 4XX, 5XX | \*/\* |
@@ -5,81 +5,9 @@
5
5
 
6
6
  ### Available Operations
7
7
 
8
- * [getCountries](#getcountries) - Retrieve all countries
9
8
  * [getStates](#getstates) - Retrieve country wise states
10
9
  * [getPincodes](#getpincodes) - Retrieve pincodes
11
10
 
12
- ## getCountries
13
-
14
- Retrieve all countries
15
-
16
- ### Example Usage
17
-
18
- ```typescript
19
- import { CeStorefront } from "ce-storefront";
20
-
21
- const ceStorefront = new CeStorefront({
22
- authorization: "<YOUR_BEARER_TOKEN_HERE>",
23
- });
24
-
25
- async function run() {
26
- const result = await ceStorefront.utils.getCountries();
27
-
28
- // Handle the result
29
- console.log(result);
30
- }
31
-
32
- run();
33
- ```
34
-
35
- ### Standalone function
36
-
37
- The standalone function version of this method:
38
-
39
- ```typescript
40
- import { CeStorefrontCore } from "ce-storefront/core.js";
41
- import { utilsGetCountries } from "ce-storefront/funcs/utilsGetCountries.js";
42
-
43
- // Use `CeStorefrontCore` for best tree-shaking performance.
44
- // You can create one instance of it to use across an application.
45
- const ceStorefront = new CeStorefrontCore({
46
- authorization: "<YOUR_BEARER_TOKEN_HERE>",
47
- });
48
-
49
- async function run() {
50
- const res = await utilsGetCountries(ceStorefront);
51
-
52
- if (!res.ok) {
53
- throw res.error;
54
- }
55
-
56
- const { value: result } = res;
57
-
58
- // Handle the result
59
- console.log(result);
60
- }
61
-
62
- run();
63
- ```
64
-
65
- ### Parameters
66
-
67
- | Parameter | Type | Required | Description |
68
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
69
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
70
- | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
71
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
72
-
73
- ### Response
74
-
75
- **Promise\<[operations.GetCommonCountriesResponseBody](../../models/operations/getcommoncountriesresponsebody.md)\>**
76
-
77
- ### Errors
78
-
79
- | Error Type | Status Code | Content Type |
80
- | -------------- | -------------- | -------------- |
81
- | errors.CeError | 4XX, 5XX | \*/\* |
82
-
83
11
  ## getStates
84
12
 
85
13
  Retrieve country wise states
@@ -7,7 +7,7 @@
7
7
 
8
8
  * [get](#get) - Retrieve wishlist
9
9
  * [add](#add) - Add product to wishlist
10
- * [delete](#delete) - Delete product from wishlist
10
+ * [removeItem](#removeitem) - Delete product from wishlist
11
11
 
12
12
  ## get
13
13
 
@@ -171,7 +171,7 @@ run();
171
171
  | errors.NotFound | 404 | application/json |
172
172
  | errors.CeError | 4XX, 5XX | \*/\* |
173
173
 
174
- ## delete
174
+ ## removeItem
175
175
 
176
176
  Remove product from wishlist
177
177
 
@@ -185,7 +185,7 @@ const ceStorefront = new CeStorefront({
185
185
  });
186
186
 
187
187
  async function run() {
188
- const result = await ceStorefront.wishlist.delete({
188
+ const result = await ceStorefront.wishlist.removeItem({
189
189
  userId: "<id>",
190
190
  requestBody: {
191
191
  productId: "01F3Z7KG06J4ACWH1C4926KJEC",
@@ -206,7 +206,7 @@ The standalone function version of this method:
206
206
 
207
207
  ```typescript
208
208
  import { CeStorefrontCore } from "ce-storefront/core.js";
209
- import { wishlistDelete } from "ce-storefront/funcs/wishlistDelete.js";
209
+ import { wishlistRemoveItem } from "ce-storefront/funcs/wishlistRemoveItem.js";
210
210
 
211
211
  // Use `CeStorefrontCore` for best tree-shaking performance.
212
212
  // You can create one instance of it to use across an application.
@@ -215,7 +215,7 @@ const ceStorefront = new CeStorefrontCore({
215
215
  });
216
216
 
217
217
  async function run() {
218
- const res = await wishlistDelete(ceStorefront, {
218
+ const res = await wishlistRemoveItem(ceStorefront, {
219
219
  userId: "<id>",
220
220
  requestBody: {
221
221
  productId: "01F3Z7KG06J4ACWH1C4926KJEC",
@@ -7,10 +7,10 @@ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
7
7
  import * as operations from "../models/operations/index.js";
8
8
  import { Result } from "../types/fp.js";
9
9
  /**
10
- * Retrieve cross-sell products
10
+ * Retrieve particular address
11
11
  *
12
12
  * @remarks
13
- * Retrieves a list of products specified for cross selling. The cross-sell products are returned based on product ids specified in request param.
13
+ * Retrieve address
14
14
  */
15
- export declare function catalogProductsGetCrossSells(client: CeStorefrontCore, request: operations.GetCrossSellRequest, options?: RequestOptions): Promise<Result<operations.GetCrossSellResponseBody, errors.Unauthorized | errors.NotFound | CeError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
16
- //# sourceMappingURL=catalogProductsGetCrossSells.d.ts.map
15
+ export declare function addressesGet(client: CeStorefrontCore, request: operations.GetCustomerAddressIdRequest, options?: RequestOptions): Promise<Result<operations.GetCustomerAddressIdResponseBody, errors.Unauthorized | errors.NotFound | CeError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
16
+ //# sourceMappingURL=addressesGet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"addressesGet.d.ts","sourceRoot":"","sources":["../../src/funcs/addressesGet.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAK9C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AACtD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAsB,YAAY,CAChC,MAAM,EAAE,gBAAgB,EACxB,OAAO,EAAE,UAAU,CAAC,2BAA2B,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,gCAAgC,EACzC,MAAM,CAAC,YAAY,GACnB,MAAM,CAAC,QAAQ,GACf,OAAO,GACP,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CAqGA"}
@@ -15,7 +15,7 @@ import * as operations from "../models/operations/index.js";
15
15
  * @remarks
16
16
  * Retrieve address
17
17
  */
18
- export async function customersAddressesGet(client, request, options) {
18
+ export async function addressesGet(client, request, options) {
19
19
  const parsed = safeParse(request, (value) => operations.GetCustomerAddressIdRequest$outboundSchema.parse(value), "Input validation failed");
20
20
  if (!parsed.ok) {
21
21
  return parsed;
@@ -81,4 +81,4 @@ export async function customersAddressesGet(client, request, options) {
81
81
  }
82
82
  return result;
83
83
  }
84
- //# sourceMappingURL=customersAddressesGet.js.map
84
+ //# sourceMappingURL=addressesGet.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"addressesGet.js","sourceRoot":"","sources":["../../src/funcs/addressesGet.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAS3C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAA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E,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,EAAE;KAC/C,CAAC;IAEF,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,KAAK,CAY5B,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,8CAA8C,CAAC,EACtE,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,0BAA0B,CAAC,EACjD,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,sBAAsB,CAAC,EAC7C,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAC7C,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
@@ -11,5 +11,5 @@ import { Result } from "../types/fp.js";
11
11
  * @remarks
12
12
  * 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.
13
13
  */
14
- export declare function authUserLogout(client: CeStorefrontCore, options?: RequestOptions): Promise<Result<operations.PostAuthLogoutResponseBody, CeError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
15
- //# sourceMappingURL=authUserLogout.d.ts.map
14
+ export declare function authLogout(client: CeStorefrontCore, options?: RequestOptions): Promise<Result<operations.PostAuthLogoutResponseBody, CeError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
15
+ //# sourceMappingURL=authLogout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"authLogout.d.ts","sourceRoot":"","sources":["../../src/funcs/authLogout.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAG9C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AACtD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAsB,UAAU,CAC9B,MAAM,EAAE,gBAAgB,EACxB,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,0BAA0B,EACnC,OAAO,GACP,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CAmEA"}
@@ -12,7 +12,7 @@ import * as operations from "../models/operations/index.js";
12
12
  * @remarks
13
13
  * 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.
14
14
  */
15
- export async function authUserLogout(client, options) {
15
+ export async function authLogout(client, options) {
16
16
  const path = pathToFunc("/auth/logout")();
17
17
  const headers = new Headers(compactMap({
18
18
  Accept: "application/json",
@@ -58,4 +58,4 @@ export async function authUserLogout(client, options) {
58
58
  }
59
59
  return result;
60
60
  }
61
- //# sourceMappingURL=authUserLogout.js.map
61
+ //# sourceMappingURL=authLogout.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"authLogout.js","sourceRoot":"","sources":["../../src/funcs/authLogout.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAA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E,IAAI;QACV,OAAO,EAAE,OAAO;QAChB,SAAS,EAAE,OAAO,EAAE,SAAS,IAAI,MAAM,CAAC,QAAQ,CAAC,SAAS,IAAI,CAAC,CAAC;KACjE,EAAE,OAAO,CAAC,CAAC;IACZ,IAAI,CAAC,UAAU,CAAC,EAAE,EAAE,CAAC;QACnB,OAAO,UAAU,CAAC;IACpB,CAAC;IACD,MAAM,GAAG,GAAG,UAAU,CAAC,KAAK,CAAC;IAE7B,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE;QACrC,OAAO;QACP,UAAU,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC;QAC1B,WAAW,EAAE,OAAO,CAAC,WAAW;QAChC,UAAU,EAAE,OAAO,CAAC,UAAU;KAC/B,CAAC,CAAC;IACH,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;QACjB,OAAO,QAAQ,CAAC;IAClB,CAAC;IACD,MAAM,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC;IAEhC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,KAAK,CAU5B,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,wCAAwC,CAAC,EAChE,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,CAAC,CAAC;IACZ,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
@@ -11,5 +11,5 @@ import { Result } from "../types/fp.js";
11
11
  * @remarks
12
12
  * 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.
13
13
  */
14
- export declare function authUserDeactivateAccount(client: CeStorefrontCore, request: operations.PutAuthUserIdDeactivateRequest, options?: RequestOptions): Promise<Result<operations.PutAuthUserIdDeactivateResponseBody, CeError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
15
- //# sourceMappingURL=authUserDeactivateAccount.d.ts.map
14
+ export declare function authUserDeactivate(client: CeStorefrontCore, request: operations.PutAuthUserIdDeactivateRequest, options?: RequestOptions): Promise<Result<operations.PutAuthUserIdDeactivateResponseBody, CeError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
15
+ //# sourceMappingURL=authUserDeactivate.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"paymentsGetMethods.d.ts","sourceRoot":"","sources":["../../src/funcs/paymentsGetMethods.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAK9C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AACtD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAsB,kBAAkB,CACtC,MAAM,EAAE,gBAAgB,EACxB,OAAO,EAAE,UAAU,CAAC,wBAAwB,EAC5C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,6BAA6B,EACtC,OAAO,GACP,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CAoFA"}
1
+ {"version":3,"file":"authUserDeactivate.d.ts","sourceRoot":"","sources":["../../src/funcs/authUserDeactivate.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAK9C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AACtD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAsB,kBAAkB,CACtC,MAAM,EAAE,gBAAgB,EACxB,OAAO,EAAE,UAAU,CAAC,8BAA8B,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,mCAAmC,EAC5C,OAAO,GACP,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CAuFA"}
@@ -14,7 +14,7 @@ import * as operations from "../models/operations/index.js";
14
14
  * @remarks
15
15
  * 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.
16
16
  */
17
- export async function authUserDeactivateAccount(client, request, options) {
17
+ export async function authUserDeactivate(client, request, options) {
18
18
  const parsed = safeParse(request, (value) => operations.PutAuthUserIdDeactivateRequest$outboundSchema.parse(value), "Input validation failed");
19
19
  if (!parsed.ok) {
20
20
  return parsed;
@@ -73,4 +73,4 @@ export async function authUserDeactivateAccount(client, request, options) {
73
73
  }
74
74
  return result;
75
75
  }
76
- //# sourceMappingURL=authUserDeactivateAccount.js.map
76
+ //# sourceMappingURL=authUserDeactivate.js.map
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KAAK,CAAC;QAC1B,WAAW,EAAE,OAAO,CAAC,WAAW;QAChC,UAAU,EAAE,OAAO,CAAC,UAAU;KAC/B,CAAC,CAAC;IACH,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;QACjB,OAAO,QAAQ,CAAC;IAClB,CAAC;IACD,MAAM,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC;IAEhC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,KAAK,CAU5B,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,iDAAiD,CAAC,EACzE,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,CAAC,CAAC;IACZ,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
@@ -11,5 +11,5 @@ import { Result } from "../types/fp.js";
11
11
  * @remarks
12
12
  * The Retrieve Notification Preferences API allows clients to fetch a user's notification preferences based on their unique user identifier (user_id).
13
13
  */
14
- export declare function userNotificationPreferencesGet(client: CeStorefrontCore, request: operations.GetAuthUserIdNotificationPreferencesRequest, options?: RequestOptions): Promise<Result<operations.GetAuthUserIdNotificationPreferencesResponseBody, CeError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
15
- //# sourceMappingURL=userNotificationPreferencesGet.d.ts.map
14
+ export declare function authUserNotificationPreferencesGet(client: CeStorefrontCore, request: operations.GetAuthUserIdNotificationPreferencesRequest, options?: RequestOptions): Promise<Result<operations.GetAuthUserIdNotificationPreferencesResponseBody, CeError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
15
+ //# sourceMappingURL=authUserNotificationPreferencesGet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"authUserNotificationPreferencesGet.d.ts","sourceRoot":"","sources":["../../src/funcs/authUserNotificationPreferencesGet.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAK9C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AACtD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAsB,kCAAkC,CACtD,MAAM,EAAE,gBAAgB,EACxB,OAAO,EAAE,UAAU,CAAC,2CAA2C,EAC/D,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,gDAAgD,EACzD,OAAO,GACP,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CA6FA"}
@@ -14,7 +14,7 @@ import * as operations from "../models/operations/index.js";
14
14
  * @remarks
15
15
  * The Retrieve Notification Preferences API allows clients to fetch a user's notification preferences based on their unique user identifier (user_id).
16
16
  */
17
- export async function userNotificationPreferencesGet(client, request, options) {
17
+ export async function authUserNotificationPreferencesGet(client, request, options) {
18
18
  const parsed = safeParse(request, (value) => operations.GetAuthUserIdNotificationPreferencesRequest$outboundSchema
19
19
  .parse(value), "Input validation failed");
20
20
  if (!parsed.ok) {
@@ -74,4 +74,4 @@ export async function userNotificationPreferencesGet(client, request, options) {
74
74
  }
75
75
  return result;
76
76
  }
77
- //# sourceMappingURL=userNotificationPreferencesGet.js.map
77
+ //# sourceMappingURL=authUserNotificationPreferencesGet.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"authUserNotificationPreferencesGet.js","sourceRoot":"","sources":["../../src/funcs/authUserNotificationPreferencesGet.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAU3C,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D;;;;;GAKG;AACH,MAAM,CAAC,KAAK,UAAU,kCAAkC,CACtD,MAAwB,EACxB,OAA+D,EAC/D,OAAwB;IAaxB,MAAM,MAAM,GAAG,SAAS,CACtB,OAAO,EACP,CAAC,KAAK,EAAE,EAAE,CACR,UAAU,CAAC,0DAA0D;SAClE,KAAK,CAAC,KAAK,CAAC,EACjB,yBAAyB,CAC1B,CAAC;IACF,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,MAAM,CAAC;IAChB,CAAC;IACD,MAAM,OAAO,GAAG,MAAM,CAAC,KAAK,CAAC;IAC7B,MAAM,IAAI,GAAG,IAAI,CAAC;IAElB,MAAM,UAAU,GAAG;QACjB,EAAE,EAAE,YAAY,CAAC,IAAI,EAAE,OAAO,CAAC,EAAE,EAAE;YACjC,OAAO,EAAE,KAAK;YACd,YAAY,EAAE,SAAS;SACxB,CAAC;KACH,CAAC;IAEF,MAAM,IAAI,GAAG,UAAU,CAAC,0CAA0C,CAAC,CACjE,UAAU,CACX,CAAC;IAEF,MAAM,OAAO,GAAG,IAAI,OAAO,CAAC,UAAU,CAAC;QACrC,MAAM,E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OAAO;QACP,UAAU,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC;QAC1B,WAAW,EAAE,OAAO,CAAC,WAAW;QAChC,UAAU,EAAE,OAAO,CAAC,UAAU;KAC/B,CAAC,CAAC;IACH,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;QACjB,OAAO,QAAQ,CAAC;IAClB,CAAC;IACD,MAAM,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC;IAEhC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,KAAK,CAU5B,CAAC,CAAC,IAAI,CACJ,GAAG,EACH,UAAU,CAAC,8DAA8D,CAC1E,EACD,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,CAAC,CAAC;IACZ,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
@@ -11,5 +11,5 @@ import { Result } from "../types/fp.js";
11
11
  * @remarks
12
12
  * 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.
13
13
  */
14
- export declare function authUserAddProfileImage(client: CeStorefrontCore, request: operations.PostAuthUserIdProfileImageRequest, options?: RequestOptions): Promise<Result<operations.PostAuthUserIdProfileImageResponseBody, CeError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
15
- //# sourceMappingURL=authUserAddProfileImage.d.ts.map
14
+ export declare function authUsersAddProfileImage(client: CeStorefrontCore, request: operations.PostAuthUserIdProfileImageRequest, options?: RequestOptions): Promise<Result<operations.PostAuthUserIdProfileImageResponseBody, CeError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
15
+ //# sourceMappingURL=authUsersAddProfileImage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"authUsersAddProfileImage.d.ts","sourceRoot":"","sources":["../../src/funcs/authUsersAddProfileImage.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAM9C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AACtD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAE5D,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAGxC;;;;;GAKG;AACH,wBAAsB,wBAAwB,CAC5C,MAAM,EAAE,gBAAgB,EACxB,OAAO,EAAE,UAAU,CAAC,iCAAiC,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,sCAAsC,EAC/C,OAAO,GACP,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CA6GA"}
@@ -17,7 +17,7 @@ import { isReadableStream } from "../types/streams.js";
17
17
  * @remarks
18
18
  * 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.
19
19
  */
20
- export async function authUserAddProfileImage(client, request, options) {
20
+ export async function authUsersAddProfileImage(client, request, options) {
21
21
  const parsed = safeParse(request, (value) => operations.PostAuthUserIdProfileImageRequest$outboundSchema.parse(value), "Input validation failed");
22
22
  if (!parsed.ok) {
23
23
  return parsed;
@@ -89,4 +89,4 @@ export async function authUserAddProfileImage(client, request, options) {
89
89
  }
90
90
  return result;
91
91
  }
92
- //# sourceMappingURL=authUserAddProfileImage.js.map
92
+ //# sourceMappingURL=authUsersAddProfileImage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"authUsersAddProfileImage.js","sourceRoot":"","sources":["../../src/funcs/authUsersAddProfileImage.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,2BAA2B,EAAE,MAAM,iBAAiB,CAAC;AAC9D,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAU3C,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD;;;;;GAKG;AACH,MAAM,CAAC,KAAK,UAAU,wBAAwB,CAC5C,MAAwB,EACxB,OAAqD,EACrD,OAAwB;IAaxB,MAAM,MAAM,GAAG,SAAS,CACtB,OAAO,EACP,CAAC,KAAK,EAAE,EAAE,CACR,UAAU,CAAC,gDAAgD,CAAC,KAAK,CAAC,KAAK,CAAC,EAC1E,yBAAyB,CAC1B,CAAC;IACF,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,MAAM,CAAC;IAChB,CAAC;IACD,MAAM,OAAO,GAAG,MAAM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AAC,WAAW;QAChC,UAAU,EAAE,OAAO,CAAC,UAAU;KAC/B,CAAC,CAAC;IACH,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;QACjB,OAAO,QAAQ,CAAC;IAClB,CAAC;IACD,MAAM,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC;IAEhC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,KAAK,CAU5B,CAAC,CAAC,IAAI,CACJ,GAAG,EACH,UAAU,CAAC,oDAAoD,CAChE,EACD,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,CAAC,CAAC;IACZ,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
@@ -12,5 +12,5 @@ import { Result } from "../types/fp.js";
12
12
  * @remarks
13
13
  * Create a product review
14
14
  */
15
- export declare function catalogProductsReviewsCreate(client: CeStorefrontCore, request: operations.PostProductsIdReviewsRequest, options?: RequestOptions): Promise<Result<operations.PostProductsIdReviewsResponseBody, errors.BadRequest | errors.Unauthorized | errors.NotFound | CeError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
16
- //# sourceMappingURL=catalogProductsReviewsCreate.d.ts.map
15
+ export declare function catalogProductReviewsCreate(client: CeStorefrontCore, request: operations.PostProductsIdReviewsRequest, options?: RequestOptions): Promise<Result<operations.PostProductsIdReviewsResponseBody, errors.BadRequest | errors.Unauthorized | errors.NotFound | CeError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
16
+ //# sourceMappingURL=catalogProductReviewsCreate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalogProductReviewsCreate.d.ts","sourceRoot":"","sources":["../../src/funcs/catalogProductReviewsCreate.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAK9C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AACtD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAsB,2BAA2B,CAC/C,MAAM,EAAE,gBAAgB,EACxB,OAAO,EAAE,UAAU,CAAC,4BAA4B,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,iCAAiC,EAC1C,MAAM,CAAC,UAAU,GACjB,MAAM,CAAC,YAAY,GACnB,MAAM,CAAC,QAAQ,GACf,OAAO,GACP,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CA8GA"}
@@ -15,7 +15,7 @@ import * as operations from "../models/operations/index.js";
15
15
  * @remarks
16
16
  * Create a product review
17
17
  */
18
- export async function catalogProductsReviewsCreate(client, request, options) {
18
+ export async function catalogProductReviewsCreate(client, request, options) {
19
19
  const parsed = safeParse(request, (value) => operations.PostProductsIdReviewsRequest$outboundSchema.parse(value), "Input validation failed");
20
20
  if (!parsed.ok) {
21
21
  return parsed;
@@ -89,4 +89,4 @@ export async function catalogProductsReviewsCreate(client, request, options) {
89
89
  }
90
90
  return result;
91
91
  }
92
- //# sourceMappingURL=catalogProductsReviewsCreate.js.map
92
+ //# sourceMappingURL=catalogProductReviewsCreate.js.map