ce-storefront 0.15.21 → 0.15.22
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 -2
- package/docs/sdks/auth/README.md +10 -10
- package/docs/sdks/carts/README.md +13 -13
- package/docs/sdks/catalog/README.md +11 -11
- package/docs/sdks/cestorefront/README.md +1 -1
- package/docs/sdks/common/README.md +1 -1
- package/docs/sdks/customers/README.md +7 -7
- package/docs/sdks/orders/README.md +7 -8
- 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/cartsAddShippingMethod.d.ts +1 -1
- package/esm/funcs/cartsAddShippingMethod.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 +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 +2 -2
- package/esm/funcs/ordersGetPaymentStatus.d.ts.map +1 -1
- package/esm/funcs/ordersGetPaymentStatus.js +3 -3
- package/esm/funcs/ordersGetPaymentStatus.js.map +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 +3 -3
- package/esm/lib/config.js +3 -3
- 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 +1 -1
- 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/fulfillmentpreference.d.ts +2 -2
- package/esm/models/components/fulfillmentpreference.js +1 -1
- package/esm/models/components/generateotpwithemail.d.ts +1 -1
- package/esm/models/components/generateotpwithphone.d.ts +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/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/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/listaddresses.d.ts +1 -1
- package/esm/models/operations/updateaddressdetail.d.ts +1 -1
- package/esm/sdk/auth.d.ts +10 -10
- package/esm/sdk/auth.js +10 -10
- package/esm/sdk/carts.d.ts +13 -13
- package/esm/sdk/carts.js +13 -13
- 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/authGetAnonymousToken.example.ts +1 -1
- 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/cartsAddShippingMethod.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 +1 -1
- 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 +2 -6
- 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 +3 -3
- 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 +1 -1
- 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/fulfillmentpreference.ts +2 -2
- package/src/models/components/generateotpwithemail.ts +1 -1
- package/src/models/components/generateotpwithphone.ts +1 -1
- 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/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/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/listaddresses.ts +1 -1
- package/src/models/operations/updateaddressdetail.ts +1 -1
- package/src/sdk/auth.ts +10 -10
- package/src/sdk/carts.ts +13 -13
- 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
|
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* @remarks
|
|
32
32
|
* Retrieve cart detail using user id
|
|
33
33
|
*
|
|
34
|
-
* @see {@link https://
|
|
34
|
+
* @see {@link https://llm-docs.commercengine.io/operations/get-user-cart} - API reference for the get-user-cart operation
|
|
35
35
|
*/
|
|
36
36
|
export function cartsGetUserCart(
|
|
37
37
|
client: CeStorefrontCore,
|
|
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* @remarks
|
|
32
32
|
* Redeem loyalty points
|
|
33
33
|
*
|
|
34
|
-
* @see {@link https://
|
|
34
|
+
* @see {@link https://llm-docs.commercengine.io/operations/redeem-loyalty-points} - API reference for the redeem-loyalty-points operation
|
|
35
35
|
*/
|
|
36
36
|
export function cartsRedeemLoyaltyPoints(
|
|
37
37
|
client: CeStorefrontCore,
|
|
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* @remarks
|
|
32
32
|
* remove coupon from cart
|
|
33
33
|
*
|
|
34
|
-
* @see {@link https://
|
|
34
|
+
* @see {@link https://llm-docs.commercengine.io/operations/remove-coupon} - API reference for the remove-coupon operation
|
|
35
35
|
*/
|
|
36
36
|
export function cartsRemoveCoupon(
|
|
37
37
|
client: CeStorefrontCore,
|
|
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* @remarks
|
|
32
32
|
* Remove loyalty points applied in cart
|
|
33
33
|
*
|
|
34
|
-
* @see {@link https://
|
|
34
|
+
* @see {@link https://llm-docs.commercengine.io/operations/remove-loyalty-points} - API reference for the remove-loyalty-points operation
|
|
35
35
|
*/
|
|
36
36
|
export function cartsRemoveLoyaltyPoints(
|
|
37
37
|
client: CeStorefrontCore,
|
|
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* @remarks
|
|
32
32
|
* delete all items from the cart using user id.
|
|
33
33
|
*
|
|
34
|
-
* @see {@link https://
|
|
34
|
+
* @see {@link https://llm-docs.commercengine.io/operations/delete-user-cart} - API reference for the delete-user-cart operation
|
|
35
35
|
*/
|
|
36
36
|
export function cartsRemoveUserCart(
|
|
37
37
|
client: CeStorefrontCore,
|
|
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* @remarks
|
|
32
32
|
* Add Item to cart. To delete item from cart, pass quantity = 0
|
|
33
33
|
*
|
|
34
|
-
* @see {@link https://
|
|
34
|
+
* @see {@link https://llm-docs.commercengine.io/operations/update-cart} - API reference for the update-cart operation
|
|
35
35
|
*/
|
|
36
36
|
export function cartsUpdateCart(
|
|
37
37
|
client: CeStorefrontCore,
|
|
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* @remarks
|
|
32
32
|
* Update fulfillment preference
|
|
33
33
|
*
|
|
34
|
-
* @see {@link https://
|
|
34
|
+
* @see {@link https://llm-docs.commercengine.io/operations/update-fulfillment-preference} - API reference for the update-fulfillment-preference operation
|
|
35
35
|
*/
|
|
36
36
|
export function cartsUpdateFulfillmentPreference(
|
|
37
37
|
client: CeStorefrontCore,
|
|
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* @remarks
|
|
32
32
|
* 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.
|
|
33
33
|
*
|
|
34
|
-
* @see {@link https://
|
|
34
|
+
* @see {@link https://llm-docs.commercengine.io/operations/get-product-detail} - API reference for the get-product-detail operation
|
|
35
35
|
*/
|
|
36
36
|
export function catalogGetProductDetail(
|
|
37
37
|
client: CeStorefrontCore,
|
|
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* @remarks
|
|
32
32
|
* Retrieves the details of a particular variant. Supply the unique product ID, and variant ID.
|
|
33
33
|
*
|
|
34
|
-
* @see {@link https://
|
|
34
|
+
* @see {@link https://llm-docs.commercengine.io/operations/get-variant-detail} - API reference for the get-variant-detail operation
|
|
35
35
|
*/
|
|
36
36
|
export function catalogGetVariantDetail(
|
|
37
37
|
client: CeStorefrontCore,
|
|
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* @remarks
|
|
32
32
|
* Returns a list of your product categories. The categories are returned sorted by creation date, with the most recently created categories appearing first.
|
|
33
33
|
*
|
|
34
|
-
* @see {@link https://
|
|
34
|
+
* @see {@link https://llm-docs.commercengine.io/operations/list-categories} - API reference for the list-categories operation
|
|
35
35
|
*/
|
|
36
36
|
export function catalogListCategories(
|
|
37
37
|
client: CeStorefrontCore,
|
|
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* @remarks
|
|
32
32
|
* Retrieves a list of products specified for cross selling. The cross-sell products are returned based on product ids specified in request param.
|
|
33
33
|
*
|
|
34
|
-
* @see {@link https://
|
|
34
|
+
* @see {@link https://llm-docs.commercengine.io/operations/list-crosssell-products} - API reference for the list-crosssell-products operation
|
|
35
35
|
*/
|
|
36
36
|
export function catalogListCrosssellProducts(
|
|
37
37
|
client: CeStorefrontCore,
|
|
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* @remarks
|
|
32
32
|
* 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.
|
|
33
33
|
*
|
|
34
|
-
* @see {@link https://
|
|
34
|
+
* @see {@link https://llm-docs.commercengine.io/operations/list-product-reviews} - API reference for the list-product-reviews operation
|
|
35
35
|
*/
|
|
36
36
|
export function catalogListProductReviews(
|
|
37
37
|
client: CeStorefrontCore,
|
|
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* @remarks
|
|
32
32
|
* Retrieves the variants of an existing product. Supply the unique product ID, and Commerce Engine will return the corresponding product variants information.
|
|
33
33
|
*
|
|
34
|
-
* @see {@link https://
|
|
34
|
+
* @see {@link https://llm-docs.commercengine.io/operations/list-product-variants} - API reference for the list-product-variants operation
|
|
35
35
|
*/
|
|
36
36
|
export function catalogListProductVariants(
|
|
37
37
|
client: CeStorefrontCore,
|
|
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* @remarks
|
|
32
32
|
* Returns a list of your products. The products are returned sorted by creation date, with the most recently created products appearing first.
|
|
33
33
|
*
|
|
34
|
-
* @see {@link https://
|
|
34
|
+
* @see {@link https://llm-docs.commercengine.io/operations/list-products} - API reference for the list-products operation
|
|
35
35
|
*/
|
|
36
36
|
export function catalogListProducts(
|
|
37
37
|
client: CeStorefrontCore,
|
|
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* @remarks
|
|
32
32
|
* 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.
|
|
33
33
|
*
|
|
34
|
-
* @see {@link https://
|
|
34
|
+
* @see {@link https://llm-docs.commercengine.io/operations/list-similar-products} - API reference for the list-similar-products operation
|
|
35
35
|
*/
|
|
36
36
|
export function catalogListSimilarProducts(
|
|
37
37
|
client: CeStorefrontCore,
|
|
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* @remarks
|
|
32
32
|
* Returns a list of SKUs. The SKUs are returned sorted by creation date, with the most recently created SKUs appearing first.
|
|
33
33
|
*
|
|
34
|
-
* @see {@link https://
|
|
34
|
+
* @see {@link https://llm-docs.commercengine.io/operations/list-skus} - API reference for the list-skus operation
|
|
35
35
|
*/
|
|
36
36
|
export function catalogListSkus(
|
|
37
37
|
client: CeStorefrontCore,
|
|
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* @remarks
|
|
32
32
|
* Retrieves a list of products specified for upsell. The upsell products are returned based on product ids specified in request param.
|
|
33
33
|
*
|
|
34
|
-
* @see {@link https://
|
|
34
|
+
* @see {@link https://llm-docs.commercengine.io/operations/list-upsell-products} - API reference for the list-upsell-products operation
|
|
35
35
|
*/
|
|
36
36
|
export function catalogListUpsellProducts(
|
|
37
37
|
client: CeStorefrontCore,
|
|
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* @remarks
|
|
32
32
|
* Search for products matching a specific words or characters given.
|
|
33
33
|
*
|
|
34
|
-
* @see {@link https://
|
|
34
|
+
* @see {@link https://llm-docs.commercengine.io/operations/search-products} - API reference for the search-products operation
|
|
35
35
|
*/
|
|
36
36
|
export function catalogSearchProducts(
|
|
37
37
|
client: CeStorefrontCore,
|
|
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* @remarks
|
|
32
32
|
* Retrieve pincodes
|
|
33
33
|
*
|
|
34
|
-
* @see {@link https://
|
|
34
|
+
* @see {@link https://llm-docs.commercengine.io/operations/list-country-pincodes} - API reference for the list-country-pincodes operation
|
|
35
35
|
*/
|
|
36
36
|
export function commonListCountryPincodes(
|
|
37
37
|
client: CeStorefrontCore,
|
|
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* @remarks
|
|
32
32
|
* Add new address
|
|
33
33
|
*
|
|
34
|
-
* @see {@link https://
|
|
34
|
+
* @see {@link https://llm-docs.commercengine.io/operations/create-address} - API reference for the create-address operation
|
|
35
35
|
*/
|
|
36
36
|
export function customersCreateAddress(
|
|
37
37
|
client: CeStorefrontCore,
|
|
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* @remarks
|
|
32
32
|
* Delete address
|
|
33
33
|
*
|
|
34
|
-
* @see {@link https://
|
|
34
|
+
* @see {@link https://llm-docs.commercengine.io/operations/delete-address} - API reference for the delete-address operation
|
|
35
35
|
*/
|
|
36
36
|
export function customersDeleteAddress(
|
|
37
37
|
client: CeStorefrontCore,
|
|
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* @remarks
|
|
32
32
|
* Retrieve address
|
|
33
33
|
*
|
|
34
|
-
* @see {@link https://
|
|
34
|
+
* @see {@link https://llm-docs.commercengine.io/operations/get-address-detail} - API reference for the get-address-detail operation
|
|
35
35
|
*/
|
|
36
36
|
export function customersGetAddressDetail(
|
|
37
37
|
client: CeStorefrontCore,
|
|
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* @remarks
|
|
32
32
|
* Retrieve loyalty details
|
|
33
33
|
*
|
|
34
|
-
* @see {@link https://
|
|
34
|
+
* @see {@link https://llm-docs.commercengine.io/operations/get-loyalty-details} - API reference for the get-loyalty-details operation
|
|
35
35
|
*/
|
|
36
36
|
export function customersGetLoyaltyDetails(
|
|
37
37
|
client: CeStorefrontCore,
|
|
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* @remarks
|
|
32
32
|
* Retrieve billing and shipping address of particular customer
|
|
33
33
|
*
|
|
34
|
-
* @see {@link https://
|
|
34
|
+
* @see {@link https://llm-docs.commercengine.io/operations/list-addresses} - API reference for the list-addresses operation
|
|
35
35
|
*/
|
|
36
36
|
export function customersListAddresses(
|
|
37
37
|
client: CeStorefrontCore,
|
|
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* @remarks
|
|
32
32
|
* Retrieve all reviews
|
|
33
33
|
*
|
|
34
|
-
* @see {@link https://
|
|
34
|
+
* @see {@link https://llm-docs.commercengine.io/operations/list-user-reviews} - API reference for the list-user-reviews operation
|
|
35
35
|
*/
|
|
36
36
|
export function customersListUserReviews(
|
|
37
37
|
client: CeStorefrontCore,
|
|
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* @remarks
|
|
32
32
|
* Update address
|
|
33
33
|
*
|
|
34
|
-
* @see {@link https://
|
|
34
|
+
* @see {@link https://llm-docs.commercengine.io/operations/update-address-detail} - API reference for the update-address-detail operation
|
|
35
35
|
*/
|
|
36
36
|
export function customersUpdateAddressDetail(
|
|
37
37
|
client: CeStorefrontCore,
|
|
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* @remarks
|
|
32
32
|
* Order cancellation
|
|
33
33
|
*
|
|
34
|
-
* @see {@link https://
|
|
34
|
+
* @see {@link https://llm-docs.commercengine.io/operations/cancel-order} - API reference for the cancel-order operation
|
|
35
35
|
*/
|
|
36
36
|
export function ordersCancelOrder(
|
|
37
37
|
client: CeStorefrontCore,
|
|
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* @remarks
|
|
32
32
|
* Create new order
|
|
33
33
|
*
|
|
34
|
-
* @see {@link https://
|
|
34
|
+
* @see {@link https://llm-docs.commercengine.io/operations/create-order} - API reference for the create-order operation
|
|
35
35
|
*/
|
|
36
36
|
export function ordersCreateOrder(
|
|
37
37
|
client: CeStorefrontCore,
|
|
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* @remarks
|
|
32
32
|
* view particular order details
|
|
33
33
|
*
|
|
34
|
-
* @see {@link https://
|
|
34
|
+
* @see {@link https://llm-docs.commercengine.io/operations/get-order-detail} - API reference for the get-order-detail operation
|
|
35
35
|
*/
|
|
36
36
|
export function ordersGetOrderDetail(
|
|
37
37
|
client: CeStorefrontCore,
|
|
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* @remarks
|
|
32
32
|
* Retrieve payment status of a paricular order.
|
|
33
33
|
*
|
|
34
|
-
* @see {@link https://
|
|
34
|
+
* @see {@link https://llm-docs.commercengine.io/operations/get-payment-status} - API reference for the get-payment-status operation
|
|
35
35
|
*/
|
|
36
36
|
export function ordersGetPaymentStatus(
|
|
37
37
|
client: CeStorefrontCore,
|
|
@@ -40,7 +40,6 @@ export function ordersGetPaymentStatus(
|
|
|
40
40
|
): APIPromise<
|
|
41
41
|
Result<
|
|
42
42
|
operations.GetPaymentStatusResponseBody,
|
|
43
|
-
| errors.BadRequest
|
|
44
43
|
| errors.Unauthorized
|
|
45
44
|
| errors.NotFound
|
|
46
45
|
| CeStorefrontError
|
|
@@ -68,7 +67,6 @@ async function $do(
|
|
|
68
67
|
[
|
|
69
68
|
Result<
|
|
70
69
|
operations.GetPaymentStatusResponseBody,
|
|
71
|
-
| errors.BadRequest
|
|
72
70
|
| errors.Unauthorized
|
|
73
71
|
| errors.NotFound
|
|
74
72
|
| CeStorefrontError
|
|
@@ -143,7 +141,7 @@ async function $do(
|
|
|
143
141
|
|
|
144
142
|
const doResult = await client._do(req, {
|
|
145
143
|
context,
|
|
146
|
-
errorCodes: ["
|
|
144
|
+
errorCodes: ["401", "404", "4XX", "5XX"],
|
|
147
145
|
retryConfig: context.retryConfig,
|
|
148
146
|
retryCodes: context.retryCodes,
|
|
149
147
|
});
|
|
@@ -158,7 +156,6 @@ async function $do(
|
|
|
158
156
|
|
|
159
157
|
const [result] = await M.match<
|
|
160
158
|
operations.GetPaymentStatusResponseBody,
|
|
161
|
-
| errors.BadRequest
|
|
162
159
|
| errors.Unauthorized
|
|
163
160
|
| errors.NotFound
|
|
164
161
|
| CeStorefrontError
|
|
@@ -171,7 +168,6 @@ async function $do(
|
|
|
171
168
|
| SDKValidationError
|
|
172
169
|
>(
|
|
173
170
|
M.json(200, operations.GetPaymentStatusResponseBody$inboundSchema),
|
|
174
|
-
M.jsonErr(400, errors.BadRequest$inboundSchema),
|
|
175
171
|
M.jsonErr(401, errors.Unauthorized$inboundSchema),
|
|
176
172
|
M.jsonErr(404, errors.NotFound$inboundSchema),
|
|
177
173
|
M.fail("4XX"),
|
|
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* @remarks
|
|
32
32
|
* Retrieve order shipments
|
|
33
33
|
*
|
|
34
|
-
* @see {@link https://
|
|
34
|
+
* @see {@link https://llm-docs.commercengine.io/operations/list-order-shipments} - API reference for the list-order-shipments operation
|
|
35
35
|
*/
|
|
36
36
|
export function ordersListOrderShipments(
|
|
37
37
|
client: CeStorefrontCore,
|
|
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* @remarks
|
|
31
31
|
* list customers all orders
|
|
32
32
|
*
|
|
33
|
-
* @see {@link https://
|
|
33
|
+
* @see {@link https://llm-docs.commercengine.io/operations/list-orders} - API reference for the list-orders operation
|
|
34
34
|
*/
|
|
35
35
|
export function ordersListOrders(
|
|
36
36
|
client: CeStorefrontCore,
|
|
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* @remarks
|
|
32
32
|
* 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.
|
|
33
33
|
*
|
|
34
|
-
* @see {@link https://
|
|
34
|
+
* @see {@link https://llm-docs.commercengine.io/operations/retry-order-payment} - API reference for the retry-order-payment operation
|
|
35
35
|
*/
|
|
36
36
|
export function ordersRetryOrderPayment(
|
|
37
37
|
client: CeStorefrontCore,
|
|
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* @remarks
|
|
32
32
|
* Checking if delivery is available to the entered pincode based on shipping zones.
|
|
33
33
|
*
|
|
34
|
-
* @see {@link https://
|
|
34
|
+
* @see {@link https://llm-docs.commercengine.io/operations/check-pincode-serviceability} - API reference for the check-pincode-serviceability operation
|
|
35
35
|
*/
|
|
36
36
|
export function shippingCheckServiceability(
|
|
37
37
|
client: CeStorefrontCore,
|
|
@@ -32,7 +32,7 @@ import { Result } from "../types/fp.js";
|
|
|
32
32
|
* @remarks
|
|
33
33
|
* This endpoint returns the available fulfillment options for a given cart and delivery pincode. It provides both delivery options and collect-in-store (Click & Collect) options, including details of store locations where the item can be collected.
|
|
34
34
|
*
|
|
35
|
-
* @see {@link https://
|
|
35
|
+
* @see {@link https://llm-docs.commercengine.io/operations/get-fulfillment-options} - API reference for the get-fulfillment-options operation
|
|
36
36
|
*/
|
|
37
37
|
export function shippingFulfillmentOptions(
|
|
38
38
|
client: CeStorefrontCore,
|
|
@@ -32,7 +32,7 @@ import { Result } from "../types/fp.js";
|
|
|
32
32
|
* @remarks
|
|
33
33
|
* Checks whether a given pincode is serviceable and returns all available shipping methods based on delivery address
|
|
34
34
|
*
|
|
35
|
-
* @see {@link https://
|
|
35
|
+
* @see {@link https://llm-docs.commercengine.io/operations/get-shipping-methods} - API reference for the get-shipping-methods operation
|
|
36
36
|
*/
|
|
37
37
|
export function shippingShippingMethods(
|
|
38
38
|
client: CeStorefrontCore,
|
package/src/lib/config.ts
CHANGED
|
@@ -80,7 +80,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
80
80
|
export const SDK_METADATA = {
|
|
81
81
|
language: "typescript",
|
|
82
82
|
openapiDocVersion: "1.0",
|
|
83
|
-
sdkVersion: "0.15.
|
|
84
|
-
genVersion: "2.
|
|
85
|
-
userAgent: "speakeasy-sdk/typescript 0.15.
|
|
83
|
+
sdkVersion: "0.15.22",
|
|
84
|
+
genVersion: "2.696.0",
|
|
85
|
+
userAgent: "speakeasy-sdk/typescript 0.15.22 2.696.0 1.0 ce-storefront",
|
|
86
86
|
} as const;
|
|
@@ -9,7 +9,7 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* @see {@link https://
|
|
12
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/AnonymousUser} - API reference for the AnonymousUser schema
|
|
13
13
|
*/
|
|
14
14
|
export type AnonymousUser = {
|
|
15
15
|
/**
|
|
@@ -23,7 +23,7 @@ export type CouponType = ClosedEnum<typeof CouponType>;
|
|
|
23
23
|
/**
|
|
24
24
|
* Details about an active coupon applied to a cart/order
|
|
25
25
|
*
|
|
26
|
-
* @see {@link https://
|
|
26
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/AppliedCoupon} - API reference for the AppliedCoupon schema
|
|
27
27
|
*/
|
|
28
28
|
export type AppliedCoupon = {
|
|
29
29
|
couponId: string;
|
|
@@ -21,7 +21,7 @@ export type PromotionType = ClosedEnum<typeof PromotionType>;
|
|
|
21
21
|
/**
|
|
22
22
|
* Details about an active promotion applied to a cart/order
|
|
23
23
|
*
|
|
24
|
-
* @see {@link https://
|
|
24
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/AppliedPromotion} - API reference for the AppliedPromotion schema
|
|
25
25
|
*/
|
|
26
26
|
export type AppliedPromotion = {
|
|
27
27
|
promotionId: string;
|
|
@@ -31,7 +31,7 @@ export type BankTransferPaymentStatus = ClosedEnum<
|
|
|
31
31
|
/**
|
|
32
32
|
* Bank transfer payment - IMPS, NEFT, RTGS
|
|
33
33
|
*
|
|
34
|
-
* @see {@link https://
|
|
34
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/BankTransfer} - API reference for the BankTransfer schema
|
|
35
35
|
*/
|
|
36
36
|
export type BankTransfer = {
|
|
37
37
|
transactionType?: BankTransferTransactionType | undefined;
|
|
@@ -10,7 +10,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
10
10
|
/**
|
|
11
11
|
* Attribute for boolean values
|
|
12
12
|
*
|
|
13
|
-
* @see {@link https://
|
|
13
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/BooleanAttribute} - API reference for the BooleanAttribute schema
|
|
14
14
|
*/
|
|
15
15
|
export type BooleanAttribute = {
|
|
16
16
|
id: string;
|
|
@@ -37,7 +37,7 @@ export type CardType = ClosedEnum<typeof CardType>;
|
|
|
37
37
|
/**
|
|
38
38
|
* Payments using credit card, debit card
|
|
39
39
|
*
|
|
40
|
-
* @see {@link https://
|
|
40
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/CardPayment} - API reference for the CardPayment schema
|
|
41
41
|
*/
|
|
42
42
|
export type CardPayment = {
|
|
43
43
|
transactionType?: TransactionType | undefined;
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
/**
|
|
42
42
|
* 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.
|
|
43
43
|
*
|
|
44
|
-
* @see {@link https://
|
|
44
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/Cart} - API reference for the Cart schema
|
|
45
45
|
*/
|
|
46
46
|
export type Cart = {
|
|
47
47
|
/**
|
|
@@ -9,7 +9,7 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* @see {@link https://
|
|
12
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/CartBasedServiceabilityCheck} - API reference for the CartBasedServiceabilityCheck schema
|
|
13
13
|
*/
|
|
14
14
|
export type CartBasedServiceabilityCheck = {
|
|
15
15
|
deliveryPincode: string;
|
|
@@ -37,7 +37,7 @@ export type ProductType = ClosedEnum<typeof ProductType>;
|
|
|
37
37
|
/**
|
|
38
38
|
* This Cart Item model captures the attributes of a cart item, including product details, pricing information, subscription details, and other relevant information related to Cart Item.
|
|
39
39
|
*
|
|
40
|
-
* @see {@link https://
|
|
40
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/CartItem} - API reference for the CartItem schema
|
|
41
41
|
*/
|
|
42
42
|
export type CartItem = {
|
|
43
43
|
/**
|
|
@@ -9,7 +9,7 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* @see {@link https://
|
|
12
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/Category} - API reference for the Category schema
|
|
13
13
|
*/
|
|
14
14
|
export type Category = {
|
|
15
15
|
id: string;
|
|
@@ -9,7 +9,7 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* @see {@link https://
|
|
12
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/CollectInStore} - API reference for the CollectInStore schema
|
|
13
13
|
*/
|
|
14
14
|
export type CollectInStore = {
|
|
15
15
|
id?: string | undefined;
|
|
@@ -9,7 +9,7 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* @see {@link https://
|
|
12
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/CollectInStoreFulfillment} - API reference for the CollectInStoreFulfillment schema
|
|
13
13
|
*/
|
|
14
14
|
export type CollectInStoreFulfillment = {
|
|
15
15
|
fulfillmentType?: "collect-in-store" | undefined;
|
|
@@ -18,7 +18,7 @@ export type ColorAttributeValue = {
|
|
|
18
18
|
/**
|
|
19
19
|
* Attribute for colors
|
|
20
20
|
*
|
|
21
|
-
* @see {@link https://
|
|
21
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/ColorAttribute} - API reference for the ColorAttribute schema
|
|
22
22
|
*/
|
|
23
23
|
export type ColorAttribute = {
|
|
24
24
|
id: string;
|
|
@@ -19,7 +19,7 @@ export type Value = {
|
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* @see {@link https://
|
|
22
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/ColorOption} - API reference for the ColorOption schema
|
|
23
23
|
*/
|
|
24
24
|
export type ColorOption = {
|
|
25
25
|
/**
|
|
@@ -8,7 +8,7 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
8
8
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
|
-
* @see {@link https://
|
|
11
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/Currency} - API reference for the Currency schema
|
|
12
12
|
*/
|
|
13
13
|
export type Currency = {
|
|
14
14
|
name: string;
|
|
@@ -9,7 +9,7 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* @see {@link https://
|
|
12
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/CustomerAddress} - API reference for the CustomerAddress schema
|
|
13
13
|
*/
|
|
14
14
|
export type CustomerAddress = {
|
|
15
15
|
/**
|
|
@@ -9,7 +9,7 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* @see {@link https://
|
|
12
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/CustomerAddress} - API reference for the CustomerAddress schema
|
|
13
13
|
*/
|
|
14
14
|
export type CustomerAddressInput = {
|
|
15
15
|
/**
|
|
@@ -9,7 +9,7 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* @see {@link https://
|
|
12
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/CustomerLoyalty} - API reference for the CustomerLoyalty schema
|
|
13
13
|
*/
|
|
14
14
|
export type CustomerLoyalty = {
|
|
15
15
|
membershipNumber?: string | null | undefined;
|