ce-storefront 0.15.21 → 0.15.23
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
|
@@ -11,7 +11,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
11
11
|
/**
|
|
12
12
|
* List of products and orders for which customer can write review.
|
|
13
13
|
*
|
|
14
|
-
* @see {@link https://
|
|
14
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/CustomerReadyForReview} - API reference for the CustomerReadyForReview schema
|
|
15
15
|
*/
|
|
16
16
|
export type CustomerReadyForReview = {
|
|
17
17
|
productId?: string | undefined;
|
|
@@ -30,7 +30,7 @@ export type CustomerReviewVideos = {
|
|
|
30
30
|
/**
|
|
31
31
|
* List of reviews posted by the user.
|
|
32
32
|
*
|
|
33
|
-
* @see {@link https://
|
|
33
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/CustomerReview} - API reference for the CustomerReview schema
|
|
34
34
|
*/
|
|
35
35
|
export type CustomerReview = {
|
|
36
36
|
id?: string | undefined;
|
|
@@ -10,7 +10,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
10
10
|
/**
|
|
11
11
|
* Attribute for date values
|
|
12
12
|
*
|
|
13
|
-
* @see {@link https://
|
|
13
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/DateAttribute} - API reference for the DateAttribute schema
|
|
14
14
|
*/
|
|
15
15
|
export type DateAttribute = {
|
|
16
16
|
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/DeliveryFulfillment} - API reference for the DeliveryFulfillment schema
|
|
13
13
|
*/
|
|
14
14
|
export type DeliveryFulfillment = {
|
|
15
15
|
fulfillmentType?: "delivery" | undefined;
|
|
@@ -26,7 +26,7 @@ export const DiscountType = {
|
|
|
26
26
|
export type DiscountType = ClosedEnum<typeof DiscountType>;
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
|
-
* @see {@link https://
|
|
29
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/DiscountBasedPromotion} - API reference for the DiscountBasedPromotion schema
|
|
30
30
|
*/
|
|
31
31
|
export type DiscountBasedPromotion = {
|
|
32
32
|
promotionType?: "discount" | undefined;
|
|
@@ -20,7 +20,7 @@ export type FixedPricePromotionPromotionType = ClosedEnum<
|
|
|
20
20
|
>;
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
|
-
* @see {@link https://
|
|
23
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/FixedPricePromotion} - API reference for the FixedPricePromotion schema
|
|
24
24
|
*/
|
|
25
25
|
export type FixedPricePromotion = {
|
|
26
26
|
promotionType?: "fixed-price" | undefined;
|
|
@@ -20,7 +20,7 @@ export type FreeGoodsPromotionPromotionType = ClosedEnum<
|
|
|
20
20
|
>;
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
|
-
* @see {@link https://
|
|
23
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/FreeGoodsPromotion} - API reference for the FreeGoodsPromotion schema
|
|
24
24
|
*/
|
|
25
25
|
export type FreeGoodsPromotion = {
|
|
26
26
|
promotionType?: "free-goods" | undefined;
|
|
@@ -6,14 +6,14 @@ import * as z from "zod";
|
|
|
6
6
|
import { ClosedEnum } from "../../types/enums.js";
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* @see {@link https://
|
|
9
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/FulfillmentPreference} - API reference for the FulfillmentPreference schema
|
|
10
10
|
*/
|
|
11
11
|
export const FulfillmentPreference = {
|
|
12
12
|
CollectInStore: "collect-in-store",
|
|
13
13
|
Delivery: "delivery",
|
|
14
14
|
} as const;
|
|
15
15
|
/**
|
|
16
|
-
* @see {@link https://
|
|
16
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/FulfillmentPreference} - API reference for the FulfillmentPreference schema
|
|
17
17
|
*/
|
|
18
18
|
export type FulfillmentPreference = ClosedEnum<typeof FulfillmentPreference>;
|
|
19
19
|
|
|
@@ -20,7 +20,7 @@ export type GenerateOtpWithEmailOtpAction = ClosedEnum<
|
|
|
20
20
|
>;
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
|
-
* @see {@link https://
|
|
23
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/GenerateOtpWithEmail} - API reference for the GenerateOtpWithEmail schema
|
|
24
24
|
*/
|
|
25
25
|
export type GenerateOtpWithEmail = {
|
|
26
26
|
channel?: "email" | undefined;
|
|
@@ -24,7 +24,7 @@ export const OtpAction = {
|
|
|
24
24
|
export type OtpAction = ClosedEnum<typeof OtpAction>;
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
|
-
* @see {@link https://
|
|
27
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/GenerateOtpWithPhone} - API reference for the GenerateOtpWithPhone schema
|
|
28
28
|
*/
|
|
29
29
|
export type GenerateOtpWithPhone = {
|
|
30
30
|
channel: Channel;
|
|
@@ -59,7 +59,7 @@ export const ItemProductType = {
|
|
|
59
59
|
export type ItemProductType = ClosedEnum<typeof ItemProductType>;
|
|
60
60
|
|
|
61
61
|
/**
|
|
62
|
-
* @see {@link https://
|
|
62
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/Item} - API reference for the Item schema
|
|
63
63
|
*/
|
|
64
64
|
export type Item = {
|
|
65
65
|
productId: string;
|
|
@@ -34,7 +34,7 @@ export const IntegrationType = {
|
|
|
34
34
|
export type IntegrationType = ClosedEnum<typeof IntegrationType>;
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
|
-
* @see {@link https://
|
|
37
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/JuspayPaymentGatewayParams} - API reference for the JuspayPaymentGatewayParams schema
|
|
38
38
|
*/
|
|
39
39
|
export type JuspayPaymentGatewayParams = {
|
|
40
40
|
paymentGateway?: "JUSPAY" | undefined;
|
|
@@ -103,7 +103,7 @@ export type SDKPayload = {
|
|
|
103
103
|
};
|
|
104
104
|
|
|
105
105
|
/**
|
|
106
|
-
* @see {@link https://
|
|
106
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/JuspayPaymentInfo} - API reference for the JuspayPaymentInfo schema
|
|
107
107
|
*/
|
|
108
108
|
export type JuspayPaymentInfo = {
|
|
109
109
|
id?: string | undefined;
|
|
@@ -10,7 +10,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
10
10
|
/**
|
|
11
11
|
* Attribute for multi-select values
|
|
12
12
|
*
|
|
13
|
-
* @see {@link https://
|
|
13
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/MultiSelectAttribute} - API reference for the MultiSelectAttribute schema
|
|
14
14
|
*/
|
|
15
15
|
export type MultiSelectAttribute = {
|
|
16
16
|
id: string;
|
|
@@ -31,7 +31,7 @@ export type NetbankingPaymentPaymentStatus = ClosedEnum<
|
|
|
31
31
|
/**
|
|
32
32
|
* Payments using payment gateway netbanking option.
|
|
33
33
|
*
|
|
34
|
-
* @see {@link https://
|
|
34
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/NetbankingPayment} - API reference for the NetbankingPayment schema
|
|
35
35
|
*/
|
|
36
36
|
export type NetbankingPayment = {
|
|
37
37
|
transactionType?: NetbankingPaymentTransactionType | undefined;
|
|
@@ -10,7 +10,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
10
10
|
/**
|
|
11
11
|
* Set specific channel preferences
|
|
12
12
|
*
|
|
13
|
-
* @see {@link https://
|
|
13
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/NotificationChannelPreferences} - API reference for the NotificationChannelPreferences schema
|
|
14
14
|
*/
|
|
15
15
|
export type NotificationChannelPreferences = {
|
|
16
16
|
/**
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
/**
|
|
17
17
|
* Set channel preferences for each type of
|
|
18
18
|
*
|
|
19
|
-
* @see {@link https://
|
|
19
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/NotificationPreferences} - API reference for the NotificationPreferences schema
|
|
20
20
|
*/
|
|
21
21
|
export type NotificationPreferences = {
|
|
22
22
|
/**
|
|
@@ -10,7 +10,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
10
10
|
/**
|
|
11
11
|
* Attribute for numeric values
|
|
12
12
|
*
|
|
13
|
-
* @see {@link https://
|
|
13
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/NumberAttribute} - API reference for the NumberAttribute schema
|
|
14
14
|
*/
|
|
15
15
|
export type NumberAttribute = {
|
|
16
16
|
id: string;
|
|
@@ -105,7 +105,7 @@ export type CancellationRefundDetails = {
|
|
|
105
105
|
};
|
|
106
106
|
|
|
107
107
|
/**
|
|
108
|
-
* @see {@link https://
|
|
108
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/Order} - API reference for the Order schema
|
|
109
109
|
*/
|
|
110
110
|
export type Order = {
|
|
111
111
|
orderNumber?: string | undefined;
|
|
@@ -113,7 +113,7 @@ export type OrderDetailCancellationRefundDetails = {
|
|
|
113
113
|
};
|
|
114
114
|
|
|
115
115
|
/**
|
|
116
|
-
* @see {@link https://
|
|
116
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/OrderDetail} - API reference for the OrderDetail schema
|
|
117
117
|
*/
|
|
118
118
|
export type OrderDetail = {
|
|
119
119
|
orderNumber?: string | undefined;
|
|
@@ -29,7 +29,7 @@ export const OrderItemProductType = {
|
|
|
29
29
|
export type OrderItemProductType = ClosedEnum<typeof OrderItemProductType>;
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
|
-
* @see {@link https://
|
|
32
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/OrderItem} - API reference for the OrderItem schema
|
|
33
33
|
*/
|
|
34
34
|
export type OrderItem = {
|
|
35
35
|
productId: string;
|
|
@@ -62,7 +62,7 @@ export type OrderListCurrency = {
|
|
|
62
62
|
/**
|
|
63
63
|
* order list model
|
|
64
64
|
*
|
|
65
|
-
* @see {@link https://
|
|
65
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/OrderList} - API reference for the OrderList schema
|
|
66
66
|
*/
|
|
67
67
|
export type OrderList = {
|
|
68
68
|
/**
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
/**
|
|
41
41
|
* Order Payment
|
|
42
42
|
*
|
|
43
|
-
* @see {@link https://
|
|
43
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/OrderPayment} - API reference for the OrderPayment schema
|
|
44
44
|
*/
|
|
45
45
|
export type OrderPayment =
|
|
46
46
|
| CardPayment
|
|
@@ -34,7 +34,7 @@ export type OrderShipmentStatus = ClosedEnum<typeof OrderShipmentStatus>;
|
|
|
34
34
|
/**
|
|
35
35
|
* Order shipment model
|
|
36
36
|
*
|
|
37
|
-
* @see {@link https://
|
|
37
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/OrderShipment} - API reference for the OrderShipment schema
|
|
38
38
|
*/
|
|
39
39
|
export type OrderShipment = {
|
|
40
40
|
referenceNumber?: string | undefined;
|
|
@@ -11,7 +11,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
11
11
|
/**
|
|
12
12
|
* pagination metadata structure
|
|
13
13
|
*
|
|
14
|
-
* @see {@link https://
|
|
14
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/Pagination} - API reference for the Pagination schema
|
|
15
15
|
*/
|
|
16
16
|
export type Pagination = {
|
|
17
17
|
totalRecords: number;
|
|
@@ -6,14 +6,14 @@ import * as z from "zod";
|
|
|
6
6
|
import { ClosedEnum } from "../../types/enums.js";
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* @see {@link https://
|
|
9
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/PaymentGateway} - API reference for the PaymentGateway schema
|
|
10
10
|
*/
|
|
11
11
|
export const PaymentGateway = {
|
|
12
12
|
Payu: "PAYU",
|
|
13
13
|
Juspay: "JUSPAY",
|
|
14
14
|
} as const;
|
|
15
15
|
/**
|
|
16
|
-
* @see {@link https://
|
|
16
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/PaymentGateway} - API reference for the PaymentGateway schema
|
|
17
17
|
*/
|
|
18
18
|
export type PaymentGateway = ClosedEnum<typeof PaymentGateway>;
|
|
19
19
|
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
} from "./payupaymentgatewayparams.js";
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
|
-
* @see {@link https://
|
|
23
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/PaymentGatewayParams} - API reference for the PaymentGatewayParams schema
|
|
24
24
|
*/
|
|
25
25
|
export type PaymentGatewayParams =
|
|
26
26
|
| (JuspayPaymentGatewayParams & { paymentGateway: "JUSPAY" })
|
|
@@ -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/PayuPaymentGatewayParams} - API reference for the PayuPaymentGatewayParams schema
|
|
13
13
|
*/
|
|
14
14
|
export type PayuPaymentGatewayParams = {
|
|
15
15
|
paymentGateway?: "PAYU" | undefined;
|
|
@@ -44,7 +44,7 @@ export type SiDetails = {
|
|
|
44
44
|
};
|
|
45
45
|
|
|
46
46
|
/**
|
|
47
|
-
* @see {@link https://
|
|
47
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/PayuPaymentInfo} - API reference for the PayuPaymentInfo schema
|
|
48
48
|
*/
|
|
49
49
|
export type PayuPaymentInfo = {
|
|
50
50
|
key?: string | undefined;
|
|
@@ -11,7 +11,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
11
11
|
/**
|
|
12
12
|
* Pincode model
|
|
13
13
|
*
|
|
14
|
-
* @see {@link https://
|
|
14
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/Pincode} - API reference for the Pincode schema
|
|
15
15
|
*/
|
|
16
16
|
export type Pincode = {
|
|
17
17
|
pincode?: string | undefined;
|
|
@@ -50,7 +50,7 @@ export type ShippingMethods = {
|
|
|
50
50
|
};
|
|
51
51
|
|
|
52
52
|
/**
|
|
53
|
-
* @see {@link https://
|
|
53
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/PincodeServiceability} - API reference for the PincodeServiceability schema
|
|
54
54
|
*/
|
|
55
55
|
export type PincodeServiceability = {
|
|
56
56
|
isServiceable: boolean;
|
|
@@ -71,7 +71,7 @@ export const ProductProductType = {
|
|
|
71
71
|
export type ProductProductType = ClosedEnum<typeof ProductProductType>;
|
|
72
72
|
|
|
73
73
|
/**
|
|
74
|
-
* @see {@link https://
|
|
74
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/Product} - API reference for the Product schema
|
|
75
75
|
*/
|
|
76
76
|
export type Product = {
|
|
77
77
|
/**
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
} from "./textattribute.js";
|
|
51
51
|
|
|
52
52
|
/**
|
|
53
|
-
* @see {@link https://
|
|
53
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/ProductAttribute} - API reference for the ProductAttribute schema
|
|
54
54
|
*/
|
|
55
55
|
export type ProductAttribute =
|
|
56
56
|
| (ColorAttribute & { type: "color" })
|
|
@@ -61,7 +61,7 @@ export type ProductBundleItemProductType = ClosedEnum<
|
|
|
61
61
|
>;
|
|
62
62
|
|
|
63
63
|
/**
|
|
64
|
-
* @see {@link https://
|
|
64
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/Item} - API reference for the Item schema
|
|
65
65
|
*/
|
|
66
66
|
export type ProductBundleItem = {
|
|
67
67
|
quantity: number;
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./category.js";
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
* @see {@link https://
|
|
18
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/ProductCategory} - API reference for the ProductCategory schema
|
|
19
19
|
*/
|
|
20
20
|
export type ProductCategory = {
|
|
21
21
|
id: string;
|
|
@@ -91,7 +91,7 @@ export type ProductDetailProductType = ClosedEnum<
|
|
|
91
91
|
>;
|
|
92
92
|
|
|
93
93
|
/**
|
|
94
|
-
* @see {@link https://
|
|
94
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/ProductDetail} - API reference for the ProductDetail schema
|
|
95
95
|
*/
|
|
96
96
|
export type ProductDetail = {
|
|
97
97
|
/**
|
|
@@ -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/ProductImage} - API reference for the ProductImage schema
|
|
13
13
|
*/
|
|
14
14
|
export type ProductImage = {
|
|
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/ProductPricing} - API reference for the ProductPricing schema
|
|
13
13
|
*/
|
|
14
14
|
export type ProductPricing = {
|
|
15
15
|
currency: string;
|
|
@@ -39,7 +39,7 @@ export type Details =
|
|
|
39
39
|
| (VolumeBasedPromotion & { promotionType: "volume-based" });
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
|
-
* @see {@link https://
|
|
42
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/ProductPromotion} - API reference for the ProductPromotion schema
|
|
43
43
|
*/
|
|
44
44
|
export type ProductPromotion = {
|
|
45
45
|
id: string;
|
|
@@ -46,7 +46,7 @@ export type Videos = {
|
|
|
46
46
|
};
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
|
-
* @see {@link https://
|
|
49
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/ProductReview} - API reference for the ProductReview schema
|
|
50
50
|
*/
|
|
51
51
|
export type ProductReview = {
|
|
52
52
|
/**
|
|
@@ -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/ProductShipping} - API reference for the ProductShipping schema
|
|
13
13
|
*/
|
|
14
14
|
export type ProductShipping = {
|
|
15
15
|
handlingChargesIncludingTax: number;
|
|
@@ -24,7 +24,7 @@ export const OrderFrequency = {
|
|
|
24
24
|
export type OrderFrequency = ClosedEnum<typeof OrderFrequency>;
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
|
-
* @see {@link https://
|
|
27
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/ProductSubscription} - API reference for the ProductSubscription schema
|
|
28
28
|
*/
|
|
29
29
|
export type ProductSubscription = {
|
|
30
30
|
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/ProductVideo} - API reference for the ProductVideo schema
|
|
13
13
|
*/
|
|
14
14
|
export type ProductVideo = {
|
|
15
15
|
title: string | null;
|
|
@@ -10,7 +10,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
10
10
|
/**
|
|
11
11
|
* Payload for searching products.
|
|
12
12
|
*
|
|
13
|
-
* @see {@link https://
|
|
13
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/SearchProduct} - API reference for the SearchProduct schema
|
|
14
14
|
*/
|
|
15
15
|
export type SearchProduct = {
|
|
16
16
|
/**
|
|
@@ -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/Seo} - API reference for the Seo schema
|
|
12
12
|
*/
|
|
13
13
|
export type Seo = {
|
|
14
14
|
slug: string;
|
|
@@ -11,7 +11,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
11
11
|
/**
|
|
12
12
|
* Shipment item model
|
|
13
13
|
*
|
|
14
|
-
* @see {@link https://
|
|
14
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/ShipmentItem} - API reference for the ShipmentItem schema
|
|
15
15
|
*/
|
|
16
16
|
export type ShipmentItem = {
|
|
17
17
|
productId?: string | undefined;
|
|
@@ -10,7 +10,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
10
10
|
/**
|
|
11
11
|
* Attribute for single-select values
|
|
12
12
|
*
|
|
13
|
-
* @see {@link https://
|
|
13
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/SingleSelectAttribute} - API reference for the SingleSelectAttribute schema
|
|
14
14
|
*/
|
|
15
15
|
export type SingleSelectAttribute = {
|
|
16
16
|
id: string;
|
|
@@ -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/SingleSelectOption} - API reference for the SingleSelectOption schema
|
|
12
12
|
*/
|
|
13
13
|
export type SingleSelectOption = {
|
|
14
14
|
/**
|
|
@@ -10,7 +10,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
10
10
|
/**
|
|
11
11
|
* Attribute for text values
|
|
12
12
|
*
|
|
13
|
-
* @see {@link https://
|
|
13
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/TextAttribute} - API reference for the TextAttribute schema
|
|
14
14
|
*/
|
|
15
15
|
export type TextAttribute = {
|
|
16
16
|
id: string;
|
|
@@ -11,7 +11,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
11
11
|
/**
|
|
12
12
|
* Schema for updating a cart item, including adding, removing, or adjusting the quantity of a product or variant.
|
|
13
13
|
*
|
|
14
|
-
* @see {@link https://
|
|
14
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/UpdateCartItem} - API reference for the UpdateCartItem schema
|
|
15
15
|
*/
|
|
16
16
|
export type UpdateCartItem = {
|
|
17
17
|
/**
|
|
@@ -31,7 +31,7 @@ export type UpiPaymentPaymentStatus = ClosedEnum<
|
|
|
31
31
|
/**
|
|
32
32
|
* UPI Payment
|
|
33
33
|
*
|
|
34
|
-
* @see {@link https://
|
|
34
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/UpiPayment} - API reference for the UpiPayment schema
|
|
35
35
|
*/
|
|
36
36
|
export type UpiPayment = {
|
|
37
37
|
transactionType?: UpiPaymentTransactionType | undefined;
|
|
@@ -24,7 +24,7 @@ export const LoginMethods = {
|
|
|
24
24
|
export type LoginMethods = ClosedEnum<typeof LoginMethods>;
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
|
-
* @see {@link https://
|
|
27
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/User} - API reference for the User schema
|
|
28
28
|
*/
|
|
29
29
|
export type User = {
|
|
30
30
|
/**
|
|
@@ -90,7 +90,7 @@ export type User = {
|
|
|
90
90
|
};
|
|
91
91
|
|
|
92
92
|
/**
|
|
93
|
-
* @see {@link https://
|
|
93
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/User} - API reference for the User schema
|
|
94
94
|
*/
|
|
95
95
|
export type UserInput = {
|
|
96
96
|
/**
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
} from "./productsubscription.js";
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
|
-
* @see {@link https://
|
|
42
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/Variant} - API reference for the Variant schema
|
|
43
43
|
*/
|
|
44
44
|
export type Variant = {
|
|
45
45
|
/**
|
|
@@ -79,7 +79,7 @@ export type VariantDetailProductType = ClosedEnum<
|
|
|
79
79
|
>;
|
|
80
80
|
|
|
81
81
|
/**
|
|
82
|
-
* @see {@link https://
|
|
82
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/VariantDetail} - API reference for the VariantDetail schema
|
|
83
83
|
*/
|
|
84
84
|
export type VariantDetail = {
|
|
85
85
|
/**
|
|
@@ -19,7 +19,7 @@ export type Two = {};
|
|
|
19
19
|
export type VariantOptionValue = Two | string;
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* @see {@link https://
|
|
22
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/VariantOption} - API reference for the VariantOption schema
|
|
23
23
|
*/
|
|
24
24
|
export type VariantOption = {
|
|
25
25
|
/**
|
|
@@ -31,7 +31,7 @@ export type Slabs = {
|
|
|
31
31
|
};
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
|
-
* @see {@link https://
|
|
34
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/VolumeBasedPromotion} - API reference for the VolumeBasedPromotion schema
|
|
35
35
|
*/
|
|
36
36
|
export type VolumeBasedPromotion = {
|
|
37
37
|
promotionType?: "volume-based" | undefined;
|
|
@@ -31,7 +31,7 @@ export type WalletPaymentPaymentStatus = ClosedEnum<
|
|
|
31
31
|
/**
|
|
32
32
|
* Common fields in all types of payments.
|
|
33
33
|
*
|
|
34
|
-
* @see {@link https://
|
|
34
|
+
* @see {@link https://llm-docs.commercengine.io/schemas/WalletPayment} - API reference for the WalletPayment schema
|
|
35
35
|
*/
|
|
36
36
|
export type WalletPayment = {
|
|
37
37
|
transactionType?: WalletPaymentTransactionType | undefined;
|