ce-storefront 0.16.1 → 0.16.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/sdks/auth/README.md +10 -10
- package/docs/sdks/carts/README.md +17 -15
- 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/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 +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/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 +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/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 +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/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 +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
|
@@ -4,7 +4,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
4
4
|
/**
|
|
5
5
|
* Attribute for numeric values
|
|
6
6
|
*
|
|
7
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/NumberAttribute} - API reference for the NumberAttribute schema
|
|
7
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/NumberAttribute} - API reference for the NumberAttribute schema
|
|
8
8
|
*/
|
|
9
9
|
export type NumberAttribute = {
|
|
10
10
|
id: string;
|
|
@@ -74,7 +74,7 @@ export type CancellationRefundDetails = {
|
|
|
74
74
|
paymentMode?: OrderPaymentMode | undefined;
|
|
75
75
|
};
|
|
76
76
|
/**
|
|
77
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/Order} - API reference for the Order schema
|
|
77
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/Order} - API reference for the Order schema
|
|
78
78
|
*/
|
|
79
79
|
export type Order = {
|
|
80
80
|
orderNumber?: string | undefined;
|
|
@@ -75,7 +75,7 @@ export type OrderDetailCancellationRefundDetails = {
|
|
|
75
75
|
paymentMode?: OrderDetailPaymentMode | undefined;
|
|
76
76
|
};
|
|
77
77
|
/**
|
|
78
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/OrderDetail} - API reference for the OrderDetail schema
|
|
78
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/OrderDetail} - API reference for the OrderDetail schema
|
|
79
79
|
*/
|
|
80
80
|
export type OrderDetail = {
|
|
81
81
|
orderNumber?: string | undefined;
|
|
@@ -11,7 +11,7 @@ export declare const OrderItemProductType: {
|
|
|
11
11
|
};
|
|
12
12
|
export type OrderItemProductType = ClosedEnum<typeof OrderItemProductType>;
|
|
13
13
|
/**
|
|
14
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/OrderItem} - API reference for the OrderItem schema
|
|
14
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/OrderItem} - API reference for the OrderItem schema
|
|
15
15
|
*/
|
|
16
16
|
export type OrderItem = {
|
|
17
17
|
productId: string;
|
|
@@ -47,7 +47,7 @@ export type OrderListCurrency = {
|
|
|
47
47
|
/**
|
|
48
48
|
* order list model
|
|
49
49
|
*
|
|
50
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/OrderList} - API reference for the OrderList schema
|
|
50
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/OrderList} - API reference for the OrderList schema
|
|
51
51
|
*/
|
|
52
52
|
export type OrderList = {
|
|
53
53
|
/**
|
|
@@ -9,7 +9,7 @@ import { WalletPayment, WalletPayment$Outbound } from "./walletpayment.js";
|
|
|
9
9
|
/**
|
|
10
10
|
* Order Payment
|
|
11
11
|
*
|
|
12
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/OrderPayment} - API reference for the OrderPayment schema
|
|
12
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/OrderPayment} - API reference for the OrderPayment schema
|
|
13
13
|
*/
|
|
14
14
|
export type OrderPayment = CardPayment | NetbankingPayment | UpiPayment | WalletPayment | BankTransfer;
|
|
15
15
|
/** @internal */
|
|
@@ -21,7 +21,7 @@ export type OrderShipmentStatus = ClosedEnum<typeof OrderShipmentStatus>;
|
|
|
21
21
|
/**
|
|
22
22
|
* Order shipment model
|
|
23
23
|
*
|
|
24
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/OrderShipment} - API reference for the OrderShipment schema
|
|
24
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/OrderShipment} - API reference for the OrderShipment schema
|
|
25
25
|
*/
|
|
26
26
|
export type OrderShipment = {
|
|
27
27
|
referenceNumber?: string | undefined;
|
|
@@ -4,7 +4,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
4
4
|
/**
|
|
5
5
|
* pagination metadata structure
|
|
6
6
|
*
|
|
7
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/Pagination} - API reference for the Pagination schema
|
|
7
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/Pagination} - API reference for the Pagination schema
|
|
8
8
|
*/
|
|
9
9
|
export type Pagination = {
|
|
10
10
|
totalRecords: number;
|
|
@@ -8,13 +8,13 @@ export type PartialCollectAndDeliveryCollectInStore = {
|
|
|
8
8
|
};
|
|
9
9
|
export type Delivery = {
|
|
10
10
|
shippingProviderId: string | null;
|
|
11
|
-
shippingProviderName
|
|
11
|
+
shippingProviderName?: string | null | undefined;
|
|
12
12
|
courierCompanyId?: string | null | undefined;
|
|
13
13
|
courierCompanyName?: string | null | undefined;
|
|
14
14
|
items: Array<FulfillmentItem>;
|
|
15
15
|
};
|
|
16
16
|
/**
|
|
17
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/PartialCollectAndDelivery} - API reference for the PartialCollectAndDelivery schema
|
|
17
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/PartialCollectAndDelivery} - API reference for the PartialCollectAndDelivery schema
|
|
18
18
|
*/
|
|
19
19
|
export type PartialCollectAndDelivery = {
|
|
20
20
|
fulfillmentType?: "partial-collect-and-delivery" | undefined;
|
|
@@ -49,7 +49,7 @@ export declare const Delivery$inboundSchema: z.ZodType<Delivery, z.ZodTypeDef, u
|
|
|
49
49
|
/** @internal */
|
|
50
50
|
export type Delivery$Outbound = {
|
|
51
51
|
shipping_provider_id: string | null;
|
|
52
|
-
shipping_provider_name
|
|
52
|
+
shipping_provider_name?: string | null | undefined;
|
|
53
53
|
courier_company_id?: string | null | undefined;
|
|
54
54
|
courier_company_name?: string | null | undefined;
|
|
55
55
|
items: Array<FulfillmentItem$Outbound>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"partialcollectanddelivery.d.ts","sourceRoot":"","sources":["../../../src/models/components/partialcollectanddelivery.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,eAAe,EAEf,wBAAwB,EAEzB,MAAM,sBAAsB,CAAC;AAE9B,MAAM,MAAM,uCAAuC,GAAG;IACpD,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,KAAK,CAAC,EAAE,KAAK,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC;CAC5C,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG;IACrB,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"partialcollectanddelivery.d.ts","sourceRoot":"","sources":["../../../src/models/components/partialcollectanddelivery.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,eAAe,EAEf,wBAAwB,EAEzB,MAAM,sBAAsB,CAAC;AAE9B,MAAM,MAAM,uCAAuC,GAAG;IACpD,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,KAAK,CAAC,EAAE,KAAK,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC;CAC5C,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG;IACrB,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,oB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B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,kCAAkC,EAClC,CAAC,CAAC,UAAU,EACZ,yBAAyB,CAczB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,0BAA0B,CAAC;IAC1C,yEAAyE;IAClE,MAAM,aAAa,6DAA0C,CAAC;IACrE,0EAA0E;IACnE,MAAM,cAAc,wFAA2C,CAAC;IACvE,oEAAoE;IACpE,KAAY,QAAQ,GAAG,kCAAkC,CAAC;CAC3D;AAED,wBAAgB,+BAA+B,CAC7C,yBAAyB,EAAE,yBAAyB,GACnD,MAAM,CAIR;AAED,wBAAgB,iCAAiC,CAC/C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,yBAAyB,EAAE,kBAAkB,CAAC,CAMhE"}
|
|
@@ -43,7 +43,7 @@ export function partialCollectAndDeliveryCollectInStoreFromJSON(jsonString) {
|
|
|
43
43
|
/** @internal */
|
|
44
44
|
export const Delivery$inboundSchema = z.object({
|
|
45
45
|
shipping_provider_id: z.nullable(z.string()),
|
|
46
|
-
shipping_provider_name: z.nullable(z.string()),
|
|
46
|
+
shipping_provider_name: z.nullable(z.string()).optional(),
|
|
47
47
|
courier_company_id: z.nullable(z.string()).optional(),
|
|
48
48
|
courier_company_name: z.nullable(z.string()).optional(),
|
|
49
49
|
items: z.array(FulfillmentItem$inboundSchema),
|
|
@@ -58,7 +58,7 @@ export const Delivery$inboundSchema = z.object({
|
|
|
58
58
|
/** @internal */
|
|
59
59
|
export const Delivery$outboundSchema = z.object({
|
|
60
60
|
shippingProviderId: z.nullable(z.string()),
|
|
61
|
-
shippingProviderName: z.nullable(z.string()),
|
|
61
|
+
shippingProviderName: z.nullable(z.string()).optional(),
|
|
62
62
|
courierCompanyId: z.nullable(z.string()).optional(),
|
|
63
63
|
courierCompanyName: z.nullable(z.string()).optional(),
|
|
64
64
|
items: z.array(FulfillmentItem$outboundSchema),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"partialcollectanddelivery.js","sourceRoot":"","sources":["../../../src/models/components/partialcollectanddelivery.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAEL,6BAA6B,EAE7B,8BAA8B,GAC/B,MAAM,sBAAsB,CAAC;AAwB9B,gBAAgB;AAChB,MAAM,CAAC,MAAM,qDAAqD,GAI9D,CAAC,CAAC,MAAM,CAAC;IACX,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzC,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,6BAA6B,CAAC,CAAC,QAAQ,EAAE;CACzD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,oBAAoB,EAAE,kBAAkB;KACzC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAQH,gBAAgB;AAChB,MAAM,CAAC,MAAM,sDAAsD,GAI/D,CAAC,CAAC,MAAM,CAAC;IACX,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACvC,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,8BAA8B,CAAC,CAAC,QAAQ,EAAE;CAC1D,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,gBAAgB,EAAE,oBAAoB;KACvC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAM,KAAW,wCAAwC,CASxD;AATD,WAAiB,wCAAwC;IACvD,uFAAuF;IAC1E,sDAAa,GACxB,qDAAqD,CAAC;IACxD,wFAAwF;IAC3E,uDAAc,GACzB,sDAAsD,CAAC;AAG3D,CAAC,EATgB,wCAAwC,KAAxC,wCAAwC,QASxD;AAED,MAAM,UAAU,6CAA6C,CAC3D,uCACyC;IAEzC,OAAO,IAAI,CAAC,SAAS,CACnB,sDAAsD,CAAC,KAAK,CAC1D,uCAAuC,CACxC,CACF,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,+CAA+C,CAC7D,UAAkB;IAKlB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,qDAAqD,CAAC,KAAK,CACzD,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,qEAAqE,CACtE,CAAC;AACJ,CAAC;AAED,gBAAgB;AAChB,MAAM,CAAC,MAAM,sBAAsB,GAI/B,CAAC,CAAC,MAAM,CAAC;IACX,oBAAoB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC5C,sBAAsB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"partialcollectanddelivery.js","sourceRoot":"","sources":["../../../src/models/components/partialcollectanddelivery.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAEL,6BAA6B,EAE7B,8BAA8B,GAC/B,MAAM,sBAAsB,CAAC;AAwB9B,gBAAgB;AAChB,MAAM,CAAC,MAAM,qDAAqD,GAI9D,CAAC,CAAC,MAAM,CAAC;IACX,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzC,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,6BAA6B,CAAC,CAAC,QAAQ,EAAE;CACzD,CAAC,CAAC,SA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AwC,GAIjD,CAAC,CAAC,MAAM,CAAC;IACX,eAAe,EAAE,CAAC,CAAC,OAAO,CAAC,8BAA8B,CAAC,CAAC,OAAO,CAChE,8BAAuC,CACxC;IACD,cAAc,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAC1B,sDAAsD,CACvD;IACD,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,uBAAuB,CAAC;CAChD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,eAAe,EAAE,kBAAkB;QACnC,cAAc,EAAE,kBAAkB;KACnC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAM,KAAW,0BAA0B,CAO1C;AAPD,WAAiB,0BAA0B;IACzC,yEAAyE;IAC5D,wCAAa,GAAG,uCAAuC,CAAC;IACrE,0EAA0E;IAC7D,yCAAc,GAAG,wCAAwC,CAAC;AAGzE,CAAC,EAPgB,0BAA0B,KAA1B,0BAA0B,QAO1C;AAED,MAAM,UAAU,+BAA+B,CAC7C,yBAAoD;IAEpD,OAAO,IAAI,CAAC,SAAS,CACnB,wCAAwC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAC1E,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,iCAAiC,CAC/C,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,uCAAuC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACnE,uDAAuD,CACxD,CAAC;AACJ,CAAC"}
|
|
@@ -12,7 +12,7 @@ export type PartialCollectAndDeliveryDelivery = {
|
|
|
12
12
|
items: Array<FulfillmentItemInput>;
|
|
13
13
|
};
|
|
14
14
|
/**
|
|
15
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/PartialCollectAndDelivery} - API reference for the PartialCollectAndDelivery schema
|
|
15
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/PartialCollectAndDelivery} - API reference for the PartialCollectAndDelivery schema
|
|
16
16
|
*/
|
|
17
17
|
export type PartialCollectAndDeliveryInput = {
|
|
18
18
|
fulfillmentType?: "partial-collect-and-delivery" | undefined;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { ClosedEnum } from "../../types/enums.js";
|
|
3
3
|
/**
|
|
4
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/PaymentGateway} - API reference for the PaymentGateway schema
|
|
4
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/PaymentGateway} - API reference for the PaymentGateway schema
|
|
5
5
|
*/
|
|
6
6
|
export declare const PaymentGateway: {
|
|
7
7
|
readonly Payu: "PAYU";
|
|
8
8
|
readonly Juspay: "JUSPAY";
|
|
9
9
|
};
|
|
10
10
|
/**
|
|
11
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/PaymentGateway} - API reference for the PaymentGateway schema
|
|
11
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/PaymentGateway} - API reference for the PaymentGateway schema
|
|
12
12
|
*/
|
|
13
13
|
export type PaymentGateway = ClosedEnum<typeof PaymentGateway>;
|
|
14
14
|
/** @internal */
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as z from "zod";
|
|
5
5
|
/**
|
|
6
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/PaymentGateway} - API reference for the PaymentGateway schema
|
|
6
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/PaymentGateway} - API reference for the PaymentGateway schema
|
|
7
7
|
*/
|
|
8
8
|
export const PaymentGateway = {
|
|
9
9
|
Payu: "PAYU",
|
|
@@ -4,7 +4,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
4
4
|
import { JuspayPaymentGatewayParams, JuspayPaymentGatewayParams$Outbound } from "./juspaypaymentgatewayparams.js";
|
|
5
5
|
import { PayuPaymentGatewayParams, PayuPaymentGatewayParams$Outbound } from "./payupaymentgatewayparams.js";
|
|
6
6
|
/**
|
|
7
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/PaymentGatewayParams} - API reference for the PaymentGatewayParams schema
|
|
7
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/PaymentGatewayParams} - API reference for the PaymentGatewayParams schema
|
|
8
8
|
*/
|
|
9
9
|
export type PaymentGatewayParams = (JuspayPaymentGatewayParams & {
|
|
10
10
|
paymentGateway: "JUSPAY";
|
|
@@ -2,7 +2,7 @@ import * as z from "zod";
|
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
4
|
/**
|
|
5
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/PayuPaymentGatewayParams} - API reference for the PayuPaymentGatewayParams schema
|
|
5
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/PayuPaymentGatewayParams} - API reference for the PayuPaymentGatewayParams schema
|
|
6
6
|
*/
|
|
7
7
|
export type PayuPaymentGatewayParams = {
|
|
8
8
|
paymentGateway?: "PAYU" | undefined;
|
|
@@ -36,7 +36,7 @@ export type SiDetails = {
|
|
|
36
36
|
paymentEndDate?: RFCDate | undefined;
|
|
37
37
|
};
|
|
38
38
|
/**
|
|
39
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/PayuPaymentInfo} - API reference for the PayuPaymentInfo schema
|
|
39
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/PayuPaymentInfo} - API reference for the PayuPaymentInfo schema
|
|
40
40
|
*/
|
|
41
41
|
export type PayuPaymentInfo = {
|
|
42
42
|
key?: string | undefined;
|
|
@@ -4,7 +4,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
4
4
|
/**
|
|
5
5
|
* Pincode model
|
|
6
6
|
*
|
|
7
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/Pincode} - API reference for the Pincode schema
|
|
7
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/Pincode} - API reference for the Pincode schema
|
|
8
8
|
*/
|
|
9
9
|
export type Pincode = {
|
|
10
10
|
pincode?: string | undefined;
|
|
@@ -38,7 +38,7 @@ export type ShippingMethods = {
|
|
|
38
38
|
courierCompanies?: Array<CourierCompanies> | undefined;
|
|
39
39
|
};
|
|
40
40
|
/**
|
|
41
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/PincodeServiceability} - API reference for the PincodeServiceability schema
|
|
41
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/PincodeServiceability} - API reference for the PincodeServiceability schema
|
|
42
42
|
*/
|
|
43
43
|
export type PincodeServiceability = {
|
|
44
44
|
isServiceable: boolean;
|
|
@@ -19,7 +19,7 @@ export declare const ProductProductType: {
|
|
|
19
19
|
};
|
|
20
20
|
export type ProductProductType = ClosedEnum<typeof ProductProductType>;
|
|
21
21
|
/**
|
|
22
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/Product} - API reference for the Product schema
|
|
22
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/Product} - API reference for the Product schema
|
|
23
23
|
*/
|
|
24
24
|
export type Product = {
|
|
25
25
|
/**
|
|
@@ -9,7 +9,7 @@ import { NumberAttribute, NumberAttribute$Outbound } from "./numberattribute.js"
|
|
|
9
9
|
import { SingleSelectAttribute, SingleSelectAttribute$Outbound } from "./singleselectattribute.js";
|
|
10
10
|
import { TextAttribute, TextAttribute$Outbound } from "./textattribute.js";
|
|
11
11
|
/**
|
|
12
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/ProductAttribute} - API reference for the ProductAttribute schema
|
|
12
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/ProductAttribute} - API reference for the ProductAttribute schema
|
|
13
13
|
*/
|
|
14
14
|
export type ProductAttribute = (ColorAttribute & {
|
|
15
15
|
type: "color";
|
|
@@ -17,7 +17,7 @@ export declare const ProductBundleItemProductType: {
|
|
|
17
17
|
};
|
|
18
18
|
export type ProductBundleItemProductType = ClosedEnum<typeof ProductBundleItemProductType>;
|
|
19
19
|
/**
|
|
20
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/Item} - API reference for the Item schema
|
|
20
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/Item} - API reference for the Item schema
|
|
21
21
|
*/
|
|
22
22
|
export type ProductBundleItem = {
|
|
23
23
|
quantity: number;
|
|
@@ -3,7 +3,7 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
4
|
import { Category, Category$Outbound } from "./category.js";
|
|
5
5
|
/**
|
|
6
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/ProductCategory} - API reference for the ProductCategory schema
|
|
6
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/ProductCategory} - API reference for the ProductCategory schema
|
|
7
7
|
*/
|
|
8
8
|
export type ProductCategory = {
|
|
9
9
|
id: string;
|
|
@@ -22,7 +22,7 @@ export declare const ProductDetailProductType: {
|
|
|
22
22
|
};
|
|
23
23
|
export type ProductDetailProductType = ClosedEnum<typeof ProductDetailProductType>;
|
|
24
24
|
/**
|
|
25
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/ProductDetail} - API reference for the ProductDetail schema
|
|
25
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/ProductDetail} - API reference for the ProductDetail schema
|
|
26
26
|
*/
|
|
27
27
|
export type ProductDetail = {
|
|
28
28
|
/**
|
|
@@ -2,7 +2,7 @@ import * as z from "zod";
|
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
4
|
/**
|
|
5
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/ProductImage} - API reference for the ProductImage schema
|
|
5
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/ProductImage} - API reference for the ProductImage schema
|
|
6
6
|
*/
|
|
7
7
|
export type ProductImage = {
|
|
8
8
|
id: string;
|
|
@@ -2,7 +2,7 @@ import * as z from "zod";
|
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
4
|
/**
|
|
5
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/ProductPricing} - API reference for the ProductPricing schema
|
|
5
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/ProductPricing} - API reference for the ProductPricing schema
|
|
6
6
|
*/
|
|
7
7
|
export type ProductPricing = {
|
|
8
8
|
currency: string;
|
|
@@ -15,7 +15,7 @@ export type Details = (FreeGoodsPromotion & {
|
|
|
15
15
|
promotionType: "volume-based";
|
|
16
16
|
});
|
|
17
17
|
/**
|
|
18
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/ProductPromotion} - API reference for the ProductPromotion schema
|
|
18
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/ProductPromotion} - API reference for the ProductPromotion schema
|
|
19
19
|
*/
|
|
20
20
|
export type ProductPromotion = {
|
|
21
21
|
id: string;
|
|
@@ -35,7 +35,7 @@ export type Videos = {
|
|
|
35
35
|
size?: string | undefined;
|
|
36
36
|
};
|
|
37
37
|
/**
|
|
38
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/ProductReview} - API reference for the ProductReview schema
|
|
38
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/ProductReview} - API reference for the ProductReview schema
|
|
39
39
|
*/
|
|
40
40
|
export type ProductReview = {
|
|
41
41
|
/**
|
|
@@ -2,7 +2,7 @@ import * as z from "zod";
|
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
4
|
/**
|
|
5
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/ProductShipping} - API reference for the ProductShipping schema
|
|
5
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/ProductShipping} - API reference for the ProductShipping schema
|
|
6
6
|
*/
|
|
7
7
|
export type ProductShipping = {
|
|
8
8
|
handlingChargesIncludingTax: number;
|
|
@@ -15,7 +15,7 @@ export declare const OrderFrequency: {
|
|
|
15
15
|
};
|
|
16
16
|
export type OrderFrequency = ClosedEnum<typeof OrderFrequency>;
|
|
17
17
|
/**
|
|
18
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/ProductSubscription} - API reference for the ProductSubscription schema
|
|
18
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/ProductSubscription} - API reference for the ProductSubscription schema
|
|
19
19
|
*/
|
|
20
20
|
export type ProductSubscription = {
|
|
21
21
|
id: string;
|
|
@@ -2,7 +2,7 @@ import * as z from "zod";
|
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
4
|
/**
|
|
5
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/ProductVideo} - API reference for the ProductVideo schema
|
|
5
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/ProductVideo} - API reference for the ProductVideo schema
|
|
6
6
|
*/
|
|
7
7
|
export type ProductVideo = {
|
|
8
8
|
title: string | null;
|
|
@@ -4,7 +4,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
4
4
|
/**
|
|
5
5
|
* Payload for searching products.
|
|
6
6
|
*
|
|
7
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/SearchProduct} - API reference for the SearchProduct schema
|
|
7
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/SearchProduct} - API reference for the SearchProduct schema
|
|
8
8
|
*/
|
|
9
9
|
export type SearchProduct = {
|
|
10
10
|
/**
|
|
@@ -2,7 +2,7 @@ import * as z from "zod";
|
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
4
|
/**
|
|
5
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/Seo} - API reference for the Seo schema
|
|
5
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/Seo} - API reference for the Seo schema
|
|
6
6
|
*/
|
|
7
7
|
export type Seo = {
|
|
8
8
|
slug: string;
|
|
@@ -4,7 +4,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
4
4
|
/**
|
|
5
5
|
* Shipment item model
|
|
6
6
|
*
|
|
7
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/ShipmentItem} - API reference for the ShipmentItem schema
|
|
7
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/ShipmentItem} - API reference for the ShipmentItem schema
|
|
8
8
|
*/
|
|
9
9
|
export type ShipmentItem = {
|
|
10
10
|
productId?: string | undefined;
|
|
@@ -4,7 +4,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
4
4
|
/**
|
|
5
5
|
* Attribute for single-select values
|
|
6
6
|
*
|
|
7
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/SingleSelectAttribute} - API reference for the SingleSelectAttribute schema
|
|
7
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/SingleSelectAttribute} - API reference for the SingleSelectAttribute schema
|
|
8
8
|
*/
|
|
9
9
|
export type SingleSelectAttribute = {
|
|
10
10
|
id: string;
|
|
@@ -2,7 +2,7 @@ import * as z from "zod";
|
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
4
|
/**
|
|
5
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/SingleSelectOption} - API reference for the SingleSelectOption schema
|
|
5
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/SingleSelectOption} - API reference for the SingleSelectOption schema
|
|
6
6
|
*/
|
|
7
7
|
export type SingleSelectOption = {
|
|
8
8
|
/**
|
|
@@ -4,7 +4,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
4
4
|
/**
|
|
5
5
|
* Attribute for text values
|
|
6
6
|
*
|
|
7
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/TextAttribute} - API reference for the TextAttribute schema
|
|
7
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/TextAttribute} - API reference for the TextAttribute schema
|
|
8
8
|
*/
|
|
9
9
|
export type TextAttribute = {
|
|
10
10
|
id: string;
|
|
@@ -4,7 +4,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
4
4
|
/**
|
|
5
5
|
* Schema for updating a cart item, including adding, removing, or adjusting the quantity of a product or variant.
|
|
6
6
|
*
|
|
7
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/UpdateCartItem} - API reference for the UpdateCartItem schema
|
|
7
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/UpdateCartItem} - API reference for the UpdateCartItem schema
|
|
8
8
|
*/
|
|
9
9
|
export type UpdateCartItem = {
|
|
10
10
|
/**
|
|
@@ -18,7 +18,7 @@ export type UpiPaymentPaymentStatus = ClosedEnum<typeof UpiPaymentPaymentStatus>
|
|
|
18
18
|
/**
|
|
19
19
|
* UPI Payment
|
|
20
20
|
*
|
|
21
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/UpiPayment} - API reference for the UpiPayment schema
|
|
21
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/UpiPayment} - API reference for the UpiPayment schema
|
|
22
22
|
*/
|
|
23
23
|
export type UpiPayment = {
|
|
24
24
|
transactionType?: UpiPaymentTransactionType | undefined;
|
|
@@ -11,7 +11,7 @@ export declare const LoginMethods: {
|
|
|
11
11
|
};
|
|
12
12
|
export type LoginMethods = ClosedEnum<typeof LoginMethods>;
|
|
13
13
|
/**
|
|
14
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/User} - API reference for the User schema
|
|
14
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/User} - API reference for the User schema
|
|
15
15
|
*/
|
|
16
16
|
export type User = {
|
|
17
17
|
/**
|
|
@@ -76,7 +76,7 @@ export type User = {
|
|
|
76
76
|
modifiedAt?: string | undefined;
|
|
77
77
|
};
|
|
78
78
|
/**
|
|
79
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/User} - API reference for the User schema
|
|
79
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/User} - API reference for the User schema
|
|
80
80
|
*/
|
|
81
81
|
export type UserInput = {
|
|
82
82
|
/**
|
|
@@ -8,7 +8,7 @@ import { ProductPricing, ProductPricing$Outbound } from "./productpricing.js";
|
|
|
8
8
|
import { ProductPromotion, ProductPromotion$Outbound } from "./productpromotion.js";
|
|
9
9
|
import { ProductSubscription, ProductSubscription$Outbound } from "./productsubscription.js";
|
|
10
10
|
/**
|
|
11
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/Variant} - API reference for the Variant schema
|
|
11
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/Variant} - API reference for the Variant schema
|
|
12
12
|
*/
|
|
13
13
|
export type Variant = {
|
|
14
14
|
/**
|
|
@@ -20,7 +20,7 @@ export declare const VariantDetailProductType: {
|
|
|
20
20
|
};
|
|
21
21
|
export type VariantDetailProductType = ClosedEnum<typeof VariantDetailProductType>;
|
|
22
22
|
/**
|
|
23
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/VariantDetail} - API reference for the VariantDetail schema
|
|
23
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/VariantDetail} - API reference for the VariantDetail schema
|
|
24
24
|
*/
|
|
25
25
|
export type VariantDetail = {
|
|
26
26
|
/**
|
|
@@ -10,7 +10,7 @@ export type Type = ClosedEnum<typeof Type>;
|
|
|
10
10
|
export type Two = {};
|
|
11
11
|
export type VariantOptionValue = string | Two;
|
|
12
12
|
/**
|
|
13
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/VariantOption} - API reference for the VariantOption schema
|
|
13
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/VariantOption} - API reference for the VariantOption schema
|
|
14
14
|
*/
|
|
15
15
|
export type VariantOption = {
|
|
16
16
|
/**
|
|
@@ -20,7 +20,7 @@ export type Slabs = {
|
|
|
20
20
|
discountPercent: number;
|
|
21
21
|
};
|
|
22
22
|
/**
|
|
23
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/VolumeBasedPromotion} - API reference for the VolumeBasedPromotion schema
|
|
23
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/VolumeBasedPromotion} - API reference for the VolumeBasedPromotion schema
|
|
24
24
|
*/
|
|
25
25
|
export type VolumeBasedPromotion = {
|
|
26
26
|
promotionType?: "volume-based" | undefined;
|
|
@@ -18,7 +18,7 @@ export type WalletPaymentPaymentStatus = ClosedEnum<typeof WalletPaymentPaymentS
|
|
|
18
18
|
/**
|
|
19
19
|
* Common fields in all types of payments.
|
|
20
20
|
*
|
|
21
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/WalletPayment} - API reference for the WalletPayment schema
|
|
21
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/WalletPayment} - API reference for the WalletPayment schema
|
|
22
22
|
*/
|
|
23
23
|
export type WalletPayment = {
|
|
24
24
|
transactionType?: WalletPaymentTransactionType | undefined;
|
|
@@ -5,7 +5,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
5
5
|
/**
|
|
6
6
|
* payload for new address
|
|
7
7
|
*
|
|
8
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/CustomerAddress} - API reference for the CustomerAddress schema
|
|
8
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/CustomerAddress} - API reference for the CustomerAddress schema
|
|
9
9
|
*/
|
|
10
10
|
export type CreateAddressRequestBody = {
|
|
11
11
|
/**
|
|
@@ -12,7 +12,7 @@ export type GetAddressDetailRequest = {
|
|
|
12
12
|
userId: string;
|
|
13
13
|
};
|
|
14
14
|
/**
|
|
15
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/CustomerAddress} - API reference for the CustomerAddress schema
|
|
15
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/CustomerAddress} - API reference for the CustomerAddress schema
|
|
16
16
|
*/
|
|
17
17
|
export type Address = {
|
|
18
18
|
/**
|
|
@@ -17,7 +17,7 @@ export type ListAddressesRequest = {
|
|
|
17
17
|
userId: string;
|
|
18
18
|
};
|
|
19
19
|
/**
|
|
20
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/CustomerAddress} - API reference for the CustomerAddress schema
|
|
20
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/CustomerAddress} - API reference for the CustomerAddress schema
|
|
21
21
|
*/
|
|
22
22
|
export type Addresses = {
|
|
23
23
|
/**
|
|
@@ -5,7 +5,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
5
5
|
/**
|
|
6
6
|
* payload for address update
|
|
7
7
|
*
|
|
8
|
-
* @see {@link https://llm-docs.commercengine.io/schemas/CustomerAddress} - API reference for the CustomerAddress schema
|
|
8
|
+
* @see {@link https://llm-docs.commercengine.io/storefront/schemas/CustomerAddress} - API reference for the CustomerAddress schema
|
|
9
9
|
*/
|
|
10
10
|
export type UpdateAddressDetailRequestBody = {
|
|
11
11
|
/**
|