ce-storefront 0.16.0 → 0.16.2

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 (412) hide show
  1. package/docs/sdks/auth/README.md +10 -10
  2. package/docs/sdks/carts/README.md +17 -15
  3. package/docs/sdks/catalog/README.md +11 -11
  4. package/docs/sdks/common/README.md +1 -1
  5. package/docs/sdks/customers/README.md +7 -7
  6. package/docs/sdks/orders/README.md +7 -7
  7. package/docs/sdks/shipping/README.md +3 -3
  8. package/esm/funcs/authGenerateOtp.d.ts +1 -1
  9. package/esm/funcs/authGenerateOtp.js +1 -1
  10. package/esm/funcs/authGetAnonymousToken.d.ts +1 -1
  11. package/esm/funcs/authGetAnonymousToken.js +1 -1
  12. package/esm/funcs/authGetUserDetail.d.ts +1 -1
  13. package/esm/funcs/authGetUserDetail.js +1 -1
  14. package/esm/funcs/authLoginWithEmail.d.ts +1 -1
  15. package/esm/funcs/authLoginWithEmail.js +1 -1
  16. package/esm/funcs/authLoginWithPhone.d.ts +1 -1
  17. package/esm/funcs/authLoginWithPhone.js +1 -1
  18. package/esm/funcs/authLoginWithWhatsapp.d.ts +1 -1
  19. package/esm/funcs/authLoginWithWhatsapp.js +1 -1
  20. package/esm/funcs/authLogout.d.ts +1 -1
  21. package/esm/funcs/authLogout.js +1 -1
  22. package/esm/funcs/authRefreshToken.d.ts +1 -1
  23. package/esm/funcs/authRefreshToken.js +1 -1
  24. package/esm/funcs/authUpdateUser.d.ts +1 -1
  25. package/esm/funcs/authUpdateUser.js +1 -1
  26. package/esm/funcs/authVerifyOtp.d.ts +1 -1
  27. package/esm/funcs/authVerifyOtp.js +1 -1
  28. package/esm/funcs/cartsAddShippingMethod.d.ts +1 -1
  29. package/esm/funcs/cartsAddShippingMethod.js +1 -1
  30. package/esm/funcs/cartsApplyCoupon.d.ts +1 -1
  31. package/esm/funcs/cartsApplyCoupon.js +1 -1
  32. package/esm/funcs/cartsCreateCart.d.ts +1 -1
  33. package/esm/funcs/cartsCreateCart.js +1 -1
  34. package/esm/funcs/cartsCreateCartAddress.d.ts +1 -1
  35. package/esm/funcs/cartsCreateCartAddress.js +1 -1
  36. package/esm/funcs/cartsDeleteCart.d.ts +1 -1
  37. package/esm/funcs/cartsDeleteCart.js +1 -1
  38. package/esm/funcs/cartsGetCart.d.ts +1 -1
  39. package/esm/funcs/cartsGetCart.js +1 -1
  40. package/esm/funcs/cartsGetUserCart.d.ts +1 -1
  41. package/esm/funcs/cartsGetUserCart.js +1 -1
  42. package/esm/funcs/cartsRedeemLoyaltyPoints.d.ts +1 -1
  43. package/esm/funcs/cartsRedeemLoyaltyPoints.js +1 -1
  44. package/esm/funcs/cartsRemoveCoupon.d.ts +1 -1
  45. package/esm/funcs/cartsRemoveCoupon.js +1 -1
  46. package/esm/funcs/cartsRemoveLoyaltyPoints.d.ts +1 -1
  47. package/esm/funcs/cartsRemoveLoyaltyPoints.js +1 -1
  48. package/esm/funcs/cartsRemoveUserCart.d.ts +1 -1
  49. package/esm/funcs/cartsRemoveUserCart.js +1 -1
  50. package/esm/funcs/cartsUpdateCart.d.ts +1 -1
  51. package/esm/funcs/cartsUpdateCart.js +1 -1
  52. package/esm/funcs/cartsUpdateFulfillmentPreference.d.ts +1 -1
  53. package/esm/funcs/cartsUpdateFulfillmentPreference.js +4 -2
  54. package/esm/funcs/cartsUpdateFulfillmentPreference.js.map +1 -1
  55. package/esm/funcs/catalogGetProductDetail.d.ts +1 -1
  56. package/esm/funcs/catalogGetProductDetail.js +1 -1
  57. package/esm/funcs/catalogGetVariantDetail.d.ts +1 -1
  58. package/esm/funcs/catalogGetVariantDetail.js +1 -1
  59. package/esm/funcs/catalogListCategories.d.ts +1 -1
  60. package/esm/funcs/catalogListCategories.js +1 -1
  61. package/esm/funcs/catalogListCrosssellProducts.d.ts +1 -1
  62. package/esm/funcs/catalogListCrosssellProducts.js +1 -1
  63. package/esm/funcs/catalogListProductReviews.d.ts +1 -1
  64. package/esm/funcs/catalogListProductReviews.js +1 -1
  65. package/esm/funcs/catalogListProductVariants.d.ts +1 -1
  66. package/esm/funcs/catalogListProductVariants.js +1 -1
  67. package/esm/funcs/catalogListProducts.d.ts +1 -1
  68. package/esm/funcs/catalogListProducts.js +1 -1
  69. package/esm/funcs/catalogListSimilarProducts.d.ts +1 -1
  70. package/esm/funcs/catalogListSimilarProducts.js +1 -1
  71. package/esm/funcs/catalogListSkus.d.ts +1 -1
  72. package/esm/funcs/catalogListSkus.js +1 -1
  73. package/esm/funcs/catalogListUpsellProducts.d.ts +1 -1
  74. package/esm/funcs/catalogListUpsellProducts.js +1 -1
  75. package/esm/funcs/catalogSearchProducts.d.ts +1 -1
  76. package/esm/funcs/catalogSearchProducts.js +1 -1
  77. package/esm/funcs/commonListCountryPincodes.d.ts +1 -1
  78. package/esm/funcs/commonListCountryPincodes.js +1 -1
  79. package/esm/funcs/customersCreateAddress.d.ts +1 -1
  80. package/esm/funcs/customersCreateAddress.js +1 -1
  81. package/esm/funcs/customersDeleteAddress.d.ts +1 -1
  82. package/esm/funcs/customersDeleteAddress.js +1 -1
  83. package/esm/funcs/customersGetAddressDetail.d.ts +1 -1
  84. package/esm/funcs/customersGetAddressDetail.js +1 -1
  85. package/esm/funcs/customersGetLoyaltyDetails.d.ts +1 -1
  86. package/esm/funcs/customersGetLoyaltyDetails.js +1 -1
  87. package/esm/funcs/customersListAddresses.d.ts +1 -1
  88. package/esm/funcs/customersListAddresses.js +1 -1
  89. package/esm/funcs/customersListUserReviews.d.ts +1 -1
  90. package/esm/funcs/customersListUserReviews.js +1 -1
  91. package/esm/funcs/customersUpdateAddressDetail.d.ts +1 -1
  92. package/esm/funcs/customersUpdateAddressDetail.js +1 -1
  93. package/esm/funcs/ordersCancelOrder.d.ts +1 -1
  94. package/esm/funcs/ordersCancelOrder.js +1 -1
  95. package/esm/funcs/ordersCreateOrder.d.ts +1 -1
  96. package/esm/funcs/ordersCreateOrder.js +1 -1
  97. package/esm/funcs/ordersGetOrderDetail.d.ts +1 -1
  98. package/esm/funcs/ordersGetOrderDetail.js +1 -1
  99. package/esm/funcs/ordersGetPaymentStatus.d.ts +1 -1
  100. package/esm/funcs/ordersGetPaymentStatus.js +1 -1
  101. package/esm/funcs/ordersListOrderShipments.d.ts +1 -1
  102. package/esm/funcs/ordersListOrderShipments.js +1 -1
  103. package/esm/funcs/ordersListOrders.d.ts +1 -1
  104. package/esm/funcs/ordersListOrders.js +1 -1
  105. package/esm/funcs/ordersRetryOrderPayment.d.ts +1 -1
  106. package/esm/funcs/ordersRetryOrderPayment.js +1 -1
  107. package/esm/funcs/shippingCheckServiceability.d.ts +1 -1
  108. package/esm/funcs/shippingCheckServiceability.js +1 -1
  109. package/esm/funcs/shippingFulfillmentOptions.d.ts +1 -1
  110. package/esm/funcs/shippingFulfillmentOptions.js +1 -1
  111. package/esm/funcs/shippingShippingMethods.d.ts +1 -1
  112. package/esm/funcs/shippingShippingMethods.js +1 -1
  113. package/esm/lib/config.d.ts +2 -2
  114. package/esm/lib/config.js +2 -2
  115. package/esm/models/components/anonymoususer.d.ts +1 -1
  116. package/esm/models/components/appliedcoupon.d.ts +1 -1
  117. package/esm/models/components/appliedpromotion.d.ts +1 -1
  118. package/esm/models/components/banktransfer.d.ts +1 -1
  119. package/esm/models/components/booleanattribute.d.ts +1 -1
  120. package/esm/models/components/cardpayment.d.ts +1 -1
  121. package/esm/models/components/cart.d.ts +1 -12
  122. package/esm/models/components/cart.d.ts.map +1 -1
  123. package/esm/models/components/cart.js +0 -21
  124. package/esm/models/components/cart.js.map +1 -1
  125. package/esm/models/components/cartbasedserviceabilitycheck.d.ts +1 -1
  126. package/esm/models/components/cartitem.d.ts +1 -1
  127. package/esm/models/components/category.d.ts +1 -1
  128. package/esm/models/components/collectinstore.d.ts +1 -1
  129. package/esm/models/components/collectinstorefulfillment.d.ts +1 -1
  130. package/esm/models/components/colorattribute.d.ts +1 -1
  131. package/esm/models/components/coloroption.d.ts +1 -1
  132. package/esm/models/components/currency.d.ts +1 -1
  133. package/esm/models/components/customeraddress.d.ts +1 -1
  134. package/esm/models/components/customeraddressinput.d.ts +1 -1
  135. package/esm/models/components/customerloyalty.d.ts +1 -1
  136. package/esm/models/components/customerreadyforreview.d.ts +1 -1
  137. package/esm/models/components/customerreview.d.ts +1 -1
  138. package/esm/models/components/dateattribute.d.ts +1 -1
  139. package/esm/models/components/deliveryfulfillment.d.ts +3 -3
  140. package/esm/models/components/deliveryfulfillment.d.ts.map +1 -1
  141. package/esm/models/components/deliveryfulfillment.js +2 -2
  142. package/esm/models/components/deliveryfulfillment.js.map +1 -1
  143. package/esm/models/components/deliveryfulfillmentinput.d.ts +36 -0
  144. package/esm/models/components/deliveryfulfillmentinput.d.ts.map +1 -0
  145. package/esm/models/components/deliveryfulfillmentinput.js +48 -0
  146. package/esm/models/components/deliveryfulfillmentinput.js.map +1 -0
  147. package/esm/models/components/discountbasedpromotion.d.ts +1 -1
  148. package/esm/models/components/fixedpricepromotion.d.ts +1 -1
  149. package/esm/models/components/freegoodspromotion.d.ts +1 -1
  150. package/esm/models/components/fulfillmentitem.d.ts +40 -0
  151. package/esm/models/components/fulfillmentitem.d.ts.map +1 -0
  152. package/esm/models/components/fulfillmentitem.js +54 -0
  153. package/esm/models/components/fulfillmentitem.js.map +1 -0
  154. package/esm/models/components/fulfillmentiteminput.d.ts +36 -0
  155. package/esm/models/components/fulfillmentiteminput.d.ts.map +1 -0
  156. package/esm/models/components/fulfillmentiteminput.js +46 -0
  157. package/esm/models/components/fulfillmentiteminput.js.map +1 -0
  158. package/esm/models/components/fulfillmentpreference.d.ts +15 -3
  159. package/esm/models/components/fulfillmentpreference.d.ts.map +1 -1
  160. package/esm/models/components/fulfillmentpreference.js +12 -6
  161. package/esm/models/components/fulfillmentpreference.js.map +1 -1
  162. package/esm/models/components/fulfillmentpreferenceinput.d.ts +43 -0
  163. package/esm/models/components/fulfillmentpreferenceinput.d.ts.map +1 -0
  164. package/esm/models/components/fulfillmentpreferenceinput.js +44 -0
  165. package/esm/models/components/fulfillmentpreferenceinput.js.map +1 -0
  166. package/esm/models/components/generateotpwithemail.d.ts +1 -1
  167. package/esm/models/components/generateotpwithphone.d.ts +1 -1
  168. package/esm/models/components/index.d.ts +4 -1
  169. package/esm/models/components/index.d.ts.map +1 -1
  170. package/esm/models/components/index.js +4 -1
  171. package/esm/models/components/index.js.map +1 -1
  172. package/esm/models/components/item.d.ts +1 -1
  173. package/esm/models/components/juspaypaymentgatewayparams.d.ts +1 -1
  174. package/esm/models/components/juspaypaymentinfo.d.ts +1 -1
  175. package/esm/models/components/lotbatchdetail.d.ts +1 -1
  176. package/esm/models/components/multiselectattribute.d.ts +1 -1
  177. package/esm/models/components/netbankingpayment.d.ts +1 -1
  178. package/esm/models/components/notificationchannelpreferences.d.ts +1 -1
  179. package/esm/models/components/notificationpreferences.d.ts +1 -1
  180. package/esm/models/components/numberattribute.d.ts +1 -1
  181. package/esm/models/components/order.d.ts +1 -12
  182. package/esm/models/components/order.d.ts.map +1 -1
  183. package/esm/models/components/order.js +0 -21
  184. package/esm/models/components/order.js.map +1 -1
  185. package/esm/models/components/orderdetail.d.ts +1 -12
  186. package/esm/models/components/orderdetail.d.ts.map +1 -1
  187. package/esm/models/components/orderdetail.js +0 -21
  188. package/esm/models/components/orderdetail.js.map +1 -1
  189. package/esm/models/components/orderitem.d.ts +1 -1
  190. package/esm/models/components/orderlist.d.ts +1 -1
  191. package/esm/models/components/orderpayment.d.ts +1 -1
  192. package/esm/models/components/ordershipment.d.ts +1 -1
  193. package/esm/models/components/pagination.d.ts +1 -1
  194. package/esm/models/components/partialcollectanddelivery.d.ts +27 -115
  195. package/esm/models/components/partialcollectanddelivery.d.ts.map +1 -1
  196. package/esm/models/components/partialcollectanddelivery.js +30 -138
  197. package/esm/models/components/partialcollectanddelivery.js.map +1 -1
  198. package/esm/models/components/partialcollectanddeliveryinput.d.ts +25 -105
  199. package/esm/models/components/partialcollectanddeliveryinput.d.ts.map +1 -1
  200. package/esm/models/components/partialcollectanddeliveryinput.js +28 -118
  201. package/esm/models/components/partialcollectanddeliveryinput.js.map +1 -1
  202. package/esm/models/components/paymentgateway.d.ts +2 -2
  203. package/esm/models/components/paymentgateway.js +1 -1
  204. package/esm/models/components/paymentgatewayparams.d.ts +1 -1
  205. package/esm/models/components/payupaymentgatewayparams.d.ts +1 -1
  206. package/esm/models/components/payupaymentinfo.d.ts +1 -1
  207. package/esm/models/components/pincode.d.ts +1 -1
  208. package/esm/models/components/pincodeserviceability.d.ts +1 -1
  209. package/esm/models/components/product.d.ts +1 -1
  210. package/esm/models/components/productattribute.d.ts +1 -1
  211. package/esm/models/components/productbundleitem.d.ts +1 -1
  212. package/esm/models/components/productcategory.d.ts +1 -1
  213. package/esm/models/components/productdetail.d.ts +1 -1
  214. package/esm/models/components/productimage.d.ts +1 -1
  215. package/esm/models/components/productpricing.d.ts +1 -1
  216. package/esm/models/components/productpromotion.d.ts +1 -1
  217. package/esm/models/components/productreview.d.ts +1 -1
  218. package/esm/models/components/productshipping.d.ts +1 -1
  219. package/esm/models/components/productsubscription.d.ts +1 -1
  220. package/esm/models/components/productvideo.d.ts +1 -1
  221. package/esm/models/components/searchproduct.d.ts +1 -1
  222. package/esm/models/components/seo.d.ts +1 -1
  223. package/esm/models/components/shipmentitem.d.ts +1 -1
  224. package/esm/models/components/singleselectattribute.d.ts +1 -1
  225. package/esm/models/components/singleselectoption.d.ts +1 -1
  226. package/esm/models/components/textattribute.d.ts +1 -1
  227. package/esm/models/components/updatecartitem.d.ts +1 -1
  228. package/esm/models/components/upipayment.d.ts +1 -1
  229. package/esm/models/components/user.d.ts +2 -2
  230. package/esm/models/components/variant.d.ts +1 -1
  231. package/esm/models/components/variantdetail.d.ts +1 -1
  232. package/esm/models/components/variantoption.d.ts +1 -1
  233. package/esm/models/components/volumebasedpromotion.d.ts +1 -1
  234. package/esm/models/components/walletpayment.d.ts +1 -1
  235. package/esm/models/operations/createaddress.d.ts +1 -1
  236. package/esm/models/operations/getaddressdetail.d.ts +1 -1
  237. package/esm/models/operations/listaddresses.d.ts +1 -1
  238. package/esm/models/operations/updateaddressdetail.d.ts +1 -1
  239. package/esm/models/operations/updatefulfillmentpreference.d.ts +32 -23
  240. package/esm/models/operations/updatefulfillmentpreference.d.ts.map +1 -1
  241. package/esm/models/operations/updatefulfillmentpreference.js +31 -41
  242. package/esm/models/operations/updatefulfillmentpreference.js.map +1 -1
  243. package/esm/sdk/auth.d.ts +10 -10
  244. package/esm/sdk/auth.js +10 -10
  245. package/esm/sdk/carts.d.ts +13 -13
  246. package/esm/sdk/carts.js +13 -13
  247. package/esm/sdk/catalog.d.ts +11 -11
  248. package/esm/sdk/catalog.js +11 -11
  249. package/esm/sdk/common.d.ts +1 -1
  250. package/esm/sdk/common.js +1 -1
  251. package/esm/sdk/customers.d.ts +7 -7
  252. package/esm/sdk/customers.js +7 -7
  253. package/esm/sdk/orders.d.ts +7 -7
  254. package/esm/sdk/orders.js +7 -7
  255. package/esm/sdk/shipping.d.ts +3 -3
  256. package/esm/sdk/shipping.js +3 -3
  257. package/examples/package-lock.json +1 -1
  258. package/jsr.json +1 -1
  259. package/package.json +1 -1
  260. package/src/funcs/authGenerateOtp.ts +1 -1
  261. package/src/funcs/authGetAnonymousToken.ts +1 -1
  262. package/src/funcs/authGetUserDetail.ts +1 -1
  263. package/src/funcs/authLoginWithEmail.ts +1 -1
  264. package/src/funcs/authLoginWithPhone.ts +1 -1
  265. package/src/funcs/authLoginWithWhatsapp.ts +1 -1
  266. package/src/funcs/authLogout.ts +1 -1
  267. package/src/funcs/authRefreshToken.ts +1 -1
  268. package/src/funcs/authUpdateUser.ts +1 -1
  269. package/src/funcs/authVerifyOtp.ts +1 -1
  270. package/src/funcs/cartsAddShippingMethod.ts +1 -1
  271. package/src/funcs/cartsApplyCoupon.ts +1 -1
  272. package/src/funcs/cartsCreateCart.ts +1 -1
  273. package/src/funcs/cartsCreateCartAddress.ts +1 -1
  274. package/src/funcs/cartsDeleteCart.ts +1 -1
  275. package/src/funcs/cartsGetCart.ts +1 -1
  276. package/src/funcs/cartsGetUserCart.ts +1 -1
  277. package/src/funcs/cartsRedeemLoyaltyPoints.ts +1 -1
  278. package/src/funcs/cartsRemoveCoupon.ts +1 -1
  279. package/src/funcs/cartsRemoveLoyaltyPoints.ts +1 -1
  280. package/src/funcs/cartsRemoveUserCart.ts +1 -1
  281. package/src/funcs/cartsUpdateCart.ts +1 -1
  282. package/src/funcs/cartsUpdateFulfillmentPreference.ts +4 -2
  283. package/src/funcs/catalogGetProductDetail.ts +1 -1
  284. package/src/funcs/catalogGetVariantDetail.ts +1 -1
  285. package/src/funcs/catalogListCategories.ts +1 -1
  286. package/src/funcs/catalogListCrosssellProducts.ts +1 -1
  287. package/src/funcs/catalogListProductReviews.ts +1 -1
  288. package/src/funcs/catalogListProductVariants.ts +1 -1
  289. package/src/funcs/catalogListProducts.ts +1 -1
  290. package/src/funcs/catalogListSimilarProducts.ts +1 -1
  291. package/src/funcs/catalogListSkus.ts +1 -1
  292. package/src/funcs/catalogListUpsellProducts.ts +1 -1
  293. package/src/funcs/catalogSearchProducts.ts +1 -1
  294. package/src/funcs/commonListCountryPincodes.ts +1 -1
  295. package/src/funcs/customersCreateAddress.ts +1 -1
  296. package/src/funcs/customersDeleteAddress.ts +1 -1
  297. package/src/funcs/customersGetAddressDetail.ts +1 -1
  298. package/src/funcs/customersGetLoyaltyDetails.ts +1 -1
  299. package/src/funcs/customersListAddresses.ts +1 -1
  300. package/src/funcs/customersListUserReviews.ts +1 -1
  301. package/src/funcs/customersUpdateAddressDetail.ts +1 -1
  302. package/src/funcs/ordersCancelOrder.ts +1 -1
  303. package/src/funcs/ordersCreateOrder.ts +1 -1
  304. package/src/funcs/ordersGetOrderDetail.ts +1 -1
  305. package/src/funcs/ordersGetPaymentStatus.ts +1 -1
  306. package/src/funcs/ordersListOrderShipments.ts +1 -1
  307. package/src/funcs/ordersListOrders.ts +1 -1
  308. package/src/funcs/ordersRetryOrderPayment.ts +1 -1
  309. package/src/funcs/shippingCheckServiceability.ts +1 -1
  310. package/src/funcs/shippingFulfillmentOptions.ts +1 -1
  311. package/src/funcs/shippingShippingMethods.ts +1 -1
  312. package/src/lib/config.ts +2 -2
  313. package/src/models/components/anonymoususer.ts +1 -1
  314. package/src/models/components/appliedcoupon.ts +1 -1
  315. package/src/models/components/appliedpromotion.ts +1 -1
  316. package/src/models/components/banktransfer.ts +1 -1
  317. package/src/models/components/booleanattribute.ts +1 -1
  318. package/src/models/components/cardpayment.ts +1 -1
  319. package/src/models/components/cart.ts +1 -36
  320. package/src/models/components/cartbasedserviceabilitycheck.ts +1 -1
  321. package/src/models/components/cartitem.ts +1 -1
  322. package/src/models/components/category.ts +1 -1
  323. package/src/models/components/collectinstore.ts +1 -1
  324. package/src/models/components/collectinstorefulfillment.ts +1 -1
  325. package/src/models/components/colorattribute.ts +1 -1
  326. package/src/models/components/coloroption.ts +1 -1
  327. package/src/models/components/currency.ts +1 -1
  328. package/src/models/components/customeraddress.ts +1 -1
  329. package/src/models/components/customeraddressinput.ts +1 -1
  330. package/src/models/components/customerloyalty.ts +1 -1
  331. package/src/models/components/customerreadyforreview.ts +1 -1
  332. package/src/models/components/customerreview.ts +1 -1
  333. package/src/models/components/dateattribute.ts +1 -1
  334. package/src/models/components/deliveryfulfillment.ts +5 -5
  335. package/src/models/components/deliveryfulfillmentinput.ts +90 -0
  336. package/src/models/components/discountbasedpromotion.ts +1 -1
  337. package/src/models/components/fixedpricepromotion.ts +1 -1
  338. package/src/models/components/freegoodspromotion.ts +1 -1
  339. package/src/models/components/fulfillmentitem.ts +98 -0
  340. package/src/models/components/fulfillmentiteminput.ts +88 -0
  341. package/src/models/components/fulfillmentpreference.ts +41 -13
  342. package/src/models/components/fulfillmentpreferenceinput.ts +121 -0
  343. package/src/models/components/generateotpwithemail.ts +1 -1
  344. package/src/models/components/generateotpwithphone.ts +1 -1
  345. package/src/models/components/index.ts +4 -1
  346. package/src/models/components/item.ts +1 -1
  347. package/src/models/components/juspaypaymentgatewayparams.ts +1 -1
  348. package/src/models/components/juspaypaymentinfo.ts +1 -1
  349. package/src/models/components/lotbatchdetail.ts +1 -1
  350. package/src/models/components/multiselectattribute.ts +1 -1
  351. package/src/models/components/netbankingpayment.ts +1 -1
  352. package/src/models/components/notificationchannelpreferences.ts +1 -1
  353. package/src/models/components/notificationpreferences.ts +1 -1
  354. package/src/models/components/numberattribute.ts +1 -1
  355. package/src/models/components/order.ts +1 -36
  356. package/src/models/components/orderdetail.ts +1 -36
  357. package/src/models/components/orderitem.ts +1 -1
  358. package/src/models/components/orderlist.ts +1 -1
  359. package/src/models/components/orderpayment.ts +1 -1
  360. package/src/models/components/ordershipment.ts +1 -1
  361. package/src/models/components/pagination.ts +1 -1
  362. package/src/models/components/partialcollectanddelivery.ts +71 -254
  363. package/src/models/components/partialcollectanddeliveryinput.ts +59 -265
  364. package/src/models/components/paymentgateway.ts +2 -2
  365. package/src/models/components/paymentgatewayparams.ts +1 -1
  366. package/src/models/components/payupaymentgatewayparams.ts +1 -1
  367. package/src/models/components/payupaymentinfo.ts +1 -1
  368. package/src/models/components/pincode.ts +1 -1
  369. package/src/models/components/pincodeserviceability.ts +1 -1
  370. package/src/models/components/product.ts +1 -1
  371. package/src/models/components/productattribute.ts +1 -1
  372. package/src/models/components/productbundleitem.ts +1 -1
  373. package/src/models/components/productcategory.ts +1 -1
  374. package/src/models/components/productdetail.ts +1 -1
  375. package/src/models/components/productimage.ts +1 -1
  376. package/src/models/components/productpricing.ts +1 -1
  377. package/src/models/components/productpromotion.ts +1 -1
  378. package/src/models/components/productreview.ts +1 -1
  379. package/src/models/components/productshipping.ts +1 -1
  380. package/src/models/components/productsubscription.ts +1 -1
  381. package/src/models/components/productvideo.ts +1 -1
  382. package/src/models/components/searchproduct.ts +1 -1
  383. package/src/models/components/seo.ts +1 -1
  384. package/src/models/components/shipmentitem.ts +1 -1
  385. package/src/models/components/singleselectattribute.ts +1 -1
  386. package/src/models/components/singleselectoption.ts +1 -1
  387. package/src/models/components/textattribute.ts +1 -1
  388. package/src/models/components/updatecartitem.ts +1 -1
  389. package/src/models/components/upipayment.ts +1 -1
  390. package/src/models/components/user.ts +2 -2
  391. package/src/models/components/variant.ts +1 -1
  392. package/src/models/components/variantdetail.ts +1 -1
  393. package/src/models/components/variantoption.ts +1 -1
  394. package/src/models/components/volumebasedpromotion.ts +1 -1
  395. package/src/models/components/walletpayment.ts +1 -1
  396. package/src/models/operations/createaddress.ts +1 -1
  397. package/src/models/operations/getaddressdetail.ts +1 -1
  398. package/src/models/operations/listaddresses.ts +1 -1
  399. package/src/models/operations/updateaddressdetail.ts +1 -1
  400. package/src/models/operations/updatefulfillmentpreference.ts +75 -90
  401. package/src/sdk/auth.ts +10 -10
  402. package/src/sdk/carts.ts +13 -13
  403. package/src/sdk/catalog.ts +11 -11
  404. package/src/sdk/common.ts +1 -1
  405. package/src/sdk/customers.ts +7 -7
  406. package/src/sdk/orders.ts +7 -7
  407. package/src/sdk/shipping.ts +3 -3
  408. package/esm/models/components/fulfillmenttype.d.ts +0 -37
  409. package/esm/models/components/fulfillmenttype.d.ts.map +0 -1
  410. package/esm/models/components/fulfillmenttype.js +0 -28
  411. package/esm/models/components/fulfillmenttype.js.map +0 -1
  412. package/src/models/components/fulfillmenttype.ts +0 -40
@@ -5,7 +5,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
5
  /**
6
6
  * payload for address update
7
7
  *
8
- * @see {@link https://llm-docs.commercengine.io/schemas/CustomerAddress} - API reference for the CustomerAddress schema
8
+ * @see {@link https://llm-docs.commercengine.io/storefront/schemas/CustomerAddress} - API reference for the CustomerAddress schema
9
9
  */
10
10
  export type UpdateAddressDetailRequestBody = {
11
11
  /**
@@ -2,13 +2,18 @@ import * as z from "zod";
2
2
  import { Result as SafeParseResult } from "../../types/fp.js";
3
3
  import * as components from "../components/index.js";
4
4
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
- export type UpdateFulfillmentPreferenceRequestBody = components.CollectInStoreFulfillment | components.PartialCollectAndDeliveryInput | components.DeliveryFulfillment;
6
5
  export type UpdateFulfillmentPreferenceRequest = {
7
6
  /**
8
7
  * Cart ID
9
8
  */
10
9
  id: string;
11
- requestBody: components.CollectInStoreFulfillment | components.PartialCollectAndDeliveryInput | components.DeliveryFulfillment;
10
+ fulfillmentPreference: components.FulfillmentPreferenceInput;
11
+ };
12
+ export type UpdateFulfillmentPreferenceContent = {
13
+ /**
14
+ * This cart model is structured to capture a wide range of details, facilitating accurate representation and management of user shopping carts in an e-commerce platform.
15
+ */
16
+ cart?: components.Cart | undefined;
12
17
  };
13
18
  /**
14
19
  * OK
@@ -16,33 +21,14 @@ export type UpdateFulfillmentPreferenceRequest = {
16
21
  export type UpdateFulfillmentPreferenceResponseBody = {
17
22
  message: string;
18
23
  success: boolean;
24
+ content: UpdateFulfillmentPreferenceContent;
19
25
  };
20
26
  /** @internal */
21
- export declare const UpdateFulfillmentPreferenceRequestBody$inboundSchema: z.ZodType<UpdateFulfillmentPreferenceRequestBody, z.ZodTypeDef, unknown>;
22
- /** @internal */
23
- export type UpdateFulfillmentPreferenceRequestBody$Outbound = components.CollectInStoreFulfillment$Outbound | components.PartialCollectAndDeliveryInput$Outbound | components.DeliveryFulfillment$Outbound;
24
- /** @internal */
25
- export declare const UpdateFulfillmentPreferenceRequestBody$outboundSchema: z.ZodType<UpdateFulfillmentPreferenceRequestBody$Outbound, z.ZodTypeDef, UpdateFulfillmentPreferenceRequestBody>;
26
- /**
27
- * @internal
28
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
29
- */
30
- export declare namespace UpdateFulfillmentPreferenceRequestBody$ {
31
- /** @deprecated use `UpdateFulfillmentPreferenceRequestBody$inboundSchema` instead. */
32
- const inboundSchema: z.ZodType<UpdateFulfillmentPreferenceRequestBody, z.ZodTypeDef, unknown>;
33
- /** @deprecated use `UpdateFulfillmentPreferenceRequestBody$outboundSchema` instead. */
34
- const outboundSchema: z.ZodType<UpdateFulfillmentPreferenceRequestBody$Outbound, z.ZodTypeDef, UpdateFulfillmentPreferenceRequestBody>;
35
- /** @deprecated use `UpdateFulfillmentPreferenceRequestBody$Outbound` instead. */
36
- type Outbound = UpdateFulfillmentPreferenceRequestBody$Outbound;
37
- }
38
- export declare function updateFulfillmentPreferenceRequestBodyToJSON(updateFulfillmentPreferenceRequestBody: UpdateFulfillmentPreferenceRequestBody): string;
39
- export declare function updateFulfillmentPreferenceRequestBodyFromJSON(jsonString: string): SafeParseResult<UpdateFulfillmentPreferenceRequestBody, SDKValidationError>;
40
- /** @internal */
41
27
  export declare const UpdateFulfillmentPreferenceRequest$inboundSchema: z.ZodType<UpdateFulfillmentPreferenceRequest, z.ZodTypeDef, unknown>;
42
28
  /** @internal */
43
29
  export type UpdateFulfillmentPreferenceRequest$Outbound = {
44
30
  id: string;
45
- RequestBody: components.CollectInStoreFulfillment$Outbound | components.PartialCollectAndDeliveryInput$Outbound | components.DeliveryFulfillment$Outbound;
31
+ FulfillmentPreference: components.FulfillmentPreferenceInput$Outbound;
46
32
  };
47
33
  /** @internal */
48
34
  export declare const UpdateFulfillmentPreferenceRequest$outboundSchema: z.ZodType<UpdateFulfillmentPreferenceRequest$Outbound, z.ZodTypeDef, UpdateFulfillmentPreferenceRequest>;
@@ -61,11 +47,34 @@ export declare namespace UpdateFulfillmentPreferenceRequest$ {
61
47
  export declare function updateFulfillmentPreferenceRequestToJSON(updateFulfillmentPreferenceRequest: UpdateFulfillmentPreferenceRequest): string;
62
48
  export declare function updateFulfillmentPreferenceRequestFromJSON(jsonString: string): SafeParseResult<UpdateFulfillmentPreferenceRequest, SDKValidationError>;
63
49
  /** @internal */
50
+ export declare const UpdateFulfillmentPreferenceContent$inboundSchema: z.ZodType<UpdateFulfillmentPreferenceContent, z.ZodTypeDef, unknown>;
51
+ /** @internal */
52
+ export type UpdateFulfillmentPreferenceContent$Outbound = {
53
+ cart?: components.Cart$Outbound | undefined;
54
+ };
55
+ /** @internal */
56
+ export declare const UpdateFulfillmentPreferenceContent$outboundSchema: z.ZodType<UpdateFulfillmentPreferenceContent$Outbound, z.ZodTypeDef, UpdateFulfillmentPreferenceContent>;
57
+ /**
58
+ * @internal
59
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
60
+ */
61
+ export declare namespace UpdateFulfillmentPreferenceContent$ {
62
+ /** @deprecated use `UpdateFulfillmentPreferenceContent$inboundSchema` instead. */
63
+ const inboundSchema: z.ZodType<UpdateFulfillmentPreferenceContent, z.ZodTypeDef, unknown>;
64
+ /** @deprecated use `UpdateFulfillmentPreferenceContent$outboundSchema` instead. */
65
+ const outboundSchema: z.ZodType<UpdateFulfillmentPreferenceContent$Outbound, z.ZodTypeDef, UpdateFulfillmentPreferenceContent>;
66
+ /** @deprecated use `UpdateFulfillmentPreferenceContent$Outbound` instead. */
67
+ type Outbound = UpdateFulfillmentPreferenceContent$Outbound;
68
+ }
69
+ export declare function updateFulfillmentPreferenceContentToJSON(updateFulfillmentPreferenceContent: UpdateFulfillmentPreferenceContent): string;
70
+ export declare function updateFulfillmentPreferenceContentFromJSON(jsonString: string): SafeParseResult<UpdateFulfillmentPreferenceContent, SDKValidationError>;
71
+ /** @internal */
64
72
  export declare const UpdateFulfillmentPreferenceResponseBody$inboundSchema: z.ZodType<UpdateFulfillmentPreferenceResponseBody, z.ZodTypeDef, unknown>;
65
73
  /** @internal */
66
74
  export type UpdateFulfillmentPreferenceResponseBody$Outbound = {
67
75
  message: string;
68
76
  success: boolean;
77
+ content: UpdateFulfillmentPreferenceContent$Outbound;
69
78
  };
70
79
  /** @internal */
71
80
  export declare const UpdateFulfillmentPreferenceResponseBody$outboundSchema: z.ZodType<UpdateFulfillmentPreferenceResponseBody$Outbound, z.ZodTypeDef, UpdateFulfillmentPreferenceResponseBody>;
@@ -1 +1 @@
1
- {"version":3,"file":"updatefulfillmentpreference.d.ts","sourceRoot":"","sources":["../../../src/models/operations/updatefulfillmentpreference.ts"],"names":[],"mappings":"AAIA,OAA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AAsD,EAAE,CAAC,CAAC,OAAO,CAC5E,gDAAgD,EAChD,CAAC,CAAC,UAAU,EACZ,uCAAuC,CAIvC,CAAC;AAEH;;;GAGG;AACH,yBAAiB,wCAAwC,CAAC;IACxD,uFAAuF;IAChF,MAAM,aAAa,2EAC6B,CAAC;IACxD,wFAAwF;IACjF,MAAM,cAAc,oHAC6B,CAAC;IACzD,kFAAkF;IAClF,KAAY,QAAQ,GAAG,gDAAgD,CAAC;CACzE;AAED,wBAAgB,6CAA6C,CAC3D,uCAAuC,EACrC,uCAAuC,GACxC,MAAM,CAMR;AAED,wBAAgB,+CAA+C,CAC7D,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,uCAAuC,EACvC,kBAAkB,CACnB,CASA"}
1
+ {"version":3,"file":"updatefulfillmentpreference.d.ts","sourceRoot":"","sources":["../../../src/models/operations/updatefulfillmentpreference.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,kCAAkC,GAAG;IAC/C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX,qBAAqB,EAAE,UAAU,CAAC,0BAA0B,CAAC;CAC9D,CAAC;AAEF,MAAM,MAAM,kCAAkC,GAAG;IAC/C;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC,IAAI,GAAG,SAAS,CAAC;CACpC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,uCAAuC,GAAG;IACpD,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,kCAAkC,CAAC;CAC7C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gDAAgD,EAAE,CAAC,CAAC,OAA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IAC7E,KAAY,QAAQ,GAAG,2CAA2C,CAAC;CACpE;AAED,wBAAgB,wCAAwC,CACtD,kCAAkC,EAAE,kCAAkC,GACrE,MAAM,CAMR;AAED,wBAAgB,0CAA0C,CACxD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kCAAkC,EAAE,kBAAkB,CAAC,CAOzE;AAED,gBAAgB;AAChB,eAAO,MAAM,qDAAqD,EAAE,CAAC,CAAC,OAAO,CAC3E,uCAAuC,EACvC,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,gDAAgD,GAAG;IAC7D,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,2CAA2C,CAAC;CACtD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sDAAsD,EAAE,CAAC,CAAC,OAAO,CAC5E,gDAAgD,EAChD,CAAC,CAAC,UAAU,EACZ,uCAAuC,CAKvC,CAAC;AAEH;;;GAGG;AACH,yBAAiB,wCAAwC,CAAC;IACxD,uFAAuF;IAChF,MAAM,aAAa,2EAC6B,CAAC;IACxD,wFAAwF;IACjF,MAAM,cAAc,oHAC6B,CAAC;IACzD,kFAAkF;IAClF,KAAY,QAAQ,GAAG,gDAAgD,CAAC;CACzE;AAED,wBAAgB,6CAA6C,CAC3D,uCAAuC,EACrC,uCAAuC,GACxC,MAAM,CAMR;AAED,wBAAgB,+CAA+C,CAC7D,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,uCAAuC,EACvC,kBAAkB,CACnB,CASA"}
@@ -6,58 +6,21 @@ import { remap as remap$ } from "../../lib/primitives.js";
6
6
  import { safeParse } from "../../lib/schemas.js";
7
7
  import * as components from "../components/index.js";
8
8
  /** @internal */
9
- export const UpdateFulfillmentPreferenceRequestBody$inboundSchema = z.union([
10
- components.CollectInStoreFulfillment$inboundSchema,
11
- components.PartialCollectAndDeliveryInput$inboundSchema,
12
- components.DeliveryFulfillment$inboundSchema,
13
- ]);
14
- /** @internal */
15
- export const UpdateFulfillmentPreferenceRequestBody$outboundSchema = z.union([
16
- components.CollectInStoreFulfillment$outboundSchema,
17
- components.PartialCollectAndDeliveryInput$outboundSchema,
18
- components.DeliveryFulfillment$outboundSchema,
19
- ]);
20
- /**
21
- * @internal
22
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
23
- */
24
- export var UpdateFulfillmentPreferenceRequestBody$;
25
- (function (UpdateFulfillmentPreferenceRequestBody$) {
26
- /** @deprecated use `UpdateFulfillmentPreferenceRequestBody$inboundSchema` instead. */
27
- UpdateFulfillmentPreferenceRequestBody$.inboundSchema = UpdateFulfillmentPreferenceRequestBody$inboundSchema;
28
- /** @deprecated use `UpdateFulfillmentPreferenceRequestBody$outboundSchema` instead. */
29
- UpdateFulfillmentPreferenceRequestBody$.outboundSchema = UpdateFulfillmentPreferenceRequestBody$outboundSchema;
30
- })(UpdateFulfillmentPreferenceRequestBody$ || (UpdateFulfillmentPreferenceRequestBody$ = {}));
31
- export function updateFulfillmentPreferenceRequestBodyToJSON(updateFulfillmentPreferenceRequestBody) {
32
- return JSON.stringify(UpdateFulfillmentPreferenceRequestBody$outboundSchema.parse(updateFulfillmentPreferenceRequestBody));
33
- }
34
- export function updateFulfillmentPreferenceRequestBodyFromJSON(jsonString) {
35
- return safeParse(jsonString, (x) => UpdateFulfillmentPreferenceRequestBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateFulfillmentPreferenceRequestBody' from JSON`);
36
- }
37
- /** @internal */
38
9
  export const UpdateFulfillmentPreferenceRequest$inboundSchema = z.object({
39
10
  id: z.string(),
40
- RequestBody: z.union([
41
- components.CollectInStoreFulfillment$inboundSchema,
42
- components.PartialCollectAndDeliveryInput$inboundSchema,
43
- components.DeliveryFulfillment$inboundSchema,
44
- ]),
11
+ FulfillmentPreference: components.FulfillmentPreferenceInput$inboundSchema,
45
12
  }).transform((v) => {
46
13
  return remap$(v, {
47
- "RequestBody": "requestBody",
14
+ "FulfillmentPreference": "fulfillmentPreference",
48
15
  });
49
16
  });
50
17
  /** @internal */
51
18
  export const UpdateFulfillmentPreferenceRequest$outboundSchema = z.object({
52
19
  id: z.string(),
53
- requestBody: z.union([
54
- components.CollectInStoreFulfillment$outboundSchema,
55
- components.PartialCollectAndDeliveryInput$outboundSchema,
56
- components.DeliveryFulfillment$outboundSchema,
57
- ]),
20
+ fulfillmentPreference: components.FulfillmentPreferenceInput$outboundSchema,
58
21
  }).transform((v) => {
59
22
  return remap$(v, {
60
- requestBody: "RequestBody",
23
+ fulfillmentPreference: "FulfillmentPreference",
61
24
  });
62
25
  });
63
26
  /**
@@ -78,14 +41,41 @@ export function updateFulfillmentPreferenceRequestFromJSON(jsonString) {
78
41
  return safeParse(jsonString, (x) => UpdateFulfillmentPreferenceRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateFulfillmentPreferenceRequest' from JSON`);
79
42
  }
80
43
  /** @internal */
44
+ export const UpdateFulfillmentPreferenceContent$inboundSchema = z.object({
45
+ cart: components.Cart$inboundSchema.optional(),
46
+ });
47
+ /** @internal */
48
+ export const UpdateFulfillmentPreferenceContent$outboundSchema = z.object({
49
+ cart: components.Cart$outboundSchema.optional(),
50
+ });
51
+ /**
52
+ * @internal
53
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
54
+ */
55
+ export var UpdateFulfillmentPreferenceContent$;
56
+ (function (UpdateFulfillmentPreferenceContent$) {
57
+ /** @deprecated use `UpdateFulfillmentPreferenceContent$inboundSchema` instead. */
58
+ UpdateFulfillmentPreferenceContent$.inboundSchema = UpdateFulfillmentPreferenceContent$inboundSchema;
59
+ /** @deprecated use `UpdateFulfillmentPreferenceContent$outboundSchema` instead. */
60
+ UpdateFulfillmentPreferenceContent$.outboundSchema = UpdateFulfillmentPreferenceContent$outboundSchema;
61
+ })(UpdateFulfillmentPreferenceContent$ || (UpdateFulfillmentPreferenceContent$ = {}));
62
+ export function updateFulfillmentPreferenceContentToJSON(updateFulfillmentPreferenceContent) {
63
+ return JSON.stringify(UpdateFulfillmentPreferenceContent$outboundSchema.parse(updateFulfillmentPreferenceContent));
64
+ }
65
+ export function updateFulfillmentPreferenceContentFromJSON(jsonString) {
66
+ return safeParse(jsonString, (x) => UpdateFulfillmentPreferenceContent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateFulfillmentPreferenceContent' from JSON`);
67
+ }
68
+ /** @internal */
81
69
  export const UpdateFulfillmentPreferenceResponseBody$inboundSchema = z.object({
82
70
  message: z.string(),
83
71
  success: z.boolean(),
72
+ content: z.lazy(() => UpdateFulfillmentPreferenceContent$inboundSchema),
84
73
  });
85
74
  /** @internal */
86
75
  export const UpdateFulfillmentPreferenceResponseBody$outboundSchema = z.object({
87
76
  message: z.string(),
88
77
  success: z.boolean(),
78
+ content: z.lazy(() => UpdateFulfillmentPreferenceContent$outboundSchema),
89
79
  });
90
80
  /**
91
81
  * @internal
@@ -1 +1 @@
1
- {"version":3,"file":"updatefulfillmentpreference.js","sourceRoot":"","sources":["../../../src/models/operations/updatefulfillmentpreference.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AA2BrD,gBAAgB;AAChB,MAAM,CAAC,MAAM,oDAAoD,GAI7D,CAAC,CAAC,KAAK,CAAC;IACV,UAAU,CAAC,uCAAuC;IAClD,UAAU,CAAC,4CAA4C;IACvD,UAAU,CAAC,iCAAiC;CAC7C,CAAC,CAAC;AAQH,gBAAgB;AAChB,MAAM,CAAC,MAAM,qDAAqD,GAI9D,CAAC,CAAC,KAAK,CAAC;IACV,UAAU,CAAC,wCAAwC;IACnD,UAAU,C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qD,CAAC;IACxD,wFAAwF;IAC3E,uDAAc,GACzB,sDAAsD,CAAC;AAG3D,CAAC,EATgB,wCAAwC,KAAxC,wCAAwC,QASxD;AAED,MAAM,UAAU,6CAA6C,CAC3D,uCACyC;IAEzC,OAAO,IAAI,CAAC,SAAS,CACnB,sDAAsD,CAAC,KAAK,CAC1D,uCAAuC,CACxC,CACF,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,+CAA+C,CAC7D,UAAkB;IAKlB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,qDAAqD,CAAC,KAAK,CACzD,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,qEAAqE,CACtE,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"updatefulfillmentpreference.js","sourceRoot":"","sources":["../../../src/models/operations/updatefulfillmentpreference.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AA2BrD,gBAAgB;AAChB,MAAM,CAAC,MAAM,gDAAgD,GAIzD,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,qBAAqB,EAAE,UAAU,CAAC,wCAAwC;CAC3E,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,uBAAuB,EAAE,uBAAuB;KACjD,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAQH,gBAAgB;AAChB,MAAM,CAAC,MAAM,iDAAiD,GAI1D,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,qBAAqB,EAAE,U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C;AACJ,CAAC;AAED,MAAM,UAAU,+CAA+C,CAC7D,UAAkB;IAKlB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,qDAAqD,CAAC,KAAK,CACzD,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,qEAAqE,CACtE,CAAC;AACJ,CAAC"}
package/esm/sdk/auth.d.ts CHANGED
@@ -8,7 +8,7 @@ export declare class Auth extends ClientSDK {
8
8
  * This API’s focus is on anonymous users who have not undergone the formal account creation process. These anonymous users are associated with a unique ID, ensuring that even in the absence of a fully realized account, there is a distinct and trackable identity for each user.
9
9
  * To interact with the system, each anonymous user is issued an access token. This access token plays a dual role in the system: it serves as a means of authenticating the user and it also acts as a tool for authorization, determining what actions the authenticated user is permitted to perform.
10
10
  *
11
- * @see {@link https://llm-docs.commercengine.io/operations/get-anonymous-token} - API reference for the get-anonymous-token operation
11
+ * @see {@link https://llm-docs.commercengine.io/storefront/operations/get-anonymous-token} - API reference for the get-anonymous-token operation
12
12
  */
13
13
  getAnonymousToken(security: operations.GetAnonymousTokenSecurity, options?: RequestOptions): Promise<operations.GetAnonymousTokenResponseBody>;
14
14
  /**
@@ -17,7 +17,7 @@ export declare class Auth extends ClientSDK {
17
17
  * @remarks
18
18
  * Generating a One-Time Password (OTP) typically involves creating a random code that is sent to a user for authentication or verification purposes.
19
19
  *
20
- * @see {@link https://llm-docs.commercengine.io/operations/generate-otp} - API reference for the generate-otp operation
20
+ * @see {@link https://llm-docs.commercengine.io/storefront/operations/generate-otp} - API reference for the generate-otp operation
21
21
  */
22
22
  generateOtp(request: operations.GenerateOtpRequest, options?: RequestOptions): Promise<operations.GenerateOtpResponseBody>;
23
23
  /**
@@ -26,7 +26,7 @@ export declare class Auth extends ClientSDK {
26
26
  * @remarks
27
27
  * This API enables users to authenticate into the system using their email address. It provides a secure way for users to Login by verifying their identity through a one-time password (OTP) sent to their email address.
28
28
  *
29
- * @see {@link https://llm-docs.commercengine.io/operations/login-with-email} - API reference for the login-with-email operation
29
+ * @see {@link https://llm-docs.commercengine.io/storefront/operations/login-with-email} - API reference for the login-with-email operation
30
30
  */
31
31
  loginWithEmail(request: operations.LoginWithEmailRequest, options?: RequestOptions): Promise<operations.LoginWithEmailResponseBody>;
32
32
  /**
@@ -35,7 +35,7 @@ export declare class Auth extends ClientSDK {
35
35
  * @remarks
36
36
  * This API enables users to authenticate into the system using their phone number. It provides a secure way for users to log in by verifying their identity through a one-time password (OTP) sent to their registered phone.
37
37
  *
38
- * @see {@link https://llm-docs.commercengine.io/operations/login-with-phone} - API reference for the login-with-phone operation
38
+ * @see {@link https://llm-docs.commercengine.io/storefront/operations/login-with-phone} - API reference for the login-with-phone operation
39
39
  */
40
40
  loginWithPhone(request: operations.LoginWithPhoneRequest, options?: RequestOptions): Promise<operations.LoginWithPhoneResponseBody>;
41
41
  /**
@@ -44,7 +44,7 @@ export declare class Auth extends ClientSDK {
44
44
  * @remarks
45
45
  * This API enables users to authenticate into the system using their WhatsApp Number. It provides a secure way for users to Login by verifying their identity through a one-time password (OTP) sent to their WhatsApp Number.
46
46
  *
47
- * @see {@link https://llm-docs.commercengine.io/operations/login-with-whatsapp} - API reference for the login-with-whatsapp operation
47
+ * @see {@link https://llm-docs.commercengine.io/storefront/operations/login-with-whatsapp} - API reference for the login-with-whatsapp operation
48
48
  */
49
49
  loginWithWhatsapp(request: operations.LoginWithWhatsappRequest, options?: RequestOptions): Promise<operations.LoginWithWhatsappResponseBody>;
50
50
  /**
@@ -53,7 +53,7 @@ export declare class Auth extends ClientSDK {
53
53
  * @remarks
54
54
  * 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.
55
55
  *
56
- * @see {@link https://llm-docs.commercengine.io/operations/logout} - API reference for the logout operation
56
+ * @see {@link https://llm-docs.commercengine.io/storefront/operations/logout} - API reference for the logout operation
57
57
  */
58
58
  logout(options?: RequestOptions): Promise<operations.LogoutResponseBody>;
59
59
  /**
@@ -62,7 +62,7 @@ export declare class Auth extends ClientSDK {
62
62
  * @remarks
63
63
  * The Refresh Access Token API is an integral component designed to enhance security and user experience. It enables clients to refresh their access tokens seamlessly, extending user sessions without compromising security.
64
64
  *
65
- * @see {@link https://llm-docs.commercengine.io/operations/refresh-token} - API reference for the refresh-token operation
65
+ * @see {@link https://llm-docs.commercengine.io/storefront/operations/refresh-token} - API reference for the refresh-token operation
66
66
  */
67
67
  refreshToken(request: operations.RefreshTokenRequestBody, options?: RequestOptions): Promise<operations.RefreshTokenResponseBody>;
68
68
  /**
@@ -71,7 +71,7 @@ export declare class Auth extends ClientSDK {
71
71
  * @remarks
72
72
  * 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.
73
73
  *
74
- * @see {@link https://llm-docs.commercengine.io/operations/get-user-detail} - API reference for the get-user-detail operation
74
+ * @see {@link https://llm-docs.commercengine.io/storefront/operations/get-user-detail} - API reference for the get-user-detail operation
75
75
  */
76
76
  getUserDetail(request: operations.GetUserDetailRequest, options?: RequestOptions): Promise<operations.GetUserDetailResponseBody>;
77
77
  /**
@@ -80,7 +80,7 @@ export declare class Auth extends ClientSDK {
80
80
  * @remarks
81
81
  * 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.
82
82
  *
83
- * @see {@link https://llm-docs.commercengine.io/operations/update-user} - API reference for the update-user operation
83
+ * @see {@link https://llm-docs.commercengine.io/storefront/operations/update-user} - API reference for the update-user operation
84
84
  */
85
85
  updateUser(request: operations.UpdateUserRequest, options?: RequestOptions): Promise<operations.UpdateUserResponseBody>;
86
86
  /**
@@ -89,7 +89,7 @@ export declare class Auth extends ClientSDK {
89
89
  * @remarks
90
90
  * This API endpoint allows you to verify a one-time password (OTP) for authentication purposes. By sending a request to this endpoint with the necessary parameters, you can confirm the validity of the OTP provided by the user.
91
91
  *
92
- * @see {@link https://llm-docs.commercengine.io/operations/verify-otp} - API reference for the verify-otp operation
92
+ * @see {@link https://llm-docs.commercengine.io/storefront/operations/verify-otp} - API reference for the verify-otp operation
93
93
  */
94
94
  verifyOtp(request: operations.VerifyOtpRequestBody, options?: RequestOptions): Promise<operations.VerifyOtpResponseBody>;
95
95
  }
package/esm/sdk/auth.js CHANGED
@@ -21,7 +21,7 @@ export class Auth extends ClientSDK {
21
21
  * This API’s focus is on anonymous users who have not undergone the formal account creation process. These anonymous users are associated with a unique ID, ensuring that even in the absence of a fully realized account, there is a distinct and trackable identity for each user.
22
22
  * To interact with the system, each anonymous user is issued an access token. This access token plays a dual role in the system: it serves as a means of authenticating the user and it also acts as a tool for authorization, determining what actions the authenticated user is permitted to perform.
23
23
  *
24
- * @see {@link https://llm-docs.commercengine.io/operations/get-anonymous-token} - API reference for the get-anonymous-token operation
24
+ * @see {@link https://llm-docs.commercengine.io/storefront/operations/get-anonymous-token} - API reference for the get-anonymous-token operation
25
25
  */
26
26
  async getAnonymousToken(security, options) {
27
27
  return unwrapAsync(authGetAnonymousToken(this, security, options));
@@ -32,7 +32,7 @@ export class Auth extends ClientSDK {
32
32
  * @remarks
33
33
  * Generating a One-Time Password (OTP) typically involves creating a random code that is sent to a user for authentication or verification purposes.
34
34
  *
35
- * @see {@link https://llm-docs.commercengine.io/operations/generate-otp} - API reference for the generate-otp operation
35
+ * @see {@link https://llm-docs.commercengine.io/storefront/operations/generate-otp} - API reference for the generate-otp operation
36
36
  */
37
37
  async generateOtp(request, options) {
38
38
  return unwrapAsync(authGenerateOtp(this, request, options));
@@ -43,7 +43,7 @@ export class Auth extends ClientSDK {
43
43
  * @remarks
44
44
  * This API enables users to authenticate into the system using their email address. It provides a secure way for users to Login by verifying their identity through a one-time password (OTP) sent to their email address.
45
45
  *
46
- * @see {@link https://llm-docs.commercengine.io/operations/login-with-email} - API reference for the login-with-email operation
46
+ * @see {@link https://llm-docs.commercengine.io/storefront/operations/login-with-email} - API reference for the login-with-email operation
47
47
  */
48
48
  async loginWithEmail(request, options) {
49
49
  return unwrapAsync(authLoginWithEmail(this, request, options));
@@ -54,7 +54,7 @@ export class Auth extends ClientSDK {
54
54
  * @remarks
55
55
  * This API enables users to authenticate into the system using their phone number. It provides a secure way for users to log in by verifying their identity through a one-time password (OTP) sent to their registered phone.
56
56
  *
57
- * @see {@link https://llm-docs.commercengine.io/operations/login-with-phone} - API reference for the login-with-phone operation
57
+ * @see {@link https://llm-docs.commercengine.io/storefront/operations/login-with-phone} - API reference for the login-with-phone operation
58
58
  */
59
59
  async loginWithPhone(request, options) {
60
60
  return unwrapAsync(authLoginWithPhone(this, request, options));
@@ -65,7 +65,7 @@ export class Auth extends ClientSDK {
65
65
  * @remarks
66
66
  * This API enables users to authenticate into the system using their WhatsApp Number. It provides a secure way for users to Login by verifying their identity through a one-time password (OTP) sent to their WhatsApp Number.
67
67
  *
68
- * @see {@link https://llm-docs.commercengine.io/operations/login-with-whatsapp} - API reference for the login-with-whatsapp operation
68
+ * @see {@link https://llm-docs.commercengine.io/storefront/operations/login-with-whatsapp} - API reference for the login-with-whatsapp operation
69
69
  */
70
70
  async loginWithWhatsapp(request, options) {
71
71
  return unwrapAsync(authLoginWithWhatsapp(this, request, options));
@@ -76,7 +76,7 @@ export class Auth extends ClientSDK {
76
76
  * @remarks
77
77
  * 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.
78
78
  *
79
- * @see {@link https://llm-docs.commercengine.io/operations/logout} - API reference for the logout operation
79
+ * @see {@link https://llm-docs.commercengine.io/storefront/operations/logout} - API reference for the logout operation
80
80
  */
81
81
  async logout(options) {
82
82
  return unwrapAsync(authLogout(this, options));
@@ -87,7 +87,7 @@ export class Auth extends ClientSDK {
87
87
  * @remarks
88
88
  * The Refresh Access Token API is an integral component designed to enhance security and user experience. It enables clients to refresh their access tokens seamlessly, extending user sessions without compromising security.
89
89
  *
90
- * @see {@link https://llm-docs.commercengine.io/operations/refresh-token} - API reference for the refresh-token operation
90
+ * @see {@link https://llm-docs.commercengine.io/storefront/operations/refresh-token} - API reference for the refresh-token operation
91
91
  */
92
92
  async refreshToken(request, options) {
93
93
  return unwrapAsync(authRefreshToken(this, request, options));
@@ -98,7 +98,7 @@ export class Auth extends ClientSDK {
98
98
  * @remarks
99
99
  * 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.
100
100
  *
101
- * @see {@link https://llm-docs.commercengine.io/operations/get-user-detail} - API reference for the get-user-detail operation
101
+ * @see {@link https://llm-docs.commercengine.io/storefront/operations/get-user-detail} - API reference for the get-user-detail operation
102
102
  */
103
103
  async getUserDetail(request, options) {
104
104
  return unwrapAsync(authGetUserDetail(this, request, options));
@@ -109,7 +109,7 @@ export class Auth extends ClientSDK {
109
109
  * @remarks
110
110
  * 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.
111
111
  *
112
- * @see {@link https://llm-docs.commercengine.io/operations/update-user} - API reference for the update-user operation
112
+ * @see {@link https://llm-docs.commercengine.io/storefront/operations/update-user} - API reference for the update-user operation
113
113
  */
114
114
  async updateUser(request, options) {
115
115
  return unwrapAsync(authUpdateUser(this, request, options));
@@ -120,7 +120,7 @@ export class Auth extends ClientSDK {
120
120
  * @remarks
121
121
  * This API endpoint allows you to verify a one-time password (OTP) for authentication purposes. By sending a request to this endpoint with the necessary parameters, you can confirm the validity of the OTP provided by the user.
122
122
  *
123
- * @see {@link https://llm-docs.commercengine.io/operations/verify-otp} - API reference for the verify-otp operation
123
+ * @see {@link https://llm-docs.commercengine.io/storefront/operations/verify-otp} - API reference for the verify-otp operation
124
124
  */
125
125
  async verifyOtp(request, options) {
126
126
  return unwrapAsync(authVerifyOtp(this, request, options));
@@ -7,7 +7,7 @@ export declare class Carts extends ClientSDK {
7
7
  * @remarks
8
8
  * Create cart
9
9
  *
10
- * @see {@link https://llm-docs.commercengine.io/operations/create-cart} - API reference for the create-cart operation
10
+ * @see {@link https://llm-docs.commercengine.io/storefront/operations/create-cart} - API reference for the create-cart operation
11
11
  */
12
12
  createCart(request: operations.CreateCartRequestBody, options?: RequestOptions): Promise<operations.CreateCartResponseBody>;
13
13
  /**
@@ -16,7 +16,7 @@ export declare class Carts extends ClientSDK {
16
16
  * @remarks
17
17
  * Retrieve cart detail using user id
18
18
  *
19
- * @see {@link https://llm-docs.commercengine.io/operations/get-user-cart} - API reference for the get-user-cart operation
19
+ * @see {@link https://llm-docs.commercengine.io/storefront/operations/get-user-cart} - API reference for the get-user-cart operation
20
20
  */
21
21
  getUserCart(request: operations.GetUserCartRequest, options?: RequestOptions): Promise<operations.GetUserCartResponseBody>;
22
22
  /**
@@ -25,7 +25,7 @@ export declare class Carts extends ClientSDK {
25
25
  * @remarks
26
26
  * delete all items from the cart using user id.
27
27
  *
28
- * @see {@link https://llm-docs.commercengine.io/operations/delete-user-cart} - API reference for the delete-user-cart operation
28
+ * @see {@link https://llm-docs.commercengine.io/storefront/operations/delete-user-cart} - API reference for the delete-user-cart operation
29
29
  */
30
30
  removeUserCart(request: operations.DeleteUserCartRequest, options?: RequestOptions): Promise<operations.DeleteUserCartResponseBody>;
31
31
  /**
@@ -34,7 +34,7 @@ export declare class Carts extends ClientSDK {
34
34
  * @remarks
35
35
  * Retrieve cart detail
36
36
  *
37
- * @see {@link https://llm-docs.commercengine.io/operations/get-cart} - API reference for the get-cart operation
37
+ * @see {@link https://llm-docs.commercengine.io/storefront/operations/get-cart} - API reference for the get-cart operation
38
38
  */
39
39
  getCart(request: operations.GetCartRequest, options?: RequestOptions): Promise<operations.GetCartResponseBody>;
40
40
  /**
@@ -43,7 +43,7 @@ export declare class Carts extends ClientSDK {
43
43
  * @remarks
44
44
  * delete all items from the cart.
45
45
  *
46
- * @see {@link https://llm-docs.commercengine.io/operations/delete-cart} - API reference for the delete-cart operation
46
+ * @see {@link https://llm-docs.commercengine.io/storefront/operations/delete-cart} - API reference for the delete-cart operation
47
47
  */
48
48
  deleteCart(request: operations.DeleteCartRequest, options?: RequestOptions): Promise<operations.DeleteCartResponseBody>;
49
49
  /**
@@ -52,7 +52,7 @@ export declare class Carts extends ClientSDK {
52
52
  * @remarks
53
53
  * Update billing and shipping address
54
54
  *
55
- * @see {@link https://llm-docs.commercengine.io/operations/create-cart-address} - API reference for the create-cart-address operation
55
+ * @see {@link https://llm-docs.commercengine.io/storefront/operations/create-cart-address} - API reference for the create-cart-address operation
56
56
  */
57
57
  createCartAddress(request: operations.CreateCartAddressRequest, options?: RequestOptions): Promise<operations.CreateCartAddressResponseBody>;
58
58
  /**
@@ -61,7 +61,7 @@ export declare class Carts extends ClientSDK {
61
61
  * @remarks
62
62
  * Apply coupon
63
63
  *
64
- * @see {@link https://llm-docs.commercengine.io/operations/apply-coupon} - API reference for the apply-coupon operation
64
+ * @see {@link https://llm-docs.commercengine.io/storefront/operations/apply-coupon} - API reference for the apply-coupon operation
65
65
  */
66
66
  applyCoupon(request: operations.ApplyCouponRequest, options?: RequestOptions): Promise<operations.ApplyCouponResponseBody>;
67
67
  /**
@@ -70,7 +70,7 @@ export declare class Carts extends ClientSDK {
70
70
  * @remarks
71
71
  * remove coupon from cart
72
72
  *
73
- * @see {@link https://llm-docs.commercengine.io/operations/remove-coupon} - API reference for the remove-coupon operation
73
+ * @see {@link https://llm-docs.commercengine.io/storefront/operations/remove-coupon} - API reference for the remove-coupon operation
74
74
  */
75
75
  removeCoupon(request: operations.RemoveCouponRequest, options?: RequestOptions): Promise<operations.RemoveCouponResponseBody>;
76
76
  /**
@@ -79,7 +79,7 @@ export declare class Carts extends ClientSDK {
79
79
  * @remarks
80
80
  * Update fulfillment preference
81
81
  *
82
- * @see {@link https://llm-docs.commercengine.io/operations/update-fulfillment-preference} - API reference for the update-fulfillment-preference operation
82
+ * @see {@link https://llm-docs.commercengine.io/storefront/operations/update-fulfillment-preference} - API reference for the update-fulfillment-preference operation
83
83
  */
84
84
  updateFulfillmentPreference(request: operations.UpdateFulfillmentPreferenceRequest, options?: RequestOptions): Promise<operations.UpdateFulfillmentPreferenceResponseBody>;
85
85
  /**
@@ -88,7 +88,7 @@ export declare class Carts extends ClientSDK {
88
88
  * @remarks
89
89
  * Add Item to cart. To delete item from cart, pass quantity = 0
90
90
  *
91
- * @see {@link https://llm-docs.commercengine.io/operations/update-cart} - API reference for the update-cart operation
91
+ * @see {@link https://llm-docs.commercengine.io/storefront/operations/update-cart} - API reference for the update-cart operation
92
92
  */
93
93
  updateCart(request: operations.UpdateCartRequest, options?: RequestOptions): Promise<operations.UpdateCartResponseBody>;
94
94
  /**
@@ -97,7 +97,7 @@ export declare class Carts extends ClientSDK {
97
97
  * @remarks
98
98
  * Redeem loyalty points
99
99
  *
100
- * @see {@link https://llm-docs.commercengine.io/operations/redeem-loyalty-points} - API reference for the redeem-loyalty-points operation
100
+ * @see {@link https://llm-docs.commercengine.io/storefront/operations/redeem-loyalty-points} - API reference for the redeem-loyalty-points operation
101
101
  */
102
102
  redeemLoyaltyPoints(request: operations.RedeemLoyaltyPointsRequest, options?: RequestOptions): Promise<operations.RedeemLoyaltyPointsResponseBody>;
103
103
  /**
@@ -106,7 +106,7 @@ export declare class Carts extends ClientSDK {
106
106
  * @remarks
107
107
  * Remove loyalty points applied in cart
108
108
  *
109
- * @see {@link https://llm-docs.commercengine.io/operations/remove-loyalty-points} - API reference for the remove-loyalty-points operation
109
+ * @see {@link https://llm-docs.commercengine.io/storefront/operations/remove-loyalty-points} - API reference for the remove-loyalty-points operation
110
110
  */
111
111
  removeLoyaltyPoints(request: operations.RemoveLoyaltyPointsRequest, options?: RequestOptions): Promise<operations.RemoveLoyaltyPointsResponseBody>;
112
112
  /**
@@ -115,7 +115,7 @@ export declare class Carts extends ClientSDK {
115
115
  * @remarks
116
116
  * Update preferred shipping method and courier.
117
117
  *
118
- * @see {@link https://llm-docs.commercengine.io/operations/update-shipping-method} - API reference for the update-shipping-method operation
118
+ * @see {@link https://llm-docs.commercengine.io/storefront/operations/update-shipping-method} - API reference for the update-shipping-method operation
119
119
  */
120
120
  addShippingMethod(request: operations.UpdateShippingMethodRequest, options?: RequestOptions): Promise<operations.UpdateShippingMethodResponseBody>;
121
121
  }