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
package/esm/sdk/sdk.js CHANGED
@@ -2,45 +2,25 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
  import { ClientSDK } from "../lib/sdks.js";
5
- import { Addresses } from "./addresses.js";
6
5
  import { Analytics } from "./analytics.js";
7
6
  import { Auth } from "./auth.js";
8
- import { AuthUser } from "./authuser.js";
9
7
  import { Campaigns } from "./campaigns.js";
10
8
  import { Carts } from "./carts.js";
11
9
  import { Catalog } from "./catalog.js";
12
- import { CatalogProductReviews } from "./catalogproductreviews.js";
13
- import { CatalogProducts } from "./catalogproducts.js";
14
- import { CatalogSkus } from "./catalogskus.js";
15
10
  import { Checkout } from "./checkout.js";
16
11
  import { Customers } from "./customers.js";
17
12
  import { Juspay } from "./juspay.js";
18
- import { LoyaltyPoints } from "./loyaltypoints.js";
19
13
  import { Offers } from "./offers.js";
20
14
  import { Orders } from "./orders.js";
21
15
  import { Payments } from "./payments.js";
22
- import { Products } from "./products.js";
23
- import { Shipment } from "./shipment.js";
16
+ import { Shipping } from "./shipping.js";
24
17
  import { User } from "./user.js";
25
- import { Users } from "./users.js";
26
18
  import { Utils } from "./utils.js";
27
19
  import { Wishlist } from "./wishlist.js";
28
20
  export class CeStorefront extends ClientSDK {
29
- get products() {
30
- return (this._products ?? (this._products = new Products(this._options)));
31
- }
32
- get catalogSkus() {
33
- return (this._catalogSkus ?? (this._catalogSkus = new CatalogSkus(this._options)));
34
- }
35
- get catalogProducts() {
36
- return (this._catalogProducts ?? (this._catalogProducts = new CatalogProducts(this._options)));
37
- }
38
21
  get catalog() {
39
22
  return (this._catalog ?? (this._catalog = new Catalog(this._options)));
40
23
  }
41
- get catalogProductReviews() {
42
- return (this._catalogProductReviews ?? (this._catalogProductReviews = new CatalogProductReviews(this._options)));
43
- }
44
24
  get carts() {
45
25
  return (this._carts ?? (this._carts = new Carts(this._options)));
46
26
  }
@@ -56,30 +36,18 @@ export class CeStorefront extends ClientSDK {
56
36
  get customers() {
57
37
  return (this._customers ?? (this._customers = new Customers(this._options)));
58
38
  }
59
- get addresses() {
60
- return (this._addresses ?? (this._addresses = new Addresses(this._options)));
61
- }
62
- get loyaltyPoints() {
63
- return (this._loyaltyPoints ?? (this._loyaltyPoints = new LoyaltyPoints(this._options)));
64
- }
65
39
  get orders() {
66
40
  return (this._orders ?? (this._orders = new Orders(this._options)));
67
41
  }
68
- get shipment() {
69
- return (this._shipment ?? (this._shipment = new Shipment(this._options)));
42
+ get shipping() {
43
+ return (this._shipping ?? (this._shipping = new Shipping(this._options)));
70
44
  }
71
45
  get auth() {
72
46
  return (this._auth ?? (this._auth = new Auth(this._options)));
73
47
  }
74
- get users() {
75
- return (this._users ?? (this._users = new Users(this._options)));
76
- }
77
48
  get user() {
78
49
  return (this._user ?? (this._user = new User(this._options)));
79
50
  }
80
- get authUser() {
81
- return (this._authUser ?? (this._authUser = new AuthUser(this._options)));
82
- }
83
51
  get payments() {
84
52
  return (this._payments ?? (this._payments = new Payments(this._options)));
85
53
  }
@@ -1 +1 @@
1
- {"version":3,"file":"sdk.js","sourceRoot":"","sources":["../../src/sdk/sdk.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MA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AC;IAC5D,CAAC;CACF"}
@@ -0,0 +1,12 @@
1
+ import { ClientSDK, RequestOptions } from "../lib/sdks.js";
2
+ import * as operations from "../models/operations/index.js";
3
+ export declare class Shipments extends ClientSDK {
4
+ /**
5
+ * Retrieve order shipments
6
+ *
7
+ * @remarks
8
+ * Retrieve order shipments
9
+ */
10
+ list(request: operations.GetOrdersIdShipmentsRequest, options?: RequestOptions): Promise<operations.GetOrdersIdShipmentsResponseBody>;
11
+ }
12
+ //# sourceMappingURL=shipments.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shipments.d.ts","sourceRoot":"","sources":["../../src/sdk/shipments.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,SAAU,SAAQ,SAAS;IACtC;;;;;OAKG;IACG,IAAI,CACR,OAAO,EAAE,UAAU,CAAC,2BAA2B,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,gCAAgC,CAAC;CAOxD"}
@@ -0,0 +1,18 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+ import { ordersShipmentsList } from "../funcs/ordersShipmentsList.js";
5
+ import { ClientSDK } from "../lib/sdks.js";
6
+ import { unwrapAsync } from "../types/fp.js";
7
+ export class Shipments extends ClientSDK {
8
+ /**
9
+ * Retrieve order shipments
10
+ *
11
+ * @remarks
12
+ * Retrieve order shipments
13
+ */
14
+ async list(request, options) {
15
+ return unwrapAsync(ordersShipmentsList(this, request, options));
16
+ }
17
+ }
18
+ //# sourceMappingURL=shipments.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shipments.js","sourceRoot":"","sources":["../../src/sdk/shipments.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,SAAU,SAAQ,SAAS;IACtC;;;;;OAKG;IACH,KAAK,CAAC,IAAI,CACR,OAA+C,EAC/C,OAAwB;QAExB,OAAO,WAAW,CAAC,mBAAmB,CACpC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -1,6 +1,6 @@
1
1
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
2
2
  import * as operations from "../models/operations/index.js";
3
- export declare class Shipment extends ClientSDK {
3
+ export declare class Shipping extends ClientSDK {
4
4
  /**
5
5
  * Check pincode serviceability
6
6
  *
@@ -9,4 +9,4 @@ export declare class Shipment extends ClientSDK {
9
9
  */
10
10
  checkPincodeServiceability(request: operations.GetShipmentPincodeServiceabilityRequest, options?: RequestOptions): Promise<operations.GetShipmentPincodeServiceabilityResponseBody>;
11
11
  }
12
- //# sourceMappingURL=shipment.d.ts.map
12
+ //# sourceMappingURL=shipping.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"shipment.d.ts","sourceRoot":"","sources":["../../src/sdk/shipment.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,QAAS,SAAQ,SAAS;IACrC;;;;;OAKG;IACG,0BAA0B,CAC9B,OAAO,EAAE,UAAU,CAAC,uCAAuC,EAC3D,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,4CAA4C,CAAC;CAOpE"}
1
+ {"version":3,"file":"shipping.d.ts","sourceRoot":"","sources":["../../src/sdk/shipping.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,QAAS,SAAQ,SAAS;IACrC;;;;;OAKG;IACG,0BAA0B,CAC9B,OAAO,EAAE,UAAU,CAAC,uCAAuC,EAC3D,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,4CAA4C,CAAC;CAOpE"}
@@ -1,10 +1,10 @@
1
1
  /*
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
- import { shipmentCheckPincodeServiceability } from "../funcs/shipmentCheckPincodeServiceability.js";
4
+ import { shippingCheckPincodeServiceability } from "../funcs/shippingCheckPincodeServiceability.js";
5
5
  import { ClientSDK } from "../lib/sdks.js";
6
6
  import { unwrapAsync } from "../types/fp.js";
7
- export class Shipment extends ClientSDK {
7
+ export class Shipping extends ClientSDK {
8
8
  /**
9
9
  * Check pincode serviceability
10
10
  *
@@ -12,7 +12,7 @@ export class Shipment extends ClientSDK {
12
12
  * Check shipment delivery availability in an area by pincode
13
13
  */
14
14
  async checkPincodeServiceability(request, options) {
15
- return unwrapAsync(shipmentCheckPincodeServiceability(this, request, options));
15
+ return unwrapAsync(shippingCheckPincodeServiceability(this, request, options));
16
16
  }
17
17
  }
18
- //# sourceMappingURL=shipment.js.map
18
+ //# sourceMappingURL=shipping.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"shipment.js","sourceRoot":"","sources":["../../src/sdk/shipment.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,kCAAkC,EAAE,MAAM,gDAAgD,CAAC;AACpG,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,QAAS,SAAQ,SAAS;IACrC;;;;;OAKG;IACH,KAAK,CAAC,0BAA0B,CAC9B,OAA2D,EAC3D,OAAwB;QAExB,OAAO,WAAW,CAAC,kCAAkC,CACnD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
1
+ {"version":3,"file":"shipping.js","sourceRoot":"","sources":["../../src/sdk/shipping.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,kCAAkC,EAAE,MAAM,gDAAgD,CAAC;AACpG,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,QAAS,SAAQ,SAAS;IACrC;;;;;OAKG;IACH,KAAK,CAAC,0BAA0B,CAC9B,OAA2D,EAC3D,OAAwB;QAExB,OAAO,WAAW,CAAC,kCAAkC,CACnD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -1,6 +1,6 @@
1
1
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
2
2
  import * as operations from "../models/operations/index.js";
3
- export declare class CatalogSkus extends ClientSDK {
3
+ export declare class Skus extends ClientSDK {
4
4
  /**
5
5
  * List all SKUs
6
6
  *
@@ -9,4 +9,4 @@ export declare class CatalogSkus extends ClientSDK {
9
9
  */
10
10
  list(request: operations.GetSkusRequest, options?: RequestOptions): Promise<operations.GetSkusResponseBody>;
11
11
  }
12
- //# sourceMappingURL=catalogskus.d.ts.map
12
+ //# sourceMappingURL=skus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skus.d.ts","sourceRoot":"","sources":["../../src/sdk/skus.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,IAAK,SAAQ,SAAS;IACjC;;;;;OAKG;IACG,IAAI,CACR,OAAO,EAAE,UAAU,CAAC,cAAc,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,mBAAmB,CAAC;CAO3C"}
@@ -4,7 +4,7 @@
4
4
  import { catalogSkusList } from "../funcs/catalogSkusList.js";
5
5
  import { ClientSDK } from "../lib/sdks.js";
6
6
  import { unwrapAsync } from "../types/fp.js";
7
- export class CatalogSkus extends ClientSDK {
7
+ export class Skus extends ClientSDK {
8
8
  /**
9
9
  * List all SKUs
10
10
  *
@@ -15,4 +15,4 @@ export class CatalogSkus extends ClientSDK {
15
15
  return unwrapAsync(catalogSkusList(this, request, options));
16
16
  }
17
17
  }
18
- //# sourceMappingURL=catalogskus.js.map
18
+ //# sourceMappingURL=skus.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skus.js","sourceRoot":"","sources":["../../src/sdk/skus.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,IAAK,SAAQ,SAAS;IACjC;;;;;OAKG;IACH,KAAK,CAAC,IAAI,CACR,OAAkC,EAClC,OAAwB;QAExB,OAAO,WAAW,CAAC,eAAe,CAChC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
package/esm/sdk/user.d.ts CHANGED
@@ -1,40 +1,7 @@
1
- import { ClientSDK, RequestOptions } from "../lib/sdks.js";
2
- import * as operations from "../models/operations/index.js";
1
+ import { ClientSDK } from "../lib/sdks.js";
2
+ import { NotificationPreferences } from "./notificationpreferences.js";
3
3
  export declare class User extends ClientSDK {
4
- /**
5
- * Update a user
6
- *
7
- * @remarks
8
- * 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.
9
- */
10
- update(request: operations.PutAuthUserIdRequest, options?: RequestOptions): Promise<operations.PutAuthUserIdResponseBody>;
11
- /**
12
- * Update profile image
13
- *
14
- * @remarks
15
- * 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.
16
- */
17
- updateProfileImage(request: operations.PutAuthUserIdProfileImageRequest, options?: RequestOptions): Promise<operations.PutAuthUserIdProfileImageResponseBody>;
18
- /**
19
- * Delete profile image
20
- *
21
- * @remarks
22
- * 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.
23
- */
24
- deleteProfileImage(request: operations.DeleteAuthUserIdProfileImageRequest, options?: RequestOptions): Promise<operations.DeleteAuthUserIdProfileImageResponseBody>;
25
- /**
26
- * Reset password
27
- *
28
- * @remarks
29
- * Reset password
30
- */
31
- resetPassword(request: operations.PostAuthResetPasswordRequestBody, options?: RequestOptions): Promise<operations.PostAuthResetPasswordResponseBody>;
32
- /**
33
- * Update user notification preferences
34
- *
35
- * @remarks
36
- * Update Notification Preferences API allows clients to update a user's notification preferences based on their unique user identifier (user_id).
37
- */
38
- updateNotificationPreferences(request: operations.PutAuthUserIdNotificationPreferencesRequest, options?: RequestOptions): Promise<operations.PutAuthUserIdNotificationPreferencesResponseBody>;
4
+ private _notificationPreferences?;
5
+ get notificationPreferences(): NotificationPreferences;
39
6
  }
40
7
  //# sourceMappingURL=user.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../src/sdk/user.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,IAAK,SAAQ,SAAS;IACjC;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,oBAAoB,EACxC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,yBAAyB,CAAC;IAQhD;;;;;OAKG;IACG,kBAAkB,CACtB,OAAO,EAAE,UAAU,CAAC,gCAAgC,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,qCAAqC,CAAC;IAQ5D;;;;;OAKG;IACG,kBAAkB,CACtB,OAAO,EAAE,UAAU,CAAC,mCAAmC,EACvD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,wCAAwC,CAAC;IAQ/D;;;;;OAKG;IACG,aAAa,CACjB,OAAO,EAAE,UAAU,CAAC,gCAAgC,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,iCAAiC,CAAC;IAQxD;;;;;OAKG;IACG,6BAA6B,CACjC,OAAO,EAAE,UAAU,CAAC,2CAA2C,EAC/D,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,gDAAgD,CAAC;CAOxE"}
1
+ {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../src/sdk/user.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAEvE,qBAAa,IAAK,SAAQ,SAAS;IACjC,OAAO,CAAC,wBAAwB,CAAC,CAA0B;IAC3D,IAAI,uBAAuB,IAAI,uBAAuB,CAIrD;CACF"}
package/esm/sdk/user.js CHANGED
@@ -1,58 +1,11 @@
1
1
  /*
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
- import { userDeleteProfileImage } from "../funcs/userDeleteProfileImage.js";
5
- import { userResetPassword } from "../funcs/userResetPassword.js";
6
- import { userUpdate } from "../funcs/userUpdate.js";
7
- import { userUpdateNotificationPreferences } from "../funcs/userUpdateNotificationPreferences.js";
8
- import { userUpdateProfileImage } from "../funcs/userUpdateProfileImage.js";
9
4
  import { ClientSDK } from "../lib/sdks.js";
10
- import { unwrapAsync } from "../types/fp.js";
5
+ import { NotificationPreferences } from "./notificationpreferences.js";
11
6
  export class User extends ClientSDK {
12
- /**
13
- * Update a user
14
- *
15
- * @remarks
16
- * 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.
17
- */
18
- async update(request, options) {
19
- return unwrapAsync(userUpdate(this, request, options));
20
- }
21
- /**
22
- * Update profile image
23
- *
24
- * @remarks
25
- * 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.
26
- */
27
- async updateProfileImage(request, options) {
28
- return unwrapAsync(userUpdateProfileImage(this, request, options));
29
- }
30
- /**
31
- * Delete profile image
32
- *
33
- * @remarks
34
- * 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.
35
- */
36
- async deleteProfileImage(request, options) {
37
- return unwrapAsync(userDeleteProfileImage(this, request, options));
38
- }
39
- /**
40
- * Reset password
41
- *
42
- * @remarks
43
- * Reset password
44
- */
45
- async resetPassword(request, options) {
46
- return unwrapAsync(userResetPassword(this, request, options));
47
- }
48
- /**
49
- * Update user notification preferences
50
- *
51
- * @remarks
52
- * Update Notification Preferences API allows clients to update a user's notification preferences based on their unique user identifier (user_id).
53
- */
54
- async updateNotificationPreferences(request, options) {
55
- return unwrapAsync(userUpdateNotificationPreferences(this, request, options));
7
+ get notificationPreferences() {
8
+ return (this._notificationPreferences ?? (this._notificationPreferences = new NotificationPreferences(this._options)));
56
9
  }
57
10
  }
58
11
  //# sourceMappingURL=user.js.map
@@ -1 +1 @@
1
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D,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
1
+ {"version":3,"file":"user.js","sourceRoot":"","sources":["../../src/sdk/user.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAEvE,MAAM,OAAO,IAAK,SAAQ,SAAS;IAEjC,IAAI,uBAAuB;QACzB,OAAO,CAAC,IAAI,CAAC,wBAAwB,KAA7B,IAAI,CAAC,wBAAwB,GAAK,IAAI,uBAAuB,CACnE,IAAI,CAAC,QAAQ,CACd,EAAC,CAAC;IACL,CAAC;CACF"}
@@ -1,9 +1,13 @@
1
1
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
2
2
  import * as operations from "../models/operations/index.js";
3
- import { Countries } from "./countries.js";
4
3
  export declare class Utils extends ClientSDK {
5
- private _countries?;
6
- get countries(): Countries;
4
+ /**
5
+ * Retrieve all countries
6
+ *
7
+ * @remarks
8
+ * Retrieve all countries
9
+ */
10
+ getCountries(options?: RequestOptions): Promise<operations.GetCommonCountriesResponseBody>;
7
11
  /**
8
12
  * Retrieve country wise states
9
13
  *
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/sdk/utils.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAE5D,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C,qBAAa,KAAM,SAAQ,SAAS;IAClC,OAAO,CAAC,UAAU,CAAC,CAAY;IAC/B,IAAI,SAAS,IAAI,SAAS,CAEzB;IAED;;;;;OAKG;IACG,SAAS,CACb,OAAO,EAAE,UAAU,CAAC,sCAAsC,EAC1D,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,2CAA2C,CAAC;IAQlE;;;;;OAKG;IACG,WAAW,CACf,OAAO,EAAE,UAAU,CAAC,+CAA+C,EACnE,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,oDAAoD,CAAC;CAO5E"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/sdk/utils.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,KAAM,SAAQ,SAAS;IAClC;;;;;OAKG;IACG,YAAY,CAChB,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,8BAA8B,CAAC;IAOrD;;;;;OAKG;IACG,SAAS,CACb,OAAO,EAAE,UAAU,CAAC,sCAAsC,EAC1D,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,2CAA2C,CAAC;IAQlE;;;;;OAKG;IACG,WAAW,CACf,OAAO,EAAE,UAAU,CAAC,+CAA+C,EACnE,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,oDAAoD,CAAC;CAO5E"}
package/esm/sdk/utils.js CHANGED
@@ -1,14 +1,20 @@
1
1
  /*
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
+ import { utilsGetCountries } from "../funcs/utilsGetCountries.js";
4
5
  import { utilsGetPincodes } from "../funcs/utilsGetPincodes.js";
5
6
  import { utilsGetStates } from "../funcs/utilsGetStates.js";
6
7
  import { ClientSDK } from "../lib/sdks.js";
7
8
  import { unwrapAsync } from "../types/fp.js";
8
- import { Countries } from "./countries.js";
9
9
  export class Utils extends ClientSDK {
10
- get countries() {
11
- return (this._countries ?? (this._countries = new Countries(this._options)));
10
+ /**
11
+ * Retrieve all countries
12
+ *
13
+ * @remarks
14
+ * Retrieve all countries
15
+ */
16
+ async getCountries(options) {
17
+ return unwrapAsync(utilsGetCountries(this, options));
12
18
  }
13
19
  /**
14
20
  * Retrieve country wise states
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/sdk/utils.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C,MAAM,OAAO,KAAM,SAAQ,SAAS;IAElC,IAAI,SAAS;QACX,OAAO,CAAC,IAAI,CAAC,UAAU,KAAf,IAAI,CAAC,UAAU,GAAK,IAAI,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAC5D,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,SAAS,CACb,OAA0D,EAC1D,OAAwB;QAExB,OAAO,WAAW,CAAC,cAAc,CAC/B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,WAAW,CACf,OAAmE,EACnE,OAAwB;QAExB,OAAO,WAAW,CAAC,gBAAgB,CACjC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/sdk/utils.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,KAAM,SAAQ,SAAS;IAClC;;;;;OAKG;IACH,KAAK,CAAC,YAAY,CAChB,OAAwB;QAExB,OAAO,WAAW,CAAC,iBAAiB,CAClC,IAAI,EACJ,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,SAAS,CACb,OAA0D,EAC1D,OAAwB;QAExB,OAAO,WAAW,CAAC,cAAc,CAC/B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,WAAW,CACf,OAAmE,EACnE,OAAwB;QAExB,OAAO,WAAW,CAAC,gBAAgB,CACjC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -21,6 +21,6 @@ export declare class Wishlist extends ClientSDK {
21
21
  * @remarks
22
22
  * Remove product from wishlist
23
23
  */
24
- removeItem(request: operations.DeleteWishlistRequest, options?: RequestOptions): Promise<operations.DeleteWishlistResponseBody>;
24
+ delete(request: operations.DeleteWishlistRequest, options?: RequestOptions): Promise<operations.DeleteWishlistResponseBody>;
25
25
  }
26
26
  //# sourceMappingURL=wishlist.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"wishlist.d.ts","sourceRoot":"","sources":["../../src/sdk/wishlist.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,QAAS,SAAQ,SAAS;IACrC;;;;;OAKG;IACG,GAAG,CACP,OAAO,EAAE,UAAU,CAAC,mBAAmB,EACvC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,wBAAwB,CAAC;IAQ/C;;;;;OAKG;IACG,GAAG,CACP,OAAO,EAAE,UAAU,CAAC,oBAAoB,EACxC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,yBAAyB,CAAC;IAQhD;;;;;OAKG;IACG,UAAU,CACd,OAAO,EAAE,UAAU,CAAC,qBAAqB,EACzC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,0BAA0B,CAAC;CAOlD"}
1
+ {"version":3,"file":"wishlist.d.ts","sourceRoot":"","sources":["../../src/sdk/wishlist.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,QAAS,SAAQ,SAAS;IACrC;;;;;OAKG;IACG,GAAG,CACP,OAAO,EAAE,UAAU,CAAC,mBAAmB,EACvC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,wBAAwB,CAAC;IAQ/C;;;;;OAKG;IACG,GAAG,CACP,OAAO,EAAE,UAAU,CAAC,oBAAoB,EACxC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,yBAAyB,CAAC;IAQhD;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,qBAAqB,EACzC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,0BAA0B,CAAC;CAOlD"}
@@ -2,8 +2,8 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
  import { wishlistAdd } from "../funcs/wishlistAdd.js";
5
+ import { wishlistDelete } from "../funcs/wishlistDelete.js";
5
6
  import { wishlistGet } from "../funcs/wishlistGet.js";
6
- import { wishlistRemoveItem } from "../funcs/wishlistRemoveItem.js";
7
7
  import { ClientSDK } from "../lib/sdks.js";
8
8
  import { unwrapAsync } from "../types/fp.js";
9
9
  export class Wishlist extends ClientSDK {
@@ -31,8 +31,8 @@ export class Wishlist extends ClientSDK {
31
31
  * @remarks
32
32
  * Remove product from wishlist
33
33
  */
34
- async removeItem(request, options) {
35
- return unwrapAsync(wishlistRemoveItem(this, request, options));
34
+ async delete(request, options) {
35
+ return unwrapAsync(wishlistDelete(this, request, options));
36
36
  }
37
37
  }
38
38
  //# sourceMappingURL=wishlist.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"wishlist.js","sourceRoot":"","sources":["../../src/sdk/wishlist.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,QAAS,SAAQ,SAAS;IACrC;;;;;OAKG;IACH,KAAK,CAAC,GAAG,CACP,OAAuC,EACvC,OAAwB;QAExB,OAAO,WAAW,CAAC,WAAW,CAC5B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,GAAG,CACP,OAAwC,EACxC,OAAwB;QAExB,OAAO,WAAW,CAAC,WAAW,CAC5B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,UAAU,CACd,OAAyC,EACzC,OAAwB;QAExB,OAAO,WAAW,CAAC,kBAAkB,CACnC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
1
+ {"version":3,"file":"wishlist.js","sourceRoot":"","sources":["../../src/sdk/wishlist.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,QAAS,SAAQ,SAAS;IACrC;;;;;OAKG;IACH,KAAK,CAAC,GAAG,CACP,OAAuC,EACvC,OAAwB;QAExB,OAAO,WAAW,CAAC,WAAW,CAC5B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,GAAG,CACP,OAAwC,EACxC,OAAwB;QAExB,OAAO,WAAW,CAAC,WAAW,CAC5B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CACV,OAAyC,EACzC,OAAwB;QAExB,OAAO,WAAW,CAAC,cAAc,CAC/B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "ce-storefront",
5
- "version": "0.3.17",
5
+ "version": "0.4.0",
6
6
  "exports": {
7
7
  ".": "./src/index.ts",
8
8
  "./models/errors": "./src/models/errors/index.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ce-storefront",
3
- "version": "0.3.17",
3
+ "version": "0.4.0",
4
4
  "author": "TarkAI",
5
5
  "type": "module",
6
6
  "main": "./esm/index.js",
@@ -31,7 +31,7 @@ import { isReadableStream } from "../types/streams.js";
31
31
  * @remarks
32
32
  * 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.
33
33
  */
34
- export async function authUsersAddProfileImage(
34
+ export async function authUserAddProfileImage(
35
35
  client: CeStorefrontCore,
36
36
  request: operations.PostAuthUserIdProfileImageRequest,
37
37
  options?: RequestOptions,
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
28
28
  * @remarks
29
29
  * 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.
30
30
  */
31
- export async function authUserDeactivate(
31
+ export async function authUserDeactivateAccount(
32
32
  client: CeStorefrontCore,
33
33
  request: operations.PutAuthUserIdDeactivateRequest,
34
34
  options?: RequestOptions,
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
28
28
  * @remarks
29
29
  * 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.
30
30
  */
31
- export async function userDeleteProfileImage(
31
+ export async function authUserDeleteProfileImage(
32
32
  client: CeStorefrontCore,
33
33
  request: operations.DeleteAuthUserIdProfileImageRequest,
34
34
  options?: RequestOptions,
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
28
28
  * @remarks
29
29
  * 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.
30
30
  */
31
- export async function usersGet(
31
+ export async function authUserGet(
32
32
  client: CeStorefrontCore,
33
33
  request: operations.GetAuthUserIdRequest,
34
34
  options?: RequestOptions,
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
28
28
  * @remarks
29
29
  * 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.
30
30
  */
31
- export async function usersGetProfileImage(
31
+ export async function authUserGetProfileImage(
32
32
  client: CeStorefrontCore,
33
33
  request: operations.GetAuthUserIdProfileImageRequest,
34
34
  options?: RequestOptions,
@@ -26,7 +26,7 @@ import { Result } from "../types/fp.js";
26
26
  * @remarks
27
27
  * 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.
28
28
  */
29
- export async function authLogout(
29
+ export async function authUserLogout(
30
30
  client: CeStorefrontCore,
31
31
  options?: RequestOptions,
32
32
  ): Promise<
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
29
29
  * @remarks
30
30
  * Reset password
31
31
  */
32
- export async function userResetPassword(
32
+ export async function authUserResetPassword(
33
33
  client: CeStorefrontCore,
34
34
  request: operations.PostAuthResetPasswordRequestBody,
35
35
  options?: RequestOptions,
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
28
28
  * @remarks
29
29
  * 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.
30
30
  */
31
- export async function userUpdate(
31
+ export async function authUserUpdate(
32
32
  client: CeStorefrontCore,
33
33
  request: operations.PutAuthUserIdRequest,
34
34
  options?: RequestOptions,
@@ -31,7 +31,7 @@ import { isReadableStream } from "../types/streams.js";
31
31
  * @remarks
32
32
  * 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.
33
33
  */
34
- export async function userUpdateProfileImage(
34
+ export async function authUserUpdateProfileImage(
35
35
  client: CeStorefrontCore,
36
36
  request: operations.PutAuthUserIdProfileImageRequest,
37
37
  options?: RequestOptions,
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
29
29
  * @remarks
30
30
  * Retrieves a list of products specified for cross selling. The cross-sell products are returned based on product ids specified in request param.
31
31
  */
32
- export async function productsListCrossSells(
32
+ export async function catalogProductsGetCrossSells(
33
33
  client: CeStorefrontCore,
34
34
  request: operations.GetCrossSellRequest,
35
35
  options?: RequestOptions,
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
29
29
  * @remarks
30
30
  * Retrieves a list of products similar to a specified product based on their attributes and category. The similar products are returned sorted by relevance, with the most closely matching products appearing first. Useful for providing product recommendations to your customers.
31
31
  */
32
- export async function productsGetSimilar(
32
+ export async function catalogProductsGetSimilar(
33
33
  client: CeStorefrontCore,
34
34
  request: operations.GetSimilarRequest,
35
35
  options?: RequestOptions,
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
29
29
  * @remarks
30
30
  * Retrieves a list of products specified for upsell. The upsell products are returned based on product ids specified in request param.
31
31
  */
32
- export async function productsGetUpsells(
32
+ export async function catalogProductsGetUpsells(
33
33
  client: CeStorefrontCore,
34
34
  request: operations.GetUpSellRequest,
35
35
  options?: RequestOptions,
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
29
29
  * @remarks
30
30
  * Returns a list of your products. The products are returned sorted by creation date, with the most recently created products appearing first.
31
31
  */
32
- export async function productsList(
32
+ export async function catalogProductsList(
33
33
  client: CeStorefrontCore,
34
34
  request: operations.GetProductsRequest,
35
35
  options?: RequestOptions,
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
29
29
  * @remarks
30
30
  * Create a product review
31
31
  */
32
- export async function catalogProductReviewsCreate(
32
+ export async function catalogProductsReviewsCreate(
33
33
  client: CeStorefrontCore,
34
34
  request: operations.PostProductsIdReviewsRequest,
35
35
  options?: RequestOptions,