ce-storefront 0.16.1 → 0.16.3
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.
- package/README.md +2 -4
- package/docs/sdks/auth/README.md +10 -10
- package/docs/sdks/carts/README.md +16 -102
- package/docs/sdks/catalog/README.md +11 -11
- package/docs/sdks/common/README.md +1 -1
- package/docs/sdks/customers/README.md +7 -7
- package/docs/sdks/orders/README.md +7 -7
- package/docs/sdks/shipping/README.md +3 -3
- package/esm/funcs/authGenerateOtp.d.ts +1 -1
- package/esm/funcs/authGenerateOtp.js +1 -1
- package/esm/funcs/authGetAnonymousToken.d.ts +1 -1
- package/esm/funcs/authGetAnonymousToken.js +1 -1
- package/esm/funcs/authGetUserDetail.d.ts +1 -1
- package/esm/funcs/authGetUserDetail.js +1 -1
- package/esm/funcs/authLoginWithEmail.d.ts +1 -1
- package/esm/funcs/authLoginWithEmail.js +1 -1
- package/esm/funcs/authLoginWithPhone.d.ts +1 -1
- package/esm/funcs/authLoginWithPhone.js +1 -1
- package/esm/funcs/authLoginWithWhatsapp.d.ts +1 -1
- package/esm/funcs/authLoginWithWhatsapp.js +1 -1
- package/esm/funcs/authLogout.d.ts +1 -1
- package/esm/funcs/authLogout.js +1 -1
- package/esm/funcs/authRefreshToken.d.ts +1 -1
- package/esm/funcs/authRefreshToken.js +1 -1
- package/esm/funcs/authUpdateUser.d.ts +1 -1
- package/esm/funcs/authUpdateUser.js +1 -1
- package/esm/funcs/authVerifyOtp.d.ts +1 -1
- package/esm/funcs/authVerifyOtp.js +1 -1
- package/esm/funcs/cartsApplyCoupon.d.ts +1 -1
- package/esm/funcs/cartsApplyCoupon.js +1 -1
- package/esm/funcs/cartsCreateCart.d.ts +1 -1
- package/esm/funcs/cartsCreateCart.js +1 -1
- package/esm/funcs/cartsCreateCartAddress.d.ts +1 -1
- package/esm/funcs/cartsCreateCartAddress.js +1 -1
- package/esm/funcs/cartsDeleteCart.d.ts +1 -1
- package/esm/funcs/cartsDeleteCart.js +1 -1
- package/esm/funcs/cartsGetCart.d.ts +1 -1
- package/esm/funcs/cartsGetCart.js +1 -1
- package/esm/funcs/cartsGetUserCart.d.ts +1 -1
- package/esm/funcs/cartsGetUserCart.js +1 -1
- package/esm/funcs/cartsRedeemLoyaltyPoints.d.ts +1 -1
- package/esm/funcs/cartsRedeemLoyaltyPoints.js +1 -1
- package/esm/funcs/cartsRemoveCoupon.d.ts +1 -1
- package/esm/funcs/cartsRemoveCoupon.js +1 -1
- package/esm/funcs/cartsRemoveLoyaltyPoints.d.ts +1 -1
- package/esm/funcs/cartsRemoveLoyaltyPoints.js +1 -1
- package/esm/funcs/cartsRemoveUserCart.d.ts +1 -1
- package/esm/funcs/cartsRemoveUserCart.js +1 -1
- package/esm/funcs/cartsUpdateCart.d.ts +1 -1
- package/esm/funcs/cartsUpdateCart.js +1 -1
- package/esm/funcs/cartsUpdateFulfillmentPreference.d.ts +1 -1
- package/esm/funcs/cartsUpdateFulfillmentPreference.js +4 -2
- package/esm/funcs/cartsUpdateFulfillmentPreference.js.map +1 -1
- package/esm/funcs/catalogGetProductDetail.d.ts +1 -1
- package/esm/funcs/catalogGetProductDetail.js +1 -1
- package/esm/funcs/catalogGetVariantDetail.d.ts +1 -1
- package/esm/funcs/catalogGetVariantDetail.js +1 -1
- package/esm/funcs/catalogListCategories.d.ts +1 -1
- package/esm/funcs/catalogListCategories.js +1 -1
- package/esm/funcs/catalogListCrosssellProducts.d.ts +1 -1
- package/esm/funcs/catalogListCrosssellProducts.js +1 -1
- package/esm/funcs/catalogListProductReviews.d.ts +1 -1
- package/esm/funcs/catalogListProductReviews.js +1 -1
- package/esm/funcs/catalogListProductVariants.d.ts +1 -1
- package/esm/funcs/catalogListProductVariants.js +1 -1
- package/esm/funcs/catalogListProducts.d.ts +1 -1
- package/esm/funcs/catalogListProducts.js +1 -1
- package/esm/funcs/catalogListSimilarProducts.d.ts +1 -1
- package/esm/funcs/catalogListSimilarProducts.js +1 -1
- package/esm/funcs/catalogListSkus.d.ts +1 -1
- package/esm/funcs/catalogListSkus.js +1 -1
- package/esm/funcs/catalogListUpsellProducts.d.ts +1 -1
- package/esm/funcs/catalogListUpsellProducts.js +1 -1
- package/esm/funcs/catalogSearchProducts.d.ts +1 -1
- package/esm/funcs/catalogSearchProducts.js +1 -1
- package/esm/funcs/commonListCountryPincodes.d.ts +1 -1
- package/esm/funcs/commonListCountryPincodes.js +1 -1
- package/esm/funcs/customersCreateAddress.d.ts +1 -1
- package/esm/funcs/customersCreateAddress.js +1 -1
- package/esm/funcs/customersDeleteAddress.d.ts +1 -1
- package/esm/funcs/customersDeleteAddress.js +1 -1
- package/esm/funcs/customersGetAddressDetail.d.ts +1 -1
- package/esm/funcs/customersGetAddressDetail.js +1 -1
- package/esm/funcs/customersGetLoyaltyDetails.d.ts +1 -1
- package/esm/funcs/customersGetLoyaltyDetails.js +1 -1
- package/esm/funcs/customersListAddresses.d.ts +1 -1
- package/esm/funcs/customersListAddresses.js +1 -1
- package/esm/funcs/customersListUserReviews.d.ts +1 -1
- package/esm/funcs/customersListUserReviews.js +1 -1
- package/esm/funcs/customersUpdateAddressDetail.d.ts +1 -1
- package/esm/funcs/customersUpdateAddressDetail.js +1 -1
- package/esm/funcs/ordersCancelOrder.d.ts +1 -1
- package/esm/funcs/ordersCancelOrder.js +1 -1
- package/esm/funcs/ordersCreateOrder.d.ts +1 -1
- package/esm/funcs/ordersCreateOrder.js +1 -1
- package/esm/funcs/ordersGetOrderDetail.d.ts +1 -1
- package/esm/funcs/ordersGetOrderDetail.js +1 -1
- package/esm/funcs/ordersGetPaymentStatus.d.ts +1 -1
- package/esm/funcs/ordersGetPaymentStatus.js +1 -1
- package/esm/funcs/ordersListOrderShipments.d.ts +1 -1
- package/esm/funcs/ordersListOrderShipments.js +1 -1
- package/esm/funcs/ordersListOrders.d.ts +1 -1
- package/esm/funcs/ordersListOrders.js +1 -1
- package/esm/funcs/ordersRetryOrderPayment.d.ts +1 -1
- package/esm/funcs/ordersRetryOrderPayment.js +1 -1
- package/esm/funcs/shippingCheckServiceability.d.ts +1 -1
- package/esm/funcs/shippingCheckServiceability.js +1 -1
- package/esm/funcs/shippingFulfillmentOptions.d.ts +1 -1
- package/esm/funcs/shippingFulfillmentOptions.js +1 -1
- package/esm/funcs/shippingShippingMethods.d.ts +1 -1
- package/esm/funcs/shippingShippingMethods.js +1 -1
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/models/components/anonymoususer.d.ts +1 -1
- package/esm/models/components/appliedcoupon.d.ts +1 -1
- package/esm/models/components/appliedpromotion.d.ts +1 -1
- package/esm/models/components/banktransfer.d.ts +1 -1
- package/esm/models/components/booleanattribute.d.ts +1 -1
- package/esm/models/components/cardpayment.d.ts +1 -1
- package/esm/models/components/cart.d.ts +1 -1
- package/esm/models/components/cartbasedserviceabilitycheck.d.ts +1 -1
- package/esm/models/components/cartitem.d.ts +1 -1
- package/esm/models/components/category.d.ts +1 -1
- package/esm/models/components/collectinstore.d.ts +1 -1
- package/esm/models/components/collectinstorefulfillment.d.ts +1 -1
- package/esm/models/components/colorattribute.d.ts +1 -1
- package/esm/models/components/coloroption.d.ts +1 -1
- package/esm/models/components/currency.d.ts +1 -1
- package/esm/models/components/customeraddress.d.ts +1 -1
- package/esm/models/components/customeraddressinput.d.ts +1 -1
- package/esm/models/components/customerloyalty.d.ts +1 -1
- package/esm/models/components/customerreadyforreview.d.ts +1 -1
- package/esm/models/components/customerreview.d.ts +1 -1
- package/esm/models/components/dateattribute.d.ts +1 -1
- package/esm/models/components/deliveryfulfillment.d.ts +3 -3
- package/esm/models/components/deliveryfulfillment.d.ts.map +1 -1
- package/esm/models/components/deliveryfulfillment.js +2 -2
- package/esm/models/components/deliveryfulfillment.js.map +1 -1
- package/esm/models/components/deliveryfulfillmentinput.d.ts +36 -0
- package/esm/models/components/deliveryfulfillmentinput.d.ts.map +1 -0
- package/esm/models/components/deliveryfulfillmentinput.js +48 -0
- package/esm/models/components/deliveryfulfillmentinput.js.map +1 -0
- package/esm/models/components/discountbasedpromotion.d.ts +1 -1
- package/esm/models/components/fixedpricepromotion.d.ts +1 -1
- package/esm/models/components/freegoodspromotion.d.ts +1 -1
- package/esm/models/components/fulfillmentitem.d.ts +1 -1
- package/esm/models/components/fulfillmentiteminput.d.ts +1 -1
- package/esm/models/components/fulfillmentpreference.d.ts +15 -3
- package/esm/models/components/fulfillmentpreference.d.ts.map +1 -1
- package/esm/models/components/fulfillmentpreference.js +12 -6
- package/esm/models/components/fulfillmentpreference.js.map +1 -1
- package/esm/models/components/fulfillmentpreferenceinput.d.ts +43 -0
- package/esm/models/components/fulfillmentpreferenceinput.d.ts.map +1 -0
- package/esm/models/components/fulfillmentpreferenceinput.js +44 -0
- package/esm/models/components/fulfillmentpreferenceinput.js.map +1 -0
- package/esm/models/components/generateotpwithemail.d.ts +1 -1
- package/esm/models/components/generateotpwithphone.d.ts +1 -1
- package/esm/models/components/index.d.ts +2 -0
- package/esm/models/components/index.d.ts.map +1 -1
- package/esm/models/components/index.js +2 -0
- package/esm/models/components/index.js.map +1 -1
- package/esm/models/components/item.d.ts +1 -1
- package/esm/models/components/juspaypaymentgatewayparams.d.ts +1 -1
- package/esm/models/components/juspaypaymentinfo.d.ts +1 -1
- package/esm/models/components/lotbatchdetail.d.ts +1 -1
- package/esm/models/components/multiselectattribute.d.ts +1 -1
- package/esm/models/components/netbankingpayment.d.ts +1 -1
- package/esm/models/components/notificationchannelpreferences.d.ts +1 -1
- package/esm/models/components/notificationpreferences.d.ts +1 -1
- package/esm/models/components/numberattribute.d.ts +1 -1
- package/esm/models/components/order.d.ts +1 -1
- package/esm/models/components/orderdetail.d.ts +1 -1
- package/esm/models/components/orderitem.d.ts +1 -1
- package/esm/models/components/orderlist.d.ts +1 -1
- package/esm/models/components/orderpayment.d.ts +1 -1
- package/esm/models/components/ordershipment.d.ts +1 -1
- package/esm/models/components/pagination.d.ts +1 -1
- package/esm/models/components/partialcollectanddelivery.d.ts +3 -3
- package/esm/models/components/partialcollectanddelivery.d.ts.map +1 -1
- package/esm/models/components/partialcollectanddelivery.js +2 -2
- package/esm/models/components/partialcollectanddelivery.js.map +1 -1
- package/esm/models/components/partialcollectanddeliveryinput.d.ts +1 -1
- package/esm/models/components/paymentgateway.d.ts +2 -2
- package/esm/models/components/paymentgateway.js +1 -1
- package/esm/models/components/paymentgatewayparams.d.ts +1 -1
- package/esm/models/components/payupaymentgatewayparams.d.ts +1 -1
- package/esm/models/components/payupaymentinfo.d.ts +1 -1
- package/esm/models/components/pincode.d.ts +1 -1
- package/esm/models/components/pincodeserviceability.d.ts +1 -1
- package/esm/models/components/product.d.ts +1 -1
- package/esm/models/components/productattribute.d.ts +1 -1
- package/esm/models/components/productbundleitem.d.ts +1 -1
- package/esm/models/components/productcategory.d.ts +1 -1
- package/esm/models/components/productdetail.d.ts +1 -1
- package/esm/models/components/productimage.d.ts +1 -1
- package/esm/models/components/productpricing.d.ts +1 -1
- package/esm/models/components/productpromotion.d.ts +1 -1
- package/esm/models/components/productreview.d.ts +1 -1
- package/esm/models/components/productshipping.d.ts +1 -1
- package/esm/models/components/productsubscription.d.ts +1 -1
- package/esm/models/components/productvideo.d.ts +1 -1
- package/esm/models/components/searchproduct.d.ts +1 -1
- package/esm/models/components/seo.d.ts +1 -1
- package/esm/models/components/shipmentitem.d.ts +1 -1
- package/esm/models/components/singleselectattribute.d.ts +1 -1
- package/esm/models/components/singleselectoption.d.ts +1 -1
- package/esm/models/components/textattribute.d.ts +1 -1
- package/esm/models/components/updatecartitem.d.ts +1 -1
- package/esm/models/components/upipayment.d.ts +1 -1
- package/esm/models/components/user.d.ts +2 -2
- package/esm/models/components/variant.d.ts +1 -1
- package/esm/models/components/variantdetail.d.ts +1 -1
- package/esm/models/components/variantoption.d.ts +1 -1
- package/esm/models/components/volumebasedpromotion.d.ts +1 -1
- package/esm/models/components/walletpayment.d.ts +1 -1
- package/esm/models/operations/createaddress.d.ts +1 -1
- package/esm/models/operations/getaddressdetail.d.ts +1 -1
- package/esm/models/operations/index.d.ts +0 -1
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +0 -1
- package/esm/models/operations/index.js.map +1 -1
- package/esm/models/operations/listaddresses.d.ts +1 -1
- package/esm/models/operations/updateaddressdetail.d.ts +1 -1
- package/esm/models/operations/updatefulfillmentpreference.d.ts +32 -23
- package/esm/models/operations/updatefulfillmentpreference.d.ts.map +1 -1
- package/esm/models/operations/updatefulfillmentpreference.js +31 -41
- package/esm/models/operations/updatefulfillmentpreference.js.map +1 -1
- package/esm/sdk/auth.d.ts +10 -10
- package/esm/sdk/auth.js +10 -10
- package/esm/sdk/carts.d.ts +12 -21
- package/esm/sdk/carts.d.ts.map +1 -1
- package/esm/sdk/carts.js +12 -24
- package/esm/sdk/carts.js.map +1 -1
- package/esm/sdk/catalog.d.ts +11 -11
- package/esm/sdk/catalog.js +11 -11
- package/esm/sdk/common.d.ts +1 -1
- package/esm/sdk/common.js +1 -1
- package/esm/sdk/customers.d.ts +7 -7
- package/esm/sdk/customers.js +7 -7
- package/esm/sdk/orders.d.ts +7 -7
- package/esm/sdk/orders.js +7 -7
- package/esm/sdk/shipping.d.ts +3 -3
- package/esm/sdk/shipping.js +3 -3
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/authGenerateOtp.ts +1 -1
- package/src/funcs/authGetAnonymousToken.ts +1 -1
- package/src/funcs/authGetUserDetail.ts +1 -1
- package/src/funcs/authLoginWithEmail.ts +1 -1
- package/src/funcs/authLoginWithPhone.ts +1 -1
- package/src/funcs/authLoginWithWhatsapp.ts +1 -1
- package/src/funcs/authLogout.ts +1 -1
- package/src/funcs/authRefreshToken.ts +1 -1
- package/src/funcs/authUpdateUser.ts +1 -1
- package/src/funcs/authVerifyOtp.ts +1 -1
- package/src/funcs/cartsApplyCoupon.ts +1 -1
- package/src/funcs/cartsCreateCart.ts +1 -1
- package/src/funcs/cartsCreateCartAddress.ts +1 -1
- package/src/funcs/cartsDeleteCart.ts +1 -1
- package/src/funcs/cartsGetCart.ts +1 -1
- package/src/funcs/cartsGetUserCart.ts +1 -1
- package/src/funcs/cartsRedeemLoyaltyPoints.ts +1 -1
- package/src/funcs/cartsRemoveCoupon.ts +1 -1
- package/src/funcs/cartsRemoveLoyaltyPoints.ts +1 -1
- package/src/funcs/cartsRemoveUserCart.ts +1 -1
- package/src/funcs/cartsUpdateCart.ts +1 -1
- package/src/funcs/cartsUpdateFulfillmentPreference.ts +4 -2
- package/src/funcs/catalogGetProductDetail.ts +1 -1
- package/src/funcs/catalogGetVariantDetail.ts +1 -1
- package/src/funcs/catalogListCategories.ts +1 -1
- package/src/funcs/catalogListCrosssellProducts.ts +1 -1
- package/src/funcs/catalogListProductReviews.ts +1 -1
- package/src/funcs/catalogListProductVariants.ts +1 -1
- package/src/funcs/catalogListProducts.ts +1 -1
- package/src/funcs/catalogListSimilarProducts.ts +1 -1
- package/src/funcs/catalogListSkus.ts +1 -1
- package/src/funcs/catalogListUpsellProducts.ts +1 -1
- package/src/funcs/catalogSearchProducts.ts +1 -1
- package/src/funcs/commonListCountryPincodes.ts +1 -1
- package/src/funcs/customersCreateAddress.ts +1 -1
- package/src/funcs/customersDeleteAddress.ts +1 -1
- package/src/funcs/customersGetAddressDetail.ts +1 -1
- package/src/funcs/customersGetLoyaltyDetails.ts +1 -1
- package/src/funcs/customersListAddresses.ts +1 -1
- package/src/funcs/customersListUserReviews.ts +1 -1
- package/src/funcs/customersUpdateAddressDetail.ts +1 -1
- package/src/funcs/ordersCancelOrder.ts +1 -1
- package/src/funcs/ordersCreateOrder.ts +1 -1
- package/src/funcs/ordersGetOrderDetail.ts +1 -1
- package/src/funcs/ordersGetPaymentStatus.ts +1 -1
- package/src/funcs/ordersListOrderShipments.ts +1 -1
- package/src/funcs/ordersListOrders.ts +1 -1
- package/src/funcs/ordersRetryOrderPayment.ts +1 -1
- package/src/funcs/shippingCheckServiceability.ts +1 -1
- package/src/funcs/shippingFulfillmentOptions.ts +1 -1
- package/src/funcs/shippingShippingMethods.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/anonymoususer.ts +1 -1
- package/src/models/components/appliedcoupon.ts +1 -1
- package/src/models/components/appliedpromotion.ts +1 -1
- package/src/models/components/banktransfer.ts +1 -1
- package/src/models/components/booleanattribute.ts +1 -1
- package/src/models/components/cardpayment.ts +1 -1
- package/src/models/components/cart.ts +1 -1
- package/src/models/components/cartbasedserviceabilitycheck.ts +1 -1
- package/src/models/components/cartitem.ts +1 -1
- package/src/models/components/category.ts +1 -1
- package/src/models/components/collectinstore.ts +1 -1
- package/src/models/components/collectinstorefulfillment.ts +1 -1
- package/src/models/components/colorattribute.ts +1 -1
- package/src/models/components/coloroption.ts +1 -1
- package/src/models/components/currency.ts +1 -1
- package/src/models/components/customeraddress.ts +1 -1
- package/src/models/components/customeraddressinput.ts +1 -1
- package/src/models/components/customerloyalty.ts +1 -1
- package/src/models/components/customerreadyforreview.ts +1 -1
- package/src/models/components/customerreview.ts +1 -1
- package/src/models/components/dateattribute.ts +1 -1
- package/src/models/components/deliveryfulfillment.ts +5 -5
- package/src/models/components/deliveryfulfillmentinput.ts +90 -0
- package/src/models/components/discountbasedpromotion.ts +1 -1
- package/src/models/components/fixedpricepromotion.ts +1 -1
- package/src/models/components/freegoodspromotion.ts +1 -1
- package/src/models/components/fulfillmentitem.ts +1 -1
- package/src/models/components/fulfillmentiteminput.ts +1 -1
- package/src/models/components/fulfillmentpreference.ts +41 -13
- package/src/models/components/fulfillmentpreferenceinput.ts +121 -0
- package/src/models/components/generateotpwithemail.ts +1 -1
- package/src/models/components/generateotpwithphone.ts +1 -1
- package/src/models/components/index.ts +2 -0
- package/src/models/components/item.ts +1 -1
- package/src/models/components/juspaypaymentgatewayparams.ts +1 -1
- package/src/models/components/juspaypaymentinfo.ts +1 -1
- package/src/models/components/lotbatchdetail.ts +1 -1
- package/src/models/components/multiselectattribute.ts +1 -1
- package/src/models/components/netbankingpayment.ts +1 -1
- package/src/models/components/notificationchannelpreferences.ts +1 -1
- package/src/models/components/notificationpreferences.ts +1 -1
- package/src/models/components/numberattribute.ts +1 -1
- package/src/models/components/order.ts +1 -1
- package/src/models/components/orderdetail.ts +1 -1
- package/src/models/components/orderitem.ts +1 -1
- package/src/models/components/orderlist.ts +1 -1
- package/src/models/components/orderpayment.ts +1 -1
- package/src/models/components/ordershipment.ts +1 -1
- package/src/models/components/pagination.ts +1 -1
- package/src/models/components/partialcollectanddelivery.ts +5 -5
- package/src/models/components/partialcollectanddeliveryinput.ts +1 -1
- package/src/models/components/paymentgateway.ts +2 -2
- package/src/models/components/paymentgatewayparams.ts +1 -1
- package/src/models/components/payupaymentgatewayparams.ts +1 -1
- package/src/models/components/payupaymentinfo.ts +1 -1
- package/src/models/components/pincode.ts +1 -1
- package/src/models/components/pincodeserviceability.ts +1 -1
- package/src/models/components/product.ts +1 -1
- package/src/models/components/productattribute.ts +1 -1
- package/src/models/components/productbundleitem.ts +1 -1
- package/src/models/components/productcategory.ts +1 -1
- package/src/models/components/productdetail.ts +1 -1
- package/src/models/components/productimage.ts +1 -1
- package/src/models/components/productpricing.ts +1 -1
- package/src/models/components/productpromotion.ts +1 -1
- package/src/models/components/productreview.ts +1 -1
- package/src/models/components/productshipping.ts +1 -1
- package/src/models/components/productsubscription.ts +1 -1
- package/src/models/components/productvideo.ts +1 -1
- package/src/models/components/searchproduct.ts +1 -1
- package/src/models/components/seo.ts +1 -1
- package/src/models/components/shipmentitem.ts +1 -1
- package/src/models/components/singleselectattribute.ts +1 -1
- package/src/models/components/singleselectoption.ts +1 -1
- package/src/models/components/textattribute.ts +1 -1
- package/src/models/components/updatecartitem.ts +1 -1
- package/src/models/components/upipayment.ts +1 -1
- package/src/models/components/user.ts +2 -2
- package/src/models/components/variant.ts +1 -1
- package/src/models/components/variantdetail.ts +1 -1
- package/src/models/components/variantoption.ts +1 -1
- package/src/models/components/volumebasedpromotion.ts +1 -1
- package/src/models/components/walletpayment.ts +1 -1
- package/src/models/operations/createaddress.ts +1 -1
- package/src/models/operations/getaddressdetail.ts +1 -1
- package/src/models/operations/index.ts +0 -1
- package/src/models/operations/listaddresses.ts +1 -1
- package/src/models/operations/updateaddressdetail.ts +1 -1
- package/src/models/operations/updatefulfillmentpreference.ts +75 -90
- package/src/sdk/auth.ts +10 -10
- package/src/sdk/carts.ts +12 -32
- package/src/sdk/catalog.ts +11 -11
- package/src/sdk/common.ts +1 -1
- package/src/sdk/customers.ts +7 -7
- package/src/sdk/orders.ts +7 -7
- package/src/sdk/shipping.ts +3 -3
- package/esm/funcs/cartsAddShippingMethod.d.ts +0 -20
- package/esm/funcs/cartsAddShippingMethod.d.ts.map +0 -1
- package/esm/funcs/cartsAddShippingMethod.js +0 -90
- package/esm/funcs/cartsAddShippingMethod.js.map +0 -1
- package/esm/models/operations/updateshippingmethod.d.ts +0 -122
- package/esm/models/operations/updateshippingmethod.d.ts.map +0 -1
- package/esm/models/operations/updateshippingmethod.js +0 -134
- package/esm/models/operations/updateshippingmethod.js.map +0 -1
- package/src/funcs/cartsAddShippingMethod.ts +0 -187
- package/src/models/operations/updateshippingmethod.ts +0 -293
package/esm/sdk/carts.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"carts.d.ts","sourceRoot":"","sources":["../../src/sdk/carts.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"carts.d.ts","sourceRoot":"","sources":["../../src/sdk/carts.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,KAAM,SAAQ,SAAS;IAClC;;;;;;;OAOG;IACG,UAAU,CACd,OAAO,EAAE,UAAU,CAAC,qBAAqB,EACzC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,sBAAsB,CAAC;IAQ7C;;;;;;;OAOG;IACG,WAAW,CACf,OAAO,EAAE,UAAU,CAAC,kBAAkB,EACtC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,uBAAuB,CAAC;IAQ9C;;;;;;;OAOG;IACG,cAAc,CAClB,OAAO,EAAE,UAAU,CAAC,qBAAqB,EACzC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,0BAA0B,CAAC;IAQjD;;;;;;;OAOG;IACG,OAAO,CACX,OAAO,EAAE,UAAU,CAAC,cAAc,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,mBAAmB,CAAC;IAQ1C;;;;;;;OAOG;IACG,UAAU,CACd,OAAO,EAAE,UAAU,CAAC,iBAAiB,EACrC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,sBAAsB,CAAC;IAQ7C;;;;;;;OAOG;IACG,iBAAiB,CACrB,OAAO,EAAE,UAAU,CAAC,wBAAwB,EAC5C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,6BAA6B,CAAC;IAQpD;;;;;;;OAOG;IACG,WAAW,CACf,OAAO,EAAE,UAAU,CAAC,kBAAkB,EACtC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,uBAAuB,CAAC;IAQ9C;;;;;;;OAOG;IACG,YAAY,CAChB,OAAO,EAAE,UAAU,CAAC,mBAAmB,EACvC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,wBAAwB,CAAC;IAQ/C;;;;;;;OAOG;IACG,2BAA2B,CAC/B,OAAO,EAAE,UAAU,CAAC,kCAAkC,EACtD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,uCAAuC,CAAC;IAQ9D;;;;;;;OAOG;IACG,UAAU,CACd,OAAO,EAAE,UAAU,CAAC,iBAAiB,EACrC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,sBAAsB,CAAC;IAQ7C;;;;;;;OAOG;IACG,mBAAmB,CACvB,OAAO,EAAE,UAAU,CAAC,0BAA0B,EAC9C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,+BAA+B,CAAC;IAQtD;;;;;;;OAOG;IACG,mBAAmB,CACvB,OAAO,EAAE,UAAU,CAAC,0BAA0B,EAC9C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,+BAA+B,CAAC;CAOvD"}
|
package/esm/sdk/carts.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
|
-
import { cartsAddShippingMethod } from "../funcs/cartsAddShippingMethod.js";
|
|
5
4
|
import { cartsApplyCoupon } from "../funcs/cartsApplyCoupon.js";
|
|
6
5
|
import { cartsCreateCart } from "../funcs/cartsCreateCart.js";
|
|
7
6
|
import { cartsCreateCartAddress } from "../funcs/cartsCreateCartAddress.js";
|
|
@@ -23,7 +22,7 @@ export class Carts extends ClientSDK {
|
|
|
23
22
|
* @remarks
|
|
24
23
|
* Create cart
|
|
25
24
|
*
|
|
26
|
-
* @see {@link https://llm-docs.commercengine.io/operations/create-cart} - API reference for the create-cart operation
|
|
25
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/create-cart} - API reference for the create-cart operation
|
|
27
26
|
*/
|
|
28
27
|
async createCart(request, options) {
|
|
29
28
|
return unwrapAsync(cartsCreateCart(this, request, options));
|
|
@@ -34,7 +33,7 @@ export class Carts extends ClientSDK {
|
|
|
34
33
|
* @remarks
|
|
35
34
|
* Retrieve cart detail using user id
|
|
36
35
|
*
|
|
37
|
-
* @see {@link https://llm-docs.commercengine.io/operations/get-user-cart} - API reference for the get-user-cart operation
|
|
36
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/get-user-cart} - API reference for the get-user-cart operation
|
|
38
37
|
*/
|
|
39
38
|
async getUserCart(request, options) {
|
|
40
39
|
return unwrapAsync(cartsGetUserCart(this, request, options));
|
|
@@ -45,7 +44,7 @@ export class Carts extends ClientSDK {
|
|
|
45
44
|
* @remarks
|
|
46
45
|
* delete all items from the cart using user id.
|
|
47
46
|
*
|
|
48
|
-
* @see {@link https://llm-docs.commercengine.io/operations/delete-user-cart} - API reference for the delete-user-cart operation
|
|
47
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/delete-user-cart} - API reference for the delete-user-cart operation
|
|
49
48
|
*/
|
|
50
49
|
async removeUserCart(request, options) {
|
|
51
50
|
return unwrapAsync(cartsRemoveUserCart(this, request, options));
|
|
@@ -56,7 +55,7 @@ export class Carts extends ClientSDK {
|
|
|
56
55
|
* @remarks
|
|
57
56
|
* Retrieve cart detail
|
|
58
57
|
*
|
|
59
|
-
* @see {@link https://llm-docs.commercengine.io/operations/get-cart} - API reference for the get-cart operation
|
|
58
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/get-cart} - API reference for the get-cart operation
|
|
60
59
|
*/
|
|
61
60
|
async getCart(request, options) {
|
|
62
61
|
return unwrapAsync(cartsGetCart(this, request, options));
|
|
@@ -67,7 +66,7 @@ export class Carts extends ClientSDK {
|
|
|
67
66
|
* @remarks
|
|
68
67
|
* delete all items from the cart.
|
|
69
68
|
*
|
|
70
|
-
* @see {@link https://llm-docs.commercengine.io/operations/delete-cart} - API reference for the delete-cart operation
|
|
69
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/delete-cart} - API reference for the delete-cart operation
|
|
71
70
|
*/
|
|
72
71
|
async deleteCart(request, options) {
|
|
73
72
|
return unwrapAsync(cartsDeleteCart(this, request, options));
|
|
@@ -78,7 +77,7 @@ export class Carts extends ClientSDK {
|
|
|
78
77
|
* @remarks
|
|
79
78
|
* Update billing and shipping address
|
|
80
79
|
*
|
|
81
|
-
* @see {@link https://llm-docs.commercengine.io/operations/create-cart-address} - API reference for the create-cart-address operation
|
|
80
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/create-cart-address} - API reference for the create-cart-address operation
|
|
82
81
|
*/
|
|
83
82
|
async createCartAddress(request, options) {
|
|
84
83
|
return unwrapAsync(cartsCreateCartAddress(this, request, options));
|
|
@@ -89,7 +88,7 @@ export class Carts extends ClientSDK {
|
|
|
89
88
|
* @remarks
|
|
90
89
|
* Apply coupon
|
|
91
90
|
*
|
|
92
|
-
* @see {@link https://llm-docs.commercengine.io/operations/apply-coupon} - API reference for the apply-coupon operation
|
|
91
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/apply-coupon} - API reference for the apply-coupon operation
|
|
93
92
|
*/
|
|
94
93
|
async applyCoupon(request, options) {
|
|
95
94
|
return unwrapAsync(cartsApplyCoupon(this, request, options));
|
|
@@ -100,7 +99,7 @@ export class Carts extends ClientSDK {
|
|
|
100
99
|
* @remarks
|
|
101
100
|
* remove coupon from cart
|
|
102
101
|
*
|
|
103
|
-
* @see {@link https://llm-docs.commercengine.io/operations/remove-coupon} - API reference for the remove-coupon operation
|
|
102
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/remove-coupon} - API reference for the remove-coupon operation
|
|
104
103
|
*/
|
|
105
104
|
async removeCoupon(request, options) {
|
|
106
105
|
return unwrapAsync(cartsRemoveCoupon(this, request, options));
|
|
@@ -111,7 +110,7 @@ export class Carts extends ClientSDK {
|
|
|
111
110
|
* @remarks
|
|
112
111
|
* Update fulfillment preference
|
|
113
112
|
*
|
|
114
|
-
* @see {@link https://llm-docs.commercengine.io/operations/update-fulfillment-preference} - API reference for the update-fulfillment-preference operation
|
|
113
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/update-fulfillment-preference} - API reference for the update-fulfillment-preference operation
|
|
115
114
|
*/
|
|
116
115
|
async updateFulfillmentPreference(request, options) {
|
|
117
116
|
return unwrapAsync(cartsUpdateFulfillmentPreference(this, request, options));
|
|
@@ -122,7 +121,7 @@ export class Carts extends ClientSDK {
|
|
|
122
121
|
* @remarks
|
|
123
122
|
* Add Item to cart. To delete item from cart, pass quantity = 0
|
|
124
123
|
*
|
|
125
|
-
* @see {@link https://llm-docs.commercengine.io/operations/update-cart} - API reference for the update-cart operation
|
|
124
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/update-cart} - API reference for the update-cart operation
|
|
126
125
|
*/
|
|
127
126
|
async updateCart(request, options) {
|
|
128
127
|
return unwrapAsync(cartsUpdateCart(this, request, options));
|
|
@@ -133,7 +132,7 @@ export class Carts extends ClientSDK {
|
|
|
133
132
|
* @remarks
|
|
134
133
|
* Redeem loyalty points
|
|
135
134
|
*
|
|
136
|
-
* @see {@link https://llm-docs.commercengine.io/operations/redeem-loyalty-points} - API reference for the redeem-loyalty-points operation
|
|
135
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/redeem-loyalty-points} - API reference for the redeem-loyalty-points operation
|
|
137
136
|
*/
|
|
138
137
|
async redeemLoyaltyPoints(request, options) {
|
|
139
138
|
return unwrapAsync(cartsRedeemLoyaltyPoints(this, request, options));
|
|
@@ -144,21 +143,10 @@ export class Carts extends ClientSDK {
|
|
|
144
143
|
* @remarks
|
|
145
144
|
* Remove loyalty points applied in cart
|
|
146
145
|
*
|
|
147
|
-
* @see {@link https://llm-docs.commercengine.io/operations/remove-loyalty-points} - API reference for the remove-loyalty-points operation
|
|
146
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/remove-loyalty-points} - API reference for the remove-loyalty-points operation
|
|
148
147
|
*/
|
|
149
148
|
async removeLoyaltyPoints(request, options) {
|
|
150
149
|
return unwrapAsync(cartsRemoveLoyaltyPoints(this, request, options));
|
|
151
150
|
}
|
|
152
|
-
/**
|
|
153
|
-
* Update shipping method
|
|
154
|
-
*
|
|
155
|
-
* @remarks
|
|
156
|
-
* Update preferred shipping method and courier.
|
|
157
|
-
*
|
|
158
|
-
* @see {@link https://llm-docs.commercengine.io/operations/update-shipping-method} - API reference for the update-shipping-method operation
|
|
159
|
-
*/
|
|
160
|
-
async addShippingMethod(request, options) {
|
|
161
|
-
return unwrapAsync(cartsAddShippingMethod(this, request, options));
|
|
162
|
-
}
|
|
163
151
|
}
|
|
164
152
|
//# sourceMappingURL=carts.js.map
|
package/esm/sdk/carts.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"carts.js","sourceRoot":"","sources":["../../src/sdk/carts.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"carts.js","sourceRoot":"","sources":["../../src/sdk/carts.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAC5E,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAChF,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAChF,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,gCAAgC,EAAE,MAAM,8CAA8C,CAAC;AAChG,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,KAAM,SAAQ,SAAS;IAClC;;;;;;;OAOG;IACH,KAAK,CAAC,UAAU,CACd,OAAyC,EACzC,OAAwB;QAExB,OAAO,WAAW,CAAC,eAAe,CAChC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,WAAW,CACf,OAAsC,EACtC,OAAwB;QAExB,OAAO,WAAW,CAAC,gBAAgB,CACjC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,cAAc,CAClB,OAAyC,EACzC,OAAwB;QAExB,OAAO,WAAW,CAAC,mBAAmB,CACpC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,OAAO,CACX,OAAkC,EAClC,OAAwB;QAExB,OAAO,WAAW,CAAC,YAAY,CAC7B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,UAAU,CACd,OAAqC,EACrC,OAAwB;QAExB,OAAO,WAAW,CAAC,eAAe,CAChC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,iBAAiB,CACrB,OAA4C,EAC5C,OAAwB;QAExB,OAAO,WAAW,CAAC,sBAAsB,CACvC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,WAAW,CACf,OAAsC,EACtC,OAAwB;QAExB,OAAO,WAAW,CAAC,gBAAgB,CACjC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,YAAY,CAChB,OAAuC,EACvC,OAAwB;QAExB,OAAO,WAAW,CAAC,iBAAiB,CAClC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,2BAA2B,CAC/B,OAAsD,EACtD,OAAwB;QAExB,OAAO,WAAW,CAAC,gCAAgC,CACjD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,UAAU,CACd,OAAqC,EACrC,OAAwB;QAExB,OAAO,WAAW,CAAC,eAAe,CAChC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,mBAAmB,CACvB,OAA8C,EAC9C,OAAwB;QAExB,OAAO,WAAW,CAAC,wBAAwB,CACzC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,mBAAmB,CACvB,OAA8C,EAC9C,OAAwB;QAExB,OAAO,WAAW,CAAC,wBAAwB,CACzC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
|
package/esm/sdk/catalog.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export declare class Catalog extends ClientSDK {
|
|
|
7
7
|
* @remarks
|
|
8
8
|
* Returns a list of your product categories. The categories are returned sorted by creation date, with the most recently created categories appearing first.
|
|
9
9
|
*
|
|
10
|
-
* @see {@link https://llm-docs.commercengine.io/operations/list-categories} - API reference for the list-categories operation
|
|
10
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/list-categories} - API reference for the list-categories operation
|
|
11
11
|
*/
|
|
12
12
|
listCategories(request: operations.ListCategoriesRequest, options?: RequestOptions): Promise<operations.ListCategoriesResponseBody>;
|
|
13
13
|
/**
|
|
@@ -16,7 +16,7 @@ export declare class Catalog extends ClientSDK {
|
|
|
16
16
|
* @remarks
|
|
17
17
|
* Returns a list of your products. The products are returned sorted by creation date, with the most recently created products appearing first.
|
|
18
18
|
*
|
|
19
|
-
* @see {@link https://llm-docs.commercengine.io/operations/list-products} - API reference for the list-products operation
|
|
19
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/list-products} - API reference for the list-products operation
|
|
20
20
|
*/
|
|
21
21
|
listProducts(request: operations.ListProductsRequest, options?: RequestOptions): Promise<operations.ListProductsResponseBody>;
|
|
22
22
|
/**
|
|
@@ -25,7 +25,7 @@ export declare class Catalog extends ClientSDK {
|
|
|
25
25
|
* @remarks
|
|
26
26
|
* Retrieves a list of products specified for cross selling. The cross-sell products are returned based on product ids specified in request param.
|
|
27
27
|
*
|
|
28
|
-
* @see {@link https://llm-docs.commercengine.io/operations/list-crosssell-products} - API reference for the list-crosssell-products operation
|
|
28
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/list-crosssell-products} - API reference for the list-crosssell-products operation
|
|
29
29
|
*/
|
|
30
30
|
listCrosssellProducts(request: operations.ListCrosssellProductsRequest, options?: RequestOptions): Promise<operations.ListCrosssellProductsResponseBody>;
|
|
31
31
|
/**
|
|
@@ -34,7 +34,7 @@ export declare class Catalog extends ClientSDK {
|
|
|
34
34
|
* @remarks
|
|
35
35
|
* Search for products matching a specific words or characters given.
|
|
36
36
|
*
|
|
37
|
-
* @see {@link https://llm-docs.commercengine.io/operations/search-products} - API reference for the search-products operation
|
|
37
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/search-products} - API reference for the search-products operation
|
|
38
38
|
*/
|
|
39
39
|
searchProducts(request: operations.SearchProductsRequest, options?: RequestOptions): Promise<operations.SearchProductsResponseBody>;
|
|
40
40
|
/**
|
|
@@ -43,7 +43,7 @@ export declare class Catalog extends ClientSDK {
|
|
|
43
43
|
* @remarks
|
|
44
44
|
* 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.
|
|
45
45
|
*
|
|
46
|
-
* @see {@link https://llm-docs.commercengine.io/operations/list-similar-products} - API reference for the list-similar-products operation
|
|
46
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/list-similar-products} - API reference for the list-similar-products operation
|
|
47
47
|
*/
|
|
48
48
|
listSimilarProducts(request: operations.ListSimilarProductsRequest, options?: RequestOptions): Promise<operations.ListSimilarProductsResponseBody>;
|
|
49
49
|
/**
|
|
@@ -52,7 +52,7 @@ export declare class Catalog extends ClientSDK {
|
|
|
52
52
|
* @remarks
|
|
53
53
|
* Retrieves a list of products specified for upsell. The upsell products are returned based on product ids specified in request param.
|
|
54
54
|
*
|
|
55
|
-
* @see {@link https://llm-docs.commercengine.io/operations/list-upsell-products} - API reference for the list-upsell-products operation
|
|
55
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/list-upsell-products} - API reference for the list-upsell-products operation
|
|
56
56
|
*/
|
|
57
57
|
listUpsellProducts(request: operations.ListUpsellProductsRequest, options?: RequestOptions): Promise<operations.ListUpsellProductsResponseBody>;
|
|
58
58
|
/**
|
|
@@ -61,7 +61,7 @@ export declare class Catalog extends ClientSDK {
|
|
|
61
61
|
* @remarks
|
|
62
62
|
* Retrieves the details of an existing product. Supply either the unique product ID or the unique slug, and Commerce Engine will return the corresponding product information.
|
|
63
63
|
*
|
|
64
|
-
* @see {@link https://llm-docs.commercengine.io/operations/get-product-detail} - API reference for the get-product-detail operation
|
|
64
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/get-product-detail} - API reference for the get-product-detail operation
|
|
65
65
|
*/
|
|
66
66
|
getProductDetail(request: operations.GetProductDetailRequest, options?: RequestOptions): Promise<operations.GetProductDetailResponseBody>;
|
|
67
67
|
/**
|
|
@@ -70,7 +70,7 @@ export declare class Catalog extends ClientSDK {
|
|
|
70
70
|
* @remarks
|
|
71
71
|
* List of reviews for a specified product. The reviews are returned sorted by submission date, with the most recent reviews appearing first. You can filter the reviews by rating, reviewer, or date for more detailed analysis.
|
|
72
72
|
*
|
|
73
|
-
* @see {@link https://llm-docs.commercengine.io/operations/list-product-reviews} - API reference for the list-product-reviews operation
|
|
73
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/list-product-reviews} - API reference for the list-product-reviews operation
|
|
74
74
|
*/
|
|
75
75
|
listProductReviews(request: operations.ListProductReviewsRequest, options?: RequestOptions): Promise<operations.ListProductReviewsResponseBody>;
|
|
76
76
|
/**
|
|
@@ -79,7 +79,7 @@ export declare class Catalog extends ClientSDK {
|
|
|
79
79
|
* @remarks
|
|
80
80
|
* Retrieves the variants of an existing product. Supply the unique product ID, and Commerce Engine will return the corresponding product variants information.
|
|
81
81
|
*
|
|
82
|
-
* @see {@link https://llm-docs.commercengine.io/operations/list-product-variants} - API reference for the list-product-variants operation
|
|
82
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/list-product-variants} - API reference for the list-product-variants operation
|
|
83
83
|
*/
|
|
84
84
|
listProductVariants(request: operations.ListProductVariantsRequest, options?: RequestOptions): Promise<operations.ListProductVariantsResponseBody>;
|
|
85
85
|
/**
|
|
@@ -88,7 +88,7 @@ export declare class Catalog extends ClientSDK {
|
|
|
88
88
|
* @remarks
|
|
89
89
|
* Retrieves the details of a particular variant. Supply the unique product ID, and variant ID.
|
|
90
90
|
*
|
|
91
|
-
* @see {@link https://llm-docs.commercengine.io/operations/get-variant-detail} - API reference for the get-variant-detail operation
|
|
91
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/get-variant-detail} - API reference for the get-variant-detail operation
|
|
92
92
|
*/
|
|
93
93
|
getVariantDetail(request: operations.GetVariantDetailRequest, options?: RequestOptions): Promise<operations.GetVariantDetailResponseBody>;
|
|
94
94
|
/**
|
|
@@ -97,7 +97,7 @@ export declare class Catalog extends ClientSDK {
|
|
|
97
97
|
* @remarks
|
|
98
98
|
* Returns a list of SKUs. The SKUs are returned sorted by creation date, with the most recently created SKUs appearing first.
|
|
99
99
|
*
|
|
100
|
-
* @see {@link https://llm-docs.commercengine.io/operations/list-skus} - API reference for the list-skus operation
|
|
100
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/list-skus} - API reference for the list-skus operation
|
|
101
101
|
*/
|
|
102
102
|
listSkus(request: operations.ListSkusRequest, options?: RequestOptions): Promise<operations.ListSkusResponseBody>;
|
|
103
103
|
}
|
package/esm/sdk/catalog.js
CHANGED
|
@@ -21,7 +21,7 @@ export class Catalog extends ClientSDK {
|
|
|
21
21
|
* @remarks
|
|
22
22
|
* Returns a list of your product categories. The categories are returned sorted by creation date, with the most recently created categories appearing first.
|
|
23
23
|
*
|
|
24
|
-
* @see {@link https://llm-docs.commercengine.io/operations/list-categories} - API reference for the list-categories operation
|
|
24
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/list-categories} - API reference for the list-categories operation
|
|
25
25
|
*/
|
|
26
26
|
async listCategories(request, options) {
|
|
27
27
|
return unwrapAsync(catalogListCategories(this, request, options));
|
|
@@ -32,7 +32,7 @@ export class Catalog extends ClientSDK {
|
|
|
32
32
|
* @remarks
|
|
33
33
|
* Returns a list of your products. The products are returned sorted by creation date, with the most recently created products appearing first.
|
|
34
34
|
*
|
|
35
|
-
* @see {@link https://llm-docs.commercengine.io/operations/list-products} - API reference for the list-products operation
|
|
35
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/list-products} - API reference for the list-products operation
|
|
36
36
|
*/
|
|
37
37
|
async listProducts(request, options) {
|
|
38
38
|
return unwrapAsync(catalogListProducts(this, request, options));
|
|
@@ -43,7 +43,7 @@ export class Catalog extends ClientSDK {
|
|
|
43
43
|
* @remarks
|
|
44
44
|
* Retrieves a list of products specified for cross selling. The cross-sell products are returned based on product ids specified in request param.
|
|
45
45
|
*
|
|
46
|
-
* @see {@link https://llm-docs.commercengine.io/operations/list-crosssell-products} - API reference for the list-crosssell-products operation
|
|
46
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/list-crosssell-products} - API reference for the list-crosssell-products operation
|
|
47
47
|
*/
|
|
48
48
|
async listCrosssellProducts(request, options) {
|
|
49
49
|
return unwrapAsync(catalogListCrosssellProducts(this, request, options));
|
|
@@ -54,7 +54,7 @@ export class Catalog extends ClientSDK {
|
|
|
54
54
|
* @remarks
|
|
55
55
|
* Search for products matching a specific words or characters given.
|
|
56
56
|
*
|
|
57
|
-
* @see {@link https://llm-docs.commercengine.io/operations/search-products} - API reference for the search-products operation
|
|
57
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/search-products} - API reference for the search-products operation
|
|
58
58
|
*/
|
|
59
59
|
async searchProducts(request, options) {
|
|
60
60
|
return unwrapAsync(catalogSearchProducts(this, request, options));
|
|
@@ -65,7 +65,7 @@ export class Catalog extends ClientSDK {
|
|
|
65
65
|
* @remarks
|
|
66
66
|
* 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.
|
|
67
67
|
*
|
|
68
|
-
* @see {@link https://llm-docs.commercengine.io/operations/list-similar-products} - API reference for the list-similar-products operation
|
|
68
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/list-similar-products} - API reference for the list-similar-products operation
|
|
69
69
|
*/
|
|
70
70
|
async listSimilarProducts(request, options) {
|
|
71
71
|
return unwrapAsync(catalogListSimilarProducts(this, request, options));
|
|
@@ -76,7 +76,7 @@ export class Catalog extends ClientSDK {
|
|
|
76
76
|
* @remarks
|
|
77
77
|
* Retrieves a list of products specified for upsell. The upsell products are returned based on product ids specified in request param.
|
|
78
78
|
*
|
|
79
|
-
* @see {@link https://llm-docs.commercengine.io/operations/list-upsell-products} - API reference for the list-upsell-products operation
|
|
79
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/list-upsell-products} - API reference for the list-upsell-products operation
|
|
80
80
|
*/
|
|
81
81
|
async listUpsellProducts(request, options) {
|
|
82
82
|
return unwrapAsync(catalogListUpsellProducts(this, request, options));
|
|
@@ -87,7 +87,7 @@ export class Catalog extends ClientSDK {
|
|
|
87
87
|
* @remarks
|
|
88
88
|
* Retrieves the details of an existing product. Supply either the unique product ID or the unique slug, and Commerce Engine will return the corresponding product information.
|
|
89
89
|
*
|
|
90
|
-
* @see {@link https://llm-docs.commercengine.io/operations/get-product-detail} - API reference for the get-product-detail operation
|
|
90
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/get-product-detail} - API reference for the get-product-detail operation
|
|
91
91
|
*/
|
|
92
92
|
async getProductDetail(request, options) {
|
|
93
93
|
return unwrapAsync(catalogGetProductDetail(this, request, options));
|
|
@@ -98,7 +98,7 @@ export class Catalog extends ClientSDK {
|
|
|
98
98
|
* @remarks
|
|
99
99
|
* List of reviews for a specified product. The reviews are returned sorted by submission date, with the most recent reviews appearing first. You can filter the reviews by rating, reviewer, or date for more detailed analysis.
|
|
100
100
|
*
|
|
101
|
-
* @see {@link https://llm-docs.commercengine.io/operations/list-product-reviews} - API reference for the list-product-reviews operation
|
|
101
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/list-product-reviews} - API reference for the list-product-reviews operation
|
|
102
102
|
*/
|
|
103
103
|
async listProductReviews(request, options) {
|
|
104
104
|
return unwrapAsync(catalogListProductReviews(this, request, options));
|
|
@@ -109,7 +109,7 @@ export class Catalog extends ClientSDK {
|
|
|
109
109
|
* @remarks
|
|
110
110
|
* Retrieves the variants of an existing product. Supply the unique product ID, and Commerce Engine will return the corresponding product variants information.
|
|
111
111
|
*
|
|
112
|
-
* @see {@link https://llm-docs.commercengine.io/operations/list-product-variants} - API reference for the list-product-variants operation
|
|
112
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/list-product-variants} - API reference for the list-product-variants operation
|
|
113
113
|
*/
|
|
114
114
|
async listProductVariants(request, options) {
|
|
115
115
|
return unwrapAsync(catalogListProductVariants(this, request, options));
|
|
@@ -120,7 +120,7 @@ export class Catalog extends ClientSDK {
|
|
|
120
120
|
* @remarks
|
|
121
121
|
* Retrieves the details of a particular variant. Supply the unique product ID, and variant ID.
|
|
122
122
|
*
|
|
123
|
-
* @see {@link https://llm-docs.commercengine.io/operations/get-variant-detail} - API reference for the get-variant-detail operation
|
|
123
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/get-variant-detail} - API reference for the get-variant-detail operation
|
|
124
124
|
*/
|
|
125
125
|
async getVariantDetail(request, options) {
|
|
126
126
|
return unwrapAsync(catalogGetVariantDetail(this, request, options));
|
|
@@ -131,7 +131,7 @@ export class Catalog extends ClientSDK {
|
|
|
131
131
|
* @remarks
|
|
132
132
|
* Returns a list of SKUs. The SKUs are returned sorted by creation date, with the most recently created SKUs appearing first.
|
|
133
133
|
*
|
|
134
|
-
* @see {@link https://llm-docs.commercengine.io/operations/list-skus} - API reference for the list-skus operation
|
|
134
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/list-skus} - API reference for the list-skus operation
|
|
135
135
|
*/
|
|
136
136
|
async listSkus(request, options) {
|
|
137
137
|
return unwrapAsync(catalogListSkus(this, request, options));
|
package/esm/sdk/common.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export declare class Common extends ClientSDK {
|
|
|
7
7
|
* @remarks
|
|
8
8
|
* Retrieve pincodes
|
|
9
9
|
*
|
|
10
|
-
* @see {@link https://llm-docs.commercengine.io/operations/list-country-pincodes} - API reference for the list-country-pincodes operation
|
|
10
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/list-country-pincodes} - API reference for the list-country-pincodes operation
|
|
11
11
|
*/
|
|
12
12
|
listCountryPincodes(request: operations.ListCountryPincodesRequest, options?: RequestOptions): Promise<operations.ListCountryPincodesResponseBody>;
|
|
13
13
|
}
|
package/esm/sdk/common.js
CHANGED
|
@@ -11,7 +11,7 @@ export class Common extends ClientSDK {
|
|
|
11
11
|
* @remarks
|
|
12
12
|
* Retrieve pincodes
|
|
13
13
|
*
|
|
14
|
-
* @see {@link https://llm-docs.commercengine.io/operations/list-country-pincodes} - API reference for the list-country-pincodes operation
|
|
14
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/list-country-pincodes} - API reference for the list-country-pincodes operation
|
|
15
15
|
*/
|
|
16
16
|
async listCountryPincodes(request, options) {
|
|
17
17
|
return unwrapAsync(commonListCountryPincodes(this, request, options));
|
package/esm/sdk/customers.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export declare class Customers extends ClientSDK {
|
|
|
7
7
|
* @remarks
|
|
8
8
|
* Retrieve billing and shipping address of particular customer
|
|
9
9
|
*
|
|
10
|
-
* @see {@link https://llm-docs.commercengine.io/operations/list-addresses} - API reference for the list-addresses operation
|
|
10
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/list-addresses} - API reference for the list-addresses operation
|
|
11
11
|
*/
|
|
12
12
|
listAddresses(request: operations.ListAddressesRequest, options?: RequestOptions): Promise<operations.ListAddressesResponseBody>;
|
|
13
13
|
/**
|
|
@@ -16,7 +16,7 @@ export declare class Customers extends ClientSDK {
|
|
|
16
16
|
* @remarks
|
|
17
17
|
* Add new address
|
|
18
18
|
*
|
|
19
|
-
* @see {@link https://llm-docs.commercengine.io/operations/create-address} - API reference for the create-address operation
|
|
19
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/create-address} - API reference for the create-address operation
|
|
20
20
|
*/
|
|
21
21
|
createAddress(request: operations.CreateAddressRequest, options?: RequestOptions): Promise<operations.CreateAddressResponseBody>;
|
|
22
22
|
/**
|
|
@@ -25,7 +25,7 @@ export declare class Customers extends ClientSDK {
|
|
|
25
25
|
* @remarks
|
|
26
26
|
* Retrieve address
|
|
27
27
|
*
|
|
28
|
-
* @see {@link https://llm-docs.commercengine.io/operations/get-address-detail} - API reference for the get-address-detail operation
|
|
28
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/get-address-detail} - API reference for the get-address-detail operation
|
|
29
29
|
*/
|
|
30
30
|
getAddressDetail(request: operations.GetAddressDetailRequest, options?: RequestOptions): Promise<operations.GetAddressDetailResponseBody>;
|
|
31
31
|
/**
|
|
@@ -34,7 +34,7 @@ export declare class Customers extends ClientSDK {
|
|
|
34
34
|
* @remarks
|
|
35
35
|
* Update address
|
|
36
36
|
*
|
|
37
|
-
* @see {@link https://llm-docs.commercengine.io/operations/update-address-detail} - API reference for the update-address-detail operation
|
|
37
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/update-address-detail} - API reference for the update-address-detail operation
|
|
38
38
|
*/
|
|
39
39
|
updateAddressDetail(request: operations.UpdateAddressDetailRequest, options?: RequestOptions): Promise<operations.UpdateAddressDetailResponseBody>;
|
|
40
40
|
/**
|
|
@@ -43,7 +43,7 @@ export declare class Customers extends ClientSDK {
|
|
|
43
43
|
* @remarks
|
|
44
44
|
* Delete address
|
|
45
45
|
*
|
|
46
|
-
* @see {@link https://llm-docs.commercengine.io/operations/delete-address} - API reference for the delete-address operation
|
|
46
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/delete-address} - API reference for the delete-address operation
|
|
47
47
|
*/
|
|
48
48
|
deleteAddress(request: operations.DeleteAddressRequest, options?: RequestOptions): Promise<operations.DeleteAddressResponseBody>;
|
|
49
49
|
/**
|
|
@@ -52,7 +52,7 @@ export declare class Customers extends ClientSDK {
|
|
|
52
52
|
* @remarks
|
|
53
53
|
* Retrieve loyalty details
|
|
54
54
|
*
|
|
55
|
-
* @see {@link https://llm-docs.commercengine.io/operations/get-loyalty-details} - API reference for the get-loyalty-details operation
|
|
55
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/get-loyalty-details} - API reference for the get-loyalty-details operation
|
|
56
56
|
*/
|
|
57
57
|
getLoyaltyDetails(request: operations.GetLoyaltyDetailsRequest, options?: RequestOptions): Promise<operations.GetLoyaltyDetailsResponseBody>;
|
|
58
58
|
/**
|
|
@@ -61,7 +61,7 @@ export declare class Customers extends ClientSDK {
|
|
|
61
61
|
* @remarks
|
|
62
62
|
* Retrieve all reviews
|
|
63
63
|
*
|
|
64
|
-
* @see {@link https://llm-docs.commercengine.io/operations/list-user-reviews} - API reference for the list-user-reviews operation
|
|
64
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/list-user-reviews} - API reference for the list-user-reviews operation
|
|
65
65
|
*/
|
|
66
66
|
listUserReviews(request: operations.ListUserReviewsRequest, options?: RequestOptions): Promise<operations.ListUserReviewsResponseBody>;
|
|
67
67
|
}
|
package/esm/sdk/customers.js
CHANGED
|
@@ -17,7 +17,7 @@ export class Customers extends ClientSDK {
|
|
|
17
17
|
* @remarks
|
|
18
18
|
* Retrieve billing and shipping address of particular customer
|
|
19
19
|
*
|
|
20
|
-
* @see {@link https://llm-docs.commercengine.io/operations/list-addresses} - API reference for the list-addresses operation
|
|
20
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/list-addresses} - API reference for the list-addresses operation
|
|
21
21
|
*/
|
|
22
22
|
async listAddresses(request, options) {
|
|
23
23
|
return unwrapAsync(customersListAddresses(this, request, options));
|
|
@@ -28,7 +28,7 @@ export class Customers extends ClientSDK {
|
|
|
28
28
|
* @remarks
|
|
29
29
|
* Add new address
|
|
30
30
|
*
|
|
31
|
-
* @see {@link https://llm-docs.commercengine.io/operations/create-address} - API reference for the create-address operation
|
|
31
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/create-address} - API reference for the create-address operation
|
|
32
32
|
*/
|
|
33
33
|
async createAddress(request, options) {
|
|
34
34
|
return unwrapAsync(customersCreateAddress(this, request, options));
|
|
@@ -39,7 +39,7 @@ export class Customers extends ClientSDK {
|
|
|
39
39
|
* @remarks
|
|
40
40
|
* Retrieve address
|
|
41
41
|
*
|
|
42
|
-
* @see {@link https://llm-docs.commercengine.io/operations/get-address-detail} - API reference for the get-address-detail operation
|
|
42
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/get-address-detail} - API reference for the get-address-detail operation
|
|
43
43
|
*/
|
|
44
44
|
async getAddressDetail(request, options) {
|
|
45
45
|
return unwrapAsync(customersGetAddressDetail(this, request, options));
|
|
@@ -50,7 +50,7 @@ export class Customers extends ClientSDK {
|
|
|
50
50
|
* @remarks
|
|
51
51
|
* Update address
|
|
52
52
|
*
|
|
53
|
-
* @see {@link https://llm-docs.commercengine.io/operations/update-address-detail} - API reference for the update-address-detail operation
|
|
53
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/update-address-detail} - API reference for the update-address-detail operation
|
|
54
54
|
*/
|
|
55
55
|
async updateAddressDetail(request, options) {
|
|
56
56
|
return unwrapAsync(customersUpdateAddressDetail(this, request, options));
|
|
@@ -61,7 +61,7 @@ export class Customers extends ClientSDK {
|
|
|
61
61
|
* @remarks
|
|
62
62
|
* Delete address
|
|
63
63
|
*
|
|
64
|
-
* @see {@link https://llm-docs.commercengine.io/operations/delete-address} - API reference for the delete-address operation
|
|
64
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/delete-address} - API reference for the delete-address operation
|
|
65
65
|
*/
|
|
66
66
|
async deleteAddress(request, options) {
|
|
67
67
|
return unwrapAsync(customersDeleteAddress(this, request, options));
|
|
@@ -72,7 +72,7 @@ export class Customers extends ClientSDK {
|
|
|
72
72
|
* @remarks
|
|
73
73
|
* Retrieve loyalty details
|
|
74
74
|
*
|
|
75
|
-
* @see {@link https://llm-docs.commercengine.io/operations/get-loyalty-details} - API reference for the get-loyalty-details operation
|
|
75
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/get-loyalty-details} - API reference for the get-loyalty-details operation
|
|
76
76
|
*/
|
|
77
77
|
async getLoyaltyDetails(request, options) {
|
|
78
78
|
return unwrapAsync(customersGetLoyaltyDetails(this, request, options));
|
|
@@ -83,7 +83,7 @@ export class Customers extends ClientSDK {
|
|
|
83
83
|
* @remarks
|
|
84
84
|
* Retrieve all reviews
|
|
85
85
|
*
|
|
86
|
-
* @see {@link https://llm-docs.commercengine.io/operations/list-user-reviews} - API reference for the list-user-reviews operation
|
|
86
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/list-user-reviews} - API reference for the list-user-reviews operation
|
|
87
87
|
*/
|
|
88
88
|
async listUserReviews(request, options) {
|
|
89
89
|
return unwrapAsync(customersListUserReviews(this, request, options));
|
package/esm/sdk/orders.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export declare class Orders extends ClientSDK {
|
|
|
7
7
|
* @remarks
|
|
8
8
|
* Create new order
|
|
9
9
|
*
|
|
10
|
-
* @see {@link https://llm-docs.commercengine.io/operations/create-order} - API reference for the create-order operation
|
|
10
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/create-order} - API reference for the create-order operation
|
|
11
11
|
*/
|
|
12
12
|
createOrder(request: operations.CreateOrderRequestBody, options?: RequestOptions): Promise<operations.CreateOrderResponseBody>;
|
|
13
13
|
/**
|
|
@@ -16,7 +16,7 @@ export declare class Orders extends ClientSDK {
|
|
|
16
16
|
* @remarks
|
|
17
17
|
* list customers all orders
|
|
18
18
|
*
|
|
19
|
-
* @see {@link https://llm-docs.commercengine.io/operations/list-orders} - API reference for the list-orders operation
|
|
19
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/list-orders} - API reference for the list-orders operation
|
|
20
20
|
*/
|
|
21
21
|
listOrders(request: operations.ListOrdersRequest, options?: RequestOptions): Promise<operations.ListOrdersResponseBody>;
|
|
22
22
|
/**
|
|
@@ -25,7 +25,7 @@ export declare class Orders extends ClientSDK {
|
|
|
25
25
|
* @remarks
|
|
26
26
|
* view particular order details
|
|
27
27
|
*
|
|
28
|
-
* @see {@link https://llm-docs.commercengine.io/operations/get-order-detail} - API reference for the get-order-detail operation
|
|
28
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/get-order-detail} - API reference for the get-order-detail operation
|
|
29
29
|
*/
|
|
30
30
|
getOrderDetail(request: operations.GetOrderDetailRequest, options?: RequestOptions): Promise<operations.GetOrderDetailResponseBody>;
|
|
31
31
|
/**
|
|
@@ -34,7 +34,7 @@ export declare class Orders extends ClientSDK {
|
|
|
34
34
|
* @remarks
|
|
35
35
|
* Order cancellation
|
|
36
36
|
*
|
|
37
|
-
* @see {@link https://llm-docs.commercengine.io/operations/cancel-order} - API reference for the cancel-order operation
|
|
37
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/cancel-order} - API reference for the cancel-order operation
|
|
38
38
|
*/
|
|
39
39
|
cancelOrder(request: operations.CancelOrderRequest, options?: RequestOptions): Promise<operations.CancelOrderResponseBody>;
|
|
40
40
|
/**
|
|
@@ -43,7 +43,7 @@ export declare class Orders extends ClientSDK {
|
|
|
43
43
|
* @remarks
|
|
44
44
|
* Retrieve payment status of a paricular order.
|
|
45
45
|
*
|
|
46
|
-
* @see {@link https://llm-docs.commercengine.io/operations/get-payment-status} - API reference for the get-payment-status operation
|
|
46
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/get-payment-status} - API reference for the get-payment-status operation
|
|
47
47
|
*/
|
|
48
48
|
getPaymentStatus(request: operations.GetPaymentStatusRequest, options?: RequestOptions): Promise<operations.GetPaymentStatusResponseBody>;
|
|
49
49
|
/**
|
|
@@ -52,7 +52,7 @@ export declare class Orders extends ClientSDK {
|
|
|
52
52
|
* @remarks
|
|
53
53
|
* To generate new payment request if first payment request is failed or expired. Retry payment request can be made after 15 mins of last request or immediately after last payment request is marked as failed.
|
|
54
54
|
*
|
|
55
|
-
* @see {@link https://llm-docs.commercengine.io/operations/retry-order-payment} - API reference for the retry-order-payment operation
|
|
55
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/retry-order-payment} - API reference for the retry-order-payment operation
|
|
56
56
|
*/
|
|
57
57
|
retryOrderPayment(request: operations.RetryOrderPaymentRequest, options?: RequestOptions): Promise<operations.RetryOrderPaymentResponseBody>;
|
|
58
58
|
/**
|
|
@@ -61,7 +61,7 @@ export declare class Orders extends ClientSDK {
|
|
|
61
61
|
* @remarks
|
|
62
62
|
* Retrieve order shipments
|
|
63
63
|
*
|
|
64
|
-
* @see {@link https://llm-docs.commercengine.io/operations/list-order-shipments} - API reference for the list-order-shipments operation
|
|
64
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/list-order-shipments} - API reference for the list-order-shipments operation
|
|
65
65
|
*/
|
|
66
66
|
listOrderShipments(request: operations.ListOrderShipmentsRequest, options?: RequestOptions): Promise<operations.ListOrderShipmentsResponseBody>;
|
|
67
67
|
}
|
package/esm/sdk/orders.js
CHANGED
|
@@ -17,7 +17,7 @@ export class Orders extends ClientSDK {
|
|
|
17
17
|
* @remarks
|
|
18
18
|
* Create new order
|
|
19
19
|
*
|
|
20
|
-
* @see {@link https://llm-docs.commercengine.io/operations/create-order} - API reference for the create-order operation
|
|
20
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/create-order} - API reference for the create-order operation
|
|
21
21
|
*/
|
|
22
22
|
async createOrder(request, options) {
|
|
23
23
|
return unwrapAsync(ordersCreateOrder(this, request, options));
|
|
@@ -28,7 +28,7 @@ export class Orders extends ClientSDK {
|
|
|
28
28
|
* @remarks
|
|
29
29
|
* list customers all orders
|
|
30
30
|
*
|
|
31
|
-
* @see {@link https://llm-docs.commercengine.io/operations/list-orders} - API reference for the list-orders operation
|
|
31
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/list-orders} - API reference for the list-orders operation
|
|
32
32
|
*/
|
|
33
33
|
async listOrders(request, options) {
|
|
34
34
|
return unwrapAsync(ordersListOrders(this, request, options));
|
|
@@ -39,7 +39,7 @@ export class Orders extends ClientSDK {
|
|
|
39
39
|
* @remarks
|
|
40
40
|
* view particular order details
|
|
41
41
|
*
|
|
42
|
-
* @see {@link https://llm-docs.commercengine.io/operations/get-order-detail} - API reference for the get-order-detail operation
|
|
42
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/get-order-detail} - API reference for the get-order-detail operation
|
|
43
43
|
*/
|
|
44
44
|
async getOrderDetail(request, options) {
|
|
45
45
|
return unwrapAsync(ordersGetOrderDetail(this, request, options));
|
|
@@ -50,7 +50,7 @@ export class Orders extends ClientSDK {
|
|
|
50
50
|
* @remarks
|
|
51
51
|
* Order cancellation
|
|
52
52
|
*
|
|
53
|
-
* @see {@link https://llm-docs.commercengine.io/operations/cancel-order} - API reference for the cancel-order operation
|
|
53
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/cancel-order} - API reference for the cancel-order operation
|
|
54
54
|
*/
|
|
55
55
|
async cancelOrder(request, options) {
|
|
56
56
|
return unwrapAsync(ordersCancelOrder(this, request, options));
|
|
@@ -61,7 +61,7 @@ export class Orders extends ClientSDK {
|
|
|
61
61
|
* @remarks
|
|
62
62
|
* Retrieve payment status of a paricular order.
|
|
63
63
|
*
|
|
64
|
-
* @see {@link https://llm-docs.commercengine.io/operations/get-payment-status} - API reference for the get-payment-status operation
|
|
64
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/get-payment-status} - API reference for the get-payment-status operation
|
|
65
65
|
*/
|
|
66
66
|
async getPaymentStatus(request, options) {
|
|
67
67
|
return unwrapAsync(ordersGetPaymentStatus(this, request, options));
|
|
@@ -72,7 +72,7 @@ export class Orders extends ClientSDK {
|
|
|
72
72
|
* @remarks
|
|
73
73
|
* To generate new payment request if first payment request is failed or expired. Retry payment request can be made after 15 mins of last request or immediately after last payment request is marked as failed.
|
|
74
74
|
*
|
|
75
|
-
* @see {@link https://llm-docs.commercengine.io/operations/retry-order-payment} - API reference for the retry-order-payment operation
|
|
75
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/retry-order-payment} - API reference for the retry-order-payment operation
|
|
76
76
|
*/
|
|
77
77
|
async retryOrderPayment(request, options) {
|
|
78
78
|
return unwrapAsync(ordersRetryOrderPayment(this, request, options));
|
|
@@ -83,7 +83,7 @@ export class Orders extends ClientSDK {
|
|
|
83
83
|
* @remarks
|
|
84
84
|
* Retrieve order shipments
|
|
85
85
|
*
|
|
86
|
-
* @see {@link https://llm-docs.commercengine.io/operations/list-order-shipments} - API reference for the list-order-shipments operation
|
|
86
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/operations/list-order-shipments} - API reference for the list-order-shipments operation
|
|
87
87
|
*/
|
|
88
88
|
async listOrderShipments(request, options) {
|
|
89
89
|
return unwrapAsync(ordersListOrderShipments(this, request, options));
|