ce-storefront 0.4.7 → 0.4.9
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/FUNCTIONS.md +4 -2
- package/README.md +144 -282
- package/docs/sdks/auth/README.md +240 -118
- package/docs/sdks/campaigns/README.md +79 -0
- package/docs/sdks/carts/README.md +58 -46
- package/docs/sdks/catalog/README.md +900 -8
- package/docs/sdks/checkout/README.md +76 -410
- package/docs/sdks/common/README.md +85 -0
- package/docs/sdks/customers/README.md +344 -36
- package/docs/sdks/orders/README.md +164 -76
- package/docs/sdks/shipping/README.md +8 -7
- package/esm/funcs/authCheckVerificationStatus.d.ts +15 -0
- package/esm/funcs/authCheckVerificationStatus.d.ts.map +1 -0
- package/esm/funcs/authCheckVerificationStatus.js +78 -0
- package/esm/funcs/authCheckVerificationStatus.js.map +1 -0
- package/esm/funcs/authCreateNotificationPreferences.d.ts +15 -0
- package/esm/funcs/authCreateNotificationPreferences.d.ts.map +1 -0
- package/esm/funcs/authCreateNotificationPreferences.js +84 -0
- package/esm/funcs/authCreateNotificationPreferences.js.map +1 -0
- package/esm/funcs/authGenerateOtp.d.ts +1 -1
- package/esm/funcs/authGenerateOtp.d.ts.map +1 -1
- package/esm/funcs/authGenerateOtp.js +9 -4
- package/esm/funcs/authGenerateOtp.js.map +1 -1
- package/esm/funcs/authGetAnonymousToken.d.ts +16 -0
- package/esm/funcs/authGetAnonymousToken.d.ts.map +1 -0
- package/esm/funcs/authGetAnonymousToken.js +71 -0
- package/esm/funcs/authGetAnonymousToken.js.map +1 -0
- package/esm/funcs/authGetNotificationPreferences.d.ts +15 -0
- package/esm/funcs/authGetNotificationPreferences.d.ts.map +1 -0
- package/esm/funcs/authGetNotificationPreferences.js +83 -0
- package/esm/funcs/authGetNotificationPreferences.js.map +1 -0
- package/esm/funcs/authGetUserDetail.d.ts +15 -0
- package/esm/funcs/authGetUserDetail.d.ts.map +1 -0
- package/esm/funcs/authGetUserDetail.js +81 -0
- package/esm/funcs/authGetUserDetail.js.map +1 -0
- package/esm/funcs/authLoginWithEmail.d.ts +1 -1
- package/esm/funcs/authLoginWithEmail.d.ts.map +1 -1
- package/esm/funcs/authLoginWithEmail.js +9 -4
- package/esm/funcs/authLoginWithEmail.js.map +1 -1
- package/esm/funcs/authLoginWithPhone.d.ts +1 -1
- package/esm/funcs/authLoginWithPhone.d.ts.map +1 -1
- package/esm/funcs/authLoginWithPhone.js +9 -4
- package/esm/funcs/authLoginWithPhone.js.map +1 -1
- package/esm/funcs/authLoginWithWhatsapp.d.ts +1 -1
- package/esm/funcs/authLoginWithWhatsapp.d.ts.map +1 -1
- package/esm/funcs/authLoginWithWhatsapp.js +9 -4
- package/esm/funcs/authLoginWithWhatsapp.js.map +1 -1
- package/esm/funcs/authLogout.d.ts +15 -0
- package/esm/funcs/authLogout.d.ts.map +1 -0
- package/esm/funcs/authLogout.js +66 -0
- package/esm/funcs/authLogout.js.map +1 -0
- package/esm/funcs/authRefreshToken.d.ts +1 -1
- package/esm/funcs/authRefreshToken.d.ts.map +1 -1
- package/esm/funcs/authRefreshToken.js +9 -4
- package/esm/funcs/authRefreshToken.js.map +1 -1
- package/esm/funcs/authUpdateNotificationPreferences.d.ts +15 -0
- package/esm/funcs/authUpdateNotificationPreferences.d.ts.map +1 -0
- package/esm/funcs/authUpdateNotificationPreferences.js +84 -0
- package/esm/funcs/authUpdateNotificationPreferences.js.map +1 -0
- package/esm/funcs/authUpdateUser.d.ts +15 -0
- package/esm/funcs/authUpdateUser.d.ts.map +1 -0
- package/esm/funcs/authUpdateUser.js +82 -0
- package/esm/funcs/authUpdateUser.js.map +1 -0
- package/esm/funcs/authVerifyOtp.d.ts +1 -1
- package/esm/funcs/authVerifyOtp.d.ts.map +1 -1
- package/esm/funcs/authVerifyOtp.js +9 -4
- package/esm/funcs/authVerifyOtp.js.map +1 -1
- package/esm/funcs/campaignsSubscribeNewsletter.d.ts +15 -0
- package/esm/funcs/campaignsSubscribeNewsletter.d.ts.map +1 -0
- package/esm/funcs/campaignsSubscribeNewsletter.js +78 -0
- package/esm/funcs/campaignsSubscribeNewsletter.js.map +1 -0
- package/esm/funcs/cartsCreateCart.d.ts +15 -0
- package/esm/funcs/cartsCreateCart.d.ts.map +1 -0
- package/esm/funcs/cartsCreateCart.js +76 -0
- package/esm/funcs/cartsCreateCart.js.map +1 -0
- package/esm/funcs/cartsDeleteCart.d.ts +16 -0
- package/esm/funcs/cartsDeleteCart.d.ts.map +1 -0
- package/esm/funcs/cartsDeleteCart.js +85 -0
- package/esm/funcs/cartsDeleteCart.js.map +1 -0
- package/esm/funcs/cartsGetCart.d.ts +16 -0
- package/esm/funcs/cartsGetCart.d.ts.map +1 -0
- package/esm/funcs/cartsGetCart.js +85 -0
- package/esm/funcs/cartsGetCart.js.map +1 -0
- package/esm/funcs/cartsUpdateCart.d.ts +16 -0
- package/esm/funcs/cartsUpdateCart.d.ts.map +1 -0
- package/esm/funcs/cartsUpdateCart.js +86 -0
- package/esm/funcs/cartsUpdateCart.js.map +1 -0
- package/esm/funcs/catalogCreateProductReview.d.ts +16 -0
- package/esm/funcs/catalogCreateProductReview.d.ts.map +1 -0
- package/esm/funcs/catalogCreateProductReview.js +99 -0
- package/esm/funcs/catalogCreateProductReview.js.map +1 -0
- package/esm/funcs/catalogGetProductDetail.d.ts +16 -0
- package/esm/funcs/catalogGetProductDetail.d.ts.map +1 -0
- package/esm/funcs/catalogGetProductDetail.js +89 -0
- package/esm/funcs/catalogGetProductDetail.js.map +1 -0
- package/esm/funcs/catalogGetVariantDetail.d.ts +16 -0
- package/esm/funcs/catalogGetVariantDetail.d.ts.map +1 -0
- package/esm/funcs/catalogGetVariantDetail.js +93 -0
- package/esm/funcs/catalogGetVariantDetail.js.map +1 -0
- package/esm/funcs/catalogListCategories.d.ts +15 -0
- package/esm/funcs/catalogListCategories.d.ts.map +1 -0
- package/esm/funcs/catalogListCategories.js +82 -0
- package/esm/funcs/catalogListCategories.js.map +1 -0
- package/esm/funcs/catalogListCrosssellProducts.d.ts +16 -0
- package/esm/funcs/catalogListCrosssellProducts.d.ts.map +1 -0
- package/esm/funcs/catalogListCrosssellProducts.js +88 -0
- package/esm/funcs/catalogListCrosssellProducts.js.map +1 -0
- package/esm/funcs/catalogListProductReviews.d.ts +16 -0
- package/esm/funcs/catalogListProductReviews.d.ts.map +1 -0
- package/esm/funcs/catalogListProductReviews.js +93 -0
- package/esm/funcs/catalogListProductReviews.js.map +1 -0
- package/esm/funcs/catalogListProductVariants.d.ts +16 -0
- package/esm/funcs/catalogListProductVariants.d.ts.map +1 -0
- package/esm/funcs/catalogListProductVariants.js +91 -0
- package/esm/funcs/catalogListProductVariants.js.map +1 -0
- package/esm/funcs/catalogListProducts.d.ts +16 -0
- package/esm/funcs/catalogListProducts.d.ts.map +1 -0
- package/esm/funcs/catalogListProducts.js +87 -0
- package/esm/funcs/catalogListProducts.js.map +1 -0
- package/esm/funcs/catalogListSimilarProducts.d.ts +16 -0
- package/esm/funcs/catalogListSimilarProducts.d.ts.map +1 -0
- package/esm/funcs/catalogListSimilarProducts.js +88 -0
- package/esm/funcs/catalogListSimilarProducts.js.map +1 -0
- package/esm/funcs/catalogListSkus.d.ts +16 -0
- package/esm/funcs/catalogListSkus.d.ts.map +1 -0
- package/esm/funcs/catalogListSkus.js +88 -0
- package/esm/funcs/catalogListSkus.js.map +1 -0
- package/esm/funcs/catalogListUpsellProducts.d.ts +16 -0
- package/esm/funcs/catalogListUpsellProducts.d.ts.map +1 -0
- package/esm/funcs/catalogListUpsellProducts.js +86 -0
- package/esm/funcs/catalogListUpsellProducts.js.map +1 -0
- package/esm/funcs/catalogSearchProducts.d.ts +17 -0
- package/esm/funcs/catalogSearchProducts.d.ts.map +1 -0
- package/esm/funcs/catalogSearchProducts.js +81 -0
- package/esm/funcs/catalogSearchProducts.js.map +1 -0
- package/esm/funcs/checkoutApplyCoupon.d.ts +1 -1
- package/esm/funcs/checkoutApplyCoupon.d.ts.map +1 -1
- package/esm/funcs/checkoutApplyCoupon.js +9 -4
- package/esm/funcs/checkoutApplyCoupon.js.map +1 -1
- package/esm/funcs/checkoutCreateCheckoutAddress.d.ts +16 -0
- package/esm/funcs/checkoutCreateCheckoutAddress.d.ts.map +1 -0
- package/esm/funcs/checkoutCreateCheckoutAddress.js +82 -0
- package/esm/funcs/checkoutCreateCheckoutAddress.js.map +1 -0
- package/esm/funcs/checkoutRemoveCoupon.d.ts +1 -1
- package/esm/funcs/checkoutRemoveCoupon.d.ts.map +1 -1
- package/esm/funcs/checkoutRemoveCoupon.js +9 -4
- package/esm/funcs/checkoutRemoveCoupon.js.map +1 -1
- package/esm/funcs/commonListCountryPincodes.d.ts +15 -0
- package/esm/funcs/commonListCountryPincodes.d.ts.map +1 -0
- package/esm/funcs/commonListCountryPincodes.js +86 -0
- package/esm/funcs/commonListCountryPincodes.js.map +1 -0
- package/esm/funcs/customersCreateAddress.d.ts +16 -0
- package/esm/funcs/customersCreateAddress.d.ts.map +1 -0
- package/esm/funcs/customersCreateAddress.js +86 -0
- package/esm/funcs/customersCreateAddress.js.map +1 -0
- package/esm/funcs/customersDeleteAddress.d.ts +16 -0
- package/esm/funcs/customersDeleteAddress.d.ts.map +1 -0
- package/esm/funcs/customersDeleteAddress.js +89 -0
- package/esm/funcs/customersDeleteAddress.js.map +1 -0
- package/esm/funcs/customersGetAddressDetail.d.ts +16 -0
- package/esm/funcs/customersGetAddressDetail.d.ts.map +1 -0
- package/esm/funcs/customersGetAddressDetail.js +89 -0
- package/esm/funcs/customersGetAddressDetail.js.map +1 -0
- package/esm/funcs/customersListAddresses.d.ts +15 -0
- package/esm/funcs/customersListAddresses.d.ts.map +1 -0
- package/esm/funcs/customersListAddresses.js +86 -0
- package/esm/funcs/customersListAddresses.js.map +1 -0
- package/esm/funcs/customersListUserReviews.d.ts +15 -0
- package/esm/funcs/customersListUserReviews.d.ts.map +1 -0
- package/esm/funcs/customersListUserReviews.js +81 -0
- package/esm/funcs/customersListUserReviews.js.map +1 -0
- package/esm/funcs/customersUpdateAddressDetail.d.ts +16 -0
- package/esm/funcs/customersUpdateAddressDetail.d.ts.map +1 -0
- package/esm/funcs/customersUpdateAddressDetail.js +92 -0
- package/esm/funcs/customersUpdateAddressDetail.js.map +1 -0
- package/esm/funcs/ordersCancelOrder.d.ts +16 -0
- package/esm/funcs/ordersCancelOrder.d.ts.map +1 -0
- package/esm/funcs/ordersCancelOrder.js +86 -0
- package/esm/funcs/ordersCancelOrder.js.map +1 -0
- package/esm/funcs/ordersCreateOrder.d.ts +16 -0
- package/esm/funcs/ordersCreateOrder.d.ts.map +1 -0
- package/esm/funcs/ordersCreateOrder.js +80 -0
- package/esm/funcs/ordersCreateOrder.js.map +1 -0
- package/esm/funcs/ordersGetOrderDetail.d.ts +16 -0
- package/esm/funcs/ordersGetOrderDetail.d.ts.map +1 -0
- package/esm/funcs/ordersGetOrderDetail.js +85 -0
- package/esm/funcs/ordersGetOrderDetail.js.map +1 -0
- package/esm/funcs/ordersGetPaymentStatus.d.ts +15 -0
- package/esm/funcs/ordersGetPaymentStatus.d.ts.map +1 -0
- package/esm/funcs/ordersGetPaymentStatus.js +81 -0
- package/esm/funcs/ordersGetPaymentStatus.js.map +1 -0
- package/esm/funcs/ordersListOrderShipments.d.ts +16 -0
- package/esm/funcs/ordersListOrderShipments.d.ts.map +1 -0
- package/esm/funcs/ordersListOrderShipments.js +85 -0
- package/esm/funcs/ordersListOrderShipments.js.map +1 -0
- package/esm/funcs/ordersListOrders.d.ts +15 -0
- package/esm/funcs/ordersListOrders.d.ts.map +1 -0
- package/esm/funcs/ordersListOrders.js +83 -0
- package/esm/funcs/ordersListOrders.js.map +1 -0
- package/esm/funcs/ordersRetryOrderPayment.d.ts +16 -0
- package/esm/funcs/ordersRetryOrderPayment.d.ts.map +1 -0
- package/esm/funcs/ordersRetryOrderPayment.js +86 -0
- package/esm/funcs/ordersRetryOrderPayment.js.map +1 -0
- package/esm/funcs/shippingCheckDeliveryAvailability.d.ts +16 -0
- package/esm/funcs/shippingCheckDeliveryAvailability.d.ts.map +1 -0
- package/esm/funcs/shippingCheckDeliveryAvailability.js +87 -0
- package/esm/funcs/shippingCheckDeliveryAvailability.js.map +1 -0
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/lib/retries.js +0 -1
- package/esm/lib/retries.js.map +1 -1
- package/esm/models/components/cart.d.ts +64 -86
- package/esm/models/components/cart.d.ts.map +1 -1
- package/esm/models/components/cart.js +68 -95
- package/esm/models/components/cart.js.map +1 -1
- package/esm/models/components/cartitem.d.ts +100 -79
- package/esm/models/components/cartitem.d.ts.map +1 -1
- package/esm/models/components/cartitem.js +105 -74
- package/esm/models/components/cartitem.js.map +1 -1
- package/esm/models/components/category.d.ts +41 -0
- package/esm/models/components/category.d.ts.map +1 -0
- package/esm/models/components/category.js +54 -0
- package/esm/models/components/category.js.map +1 -0
- package/esm/models/components/createreview.d.ts +4 -58
- package/esm/models/components/createreview.d.ts.map +1 -1
- package/esm/models/components/createreview.js +4 -78
- package/esm/models/components/createreview.js.map +1 -1
- package/esm/models/components/customeraddress.d.ts +22 -110
- package/esm/models/components/customeraddress.d.ts.map +1 -1
- package/esm/models/components/customeraddress.js +22 -107
- package/esm/models/components/customeraddress.js.map +1 -1
- package/esm/models/components/customeraddressinput.d.ts +69 -0
- package/esm/models/components/customeraddressinput.d.ts.map +1 -0
- package/esm/models/components/customeraddressinput.js +78 -0
- package/esm/models/components/customeraddressinput.js.map +1 -0
- package/esm/models/components/index.d.ts +2 -24
- package/esm/models/components/index.d.ts.map +1 -1
- package/esm/models/components/index.js +2 -24
- package/esm/models/components/index.js.map +1 -1
- package/esm/models/components/juspaypaymentinfo.d.ts +4 -64
- package/esm/models/components/juspaypaymentinfo.d.ts.map +1 -1
- package/esm/models/components/juspaypaymentinfo.js +4 -48
- package/esm/models/components/juspaypaymentinfo.js.map +1 -1
- package/esm/models/components/orderdetail.d.ts +8 -8
- package/esm/models/components/orderdetail.d.ts.map +1 -1
- package/esm/models/components/orderdetail.js +13 -12
- package/esm/models/components/orderdetail.js.map +1 -1
- package/esm/models/components/orderitem.d.ts +2 -25
- package/esm/models/components/orderitem.d.ts.map +1 -1
- package/esm/models/components/orderitem.js +2 -20
- package/esm/models/components/orderitem.js.map +1 -1
- package/esm/models/components/payupaymentinfo.d.ts +6 -91
- package/esm/models/components/payupaymentinfo.d.ts.map +1 -1
- package/esm/models/components/payupaymentinfo.js +6 -69
- package/esm/models/components/payupaymentinfo.js.map +1 -1
- package/esm/models/components/product.d.ts +2 -2
- package/esm/models/components/product.d.ts.map +1 -1
- package/esm/models/components/product.js +2 -2
- package/esm/models/components/product.js.map +1 -1
- package/esm/models/components/productbundleitem.d.ts +2 -2
- package/esm/models/components/productbundleitem.d.ts.map +1 -1
- package/esm/models/components/productbundleitem.js +2 -2
- package/esm/models/components/productbundleitem.js.map +1 -1
- package/esm/models/components/productcategory.d.ts +5 -37
- package/esm/models/components/productcategory.d.ts.map +1 -1
- package/esm/models/components/productcategory.js +5 -47
- package/esm/models/components/productcategory.js.map +1 -1
- package/esm/models/components/productdetail.d.ts +2 -2
- package/esm/models/components/productdetail.d.ts.map +1 -1
- package/esm/models/components/productdetail.js +2 -2
- package/esm/models/components/productdetail.js.map +1 -1
- package/esm/models/components/productpricing.d.ts +2 -25
- package/esm/models/components/productpricing.d.ts.map +1 -1
- package/esm/models/components/productpricing.js +2 -21
- package/esm/models/components/productpricing.js.map +1 -1
- package/esm/models/components/seo.d.ts +2 -2
- package/esm/models/components/seo.d.ts.map +1 -1
- package/esm/models/components/seo.js +2 -2
- package/esm/models/components/seo.js.map +1 -1
- package/esm/models/components/sku.d.ts +2 -2
- package/esm/models/components/sku.d.ts.map +1 -1
- package/esm/models/components/sku.js +2 -2
- package/esm/models/components/sku.js.map +1 -1
- package/esm/models/components/variant.d.ts +2 -2
- package/esm/models/components/variant.d.ts.map +1 -1
- package/esm/models/components/variant.js +2 -2
- package/esm/models/components/variant.js.map +1 -1
- package/esm/models/components/variantdetail.d.ts +2 -2
- package/esm/models/components/variantdetail.d.ts.map +1 -1
- package/esm/models/components/variantdetail.js +2 -2
- package/esm/models/components/variantdetail.js.map +1 -1
- package/esm/models/operations/applycoupon.d.ts +93 -0
- package/esm/models/operations/applycoupon.d.ts.map +1 -0
- package/esm/models/operations/applycoupon.js +109 -0
- package/esm/models/operations/applycoupon.js.map +1 -0
- package/esm/models/operations/cancelorder.d.ts +156 -0
- package/esm/models/operations/cancelorder.d.ts.map +1 -0
- package/esm/models/operations/cancelorder.js +172 -0
- package/esm/models/operations/cancelorder.js.map +1 -0
- package/esm/models/operations/checkdeliveryavailability.d.ts +63 -0
- package/esm/models/operations/checkdeliveryavailability.d.ts.map +1 -0
- package/esm/models/operations/checkdeliveryavailability.js +68 -0
- package/esm/models/operations/checkdeliveryavailability.js.map +1 -0
- package/esm/models/operations/checkverificationstatus.d.ts +115 -0
- package/esm/models/operations/checkverificationstatus.d.ts.map +1 -0
- package/esm/models/operations/checkverificationstatus.js +112 -0
- package/esm/models/operations/checkverificationstatus.js.map +1 -0
- package/esm/models/operations/createaddress.d.ts +168 -0
- package/esm/models/operations/createaddress.d.ts.map +1 -0
- package/esm/models/operations/createaddress.js +188 -0
- package/esm/models/operations/createaddress.js.map +1 -0
- package/esm/models/operations/createcart.d.ts +91 -0
- package/esm/models/operations/createcart.d.ts.map +1 -0
- package/esm/models/operations/createcart.js +96 -0
- package/esm/models/operations/createcart.js.map +1 -0
- package/esm/models/operations/createcheckoutaddress.d.ts +154 -0
- package/esm/models/operations/createcheckoutaddress.d.ts.map +1 -0
- package/esm/models/operations/createcheckoutaddress.js +181 -0
- package/esm/models/operations/createcheckoutaddress.js.map +1 -0
- package/esm/models/operations/createnotificationpreferences.d.ts +136 -0
- package/esm/models/operations/createnotificationpreferences.d.ts.map +1 -0
- package/esm/models/operations/createnotificationpreferences.js +154 -0
- package/esm/models/operations/createnotificationpreferences.js.map +1 -0
- package/esm/models/operations/createorder.d.ts +199 -0
- package/esm/models/operations/createorder.d.ts.map +1 -0
- package/esm/models/operations/createorder.js +244 -0
- package/esm/models/operations/createorder.js.map +1 -0
- package/esm/models/operations/createproductreview.d.ts +66 -0
- package/esm/models/operations/createproductreview.d.ts.map +1 -0
- package/esm/models/operations/createproductreview.js +82 -0
- package/esm/models/operations/createproductreview.js.map +1 -0
- package/esm/models/operations/deleteaddress.d.ts +68 -0
- package/esm/models/operations/deleteaddress.d.ts.map +1 -0
- package/esm/models/operations/deleteaddress.js +81 -0
- package/esm/models/operations/deleteaddress.js.map +1 -0
- package/esm/models/operations/deletecart.d.ts +63 -0
- package/esm/models/operations/deletecart.d.ts.map +1 -0
- package/esm/models/operations/deletecart.js +77 -0
- package/esm/models/operations/deletecart.js.map +1 -0
- package/esm/models/operations/generateotp.d.ts +205 -0
- package/esm/models/operations/generateotp.d.ts.map +1 -0
- package/esm/models/operations/generateotp.js +174 -0
- package/esm/models/operations/generateotp.js.map +1 -0
- package/esm/models/operations/getaddressdetail.d.ts +170 -0
- package/esm/models/operations/getaddressdetail.d.ts.map +1 -0
- package/esm/models/operations/getaddressdetail.js +199 -0
- package/esm/models/operations/getaddressdetail.js.map +1 -0
- package/esm/models/operations/getanonymoustoken.d.ts +110 -0
- package/esm/models/operations/getanonymoustoken.d.ts.map +1 -0
- package/esm/models/operations/getanonymoustoken.js +119 -0
- package/esm/models/operations/getanonymoustoken.js.map +1 -0
- package/esm/models/operations/getcart.d.ts +1 -0
- package/esm/models/operations/getcart.d.ts.map +1 -1
- package/esm/models/operations/getcart.js +10 -0
- package/esm/models/operations/getcart.js.map +1 -1
- package/esm/models/operations/getnotificationpreferences.d.ts +106 -0
- package/esm/models/operations/getnotificationpreferences.d.ts.map +1 -0
- package/esm/models/operations/getnotificationpreferences.js +109 -0
- package/esm/models/operations/getnotificationpreferences.js.map +1 -0
- package/esm/models/operations/getorderdetail.d.ts +91 -0
- package/esm/models/operations/getorderdetail.d.ts.map +1 -0
- package/esm/models/operations/getorderdetail.js +105 -0
- package/esm/models/operations/getorderdetail.js.map +1 -0
- package/esm/models/operations/getpaymentstatus.d.ts +126 -0
- package/esm/models/operations/getpaymentstatus.d.ts.map +1 -0
- package/esm/models/operations/getpaymentstatus.js +140 -0
- package/esm/models/operations/getpaymentstatus.js.map +1 -0
- package/esm/models/operations/getproductdetail.d.ts +96 -0
- package/esm/models/operations/getproductdetail.d.ts.map +1 -0
- package/esm/models/operations/getproductdetail.js +109 -0
- package/esm/models/operations/getproductdetail.js.map +1 -0
- package/esm/models/operations/getuserdetail.d.ts +103 -0
- package/esm/models/operations/getuserdetail.d.ts.map +1 -0
- package/esm/models/operations/getuserdetail.js +96 -0
- package/esm/models/operations/getuserdetail.js.map +1 -0
- package/esm/models/operations/getvariantdetail.d.ts +101 -0
- package/esm/models/operations/getvariantdetail.d.ts.map +1 -0
- package/esm/models/operations/getvariantdetail.js +113 -0
- package/esm/models/operations/getvariantdetail.js.map +1 -0
- package/esm/models/operations/index.d.ts +48 -89
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +48 -89
- package/esm/models/operations/index.js.map +1 -1
- package/esm/models/operations/listaddresses.d.ts +181 -0
- package/esm/models/operations/listaddresses.d.ts.map +1 -0
- package/esm/models/operations/listaddresses.js +200 -0
- package/esm/models/operations/listaddresses.js.map +1 -0
- package/esm/models/operations/listcategories.d.ts +111 -0
- package/esm/models/operations/listcategories.d.ts.map +1 -0
- package/esm/models/operations/listcategories.js +117 -0
- package/esm/models/operations/listcategories.js.map +1 -0
- package/esm/models/operations/listcountrypincodes.d.ts +106 -0
- package/esm/models/operations/listcountrypincodes.d.ts.map +1 -0
- package/esm/models/operations/listcountrypincodes.js +111 -0
- package/esm/models/operations/listcountrypincodes.js.map +1 -0
- package/esm/models/operations/listcrosssellproducts.d.ts +111 -0
- package/esm/models/operations/listcrosssellproducts.d.ts.map +1 -0
- package/esm/models/operations/listcrosssellproducts.js +115 -0
- package/esm/models/operations/listcrosssellproducts.js.map +1 -0
- package/esm/models/operations/listorders.d.ts +116 -0
- package/esm/models/operations/listorders.d.ts.map +1 -0
- package/esm/models/operations/listorders.js +117 -0
- package/esm/models/operations/listorders.js.map +1 -0
- package/esm/models/operations/listordershipments.d.ts +91 -0
- package/esm/models/operations/listordershipments.d.ts.map +1 -0
- package/esm/models/operations/listordershipments.js +105 -0
- package/esm/models/operations/listordershipments.js.map +1 -0
- package/esm/models/operations/listproductreviews.d.ts +123 -0
- package/esm/models/operations/listproductreviews.d.ts.map +1 -0
- package/esm/models/operations/listproductreviews.js +131 -0
- package/esm/models/operations/listproductreviews.js.map +1 -0
- package/esm/models/operations/listproducts.d.ts +116 -0
- package/esm/models/operations/listproducts.d.ts.map +1 -0
- package/esm/models/operations/listproducts.js +119 -0
- package/esm/models/operations/listproducts.js.map +1 -0
- package/esm/models/operations/listproductvariants.d.ts +96 -0
- package/esm/models/operations/listproductvariants.d.ts.map +1 -0
- package/esm/models/operations/listproductvariants.js +109 -0
- package/esm/models/operations/listproductvariants.js.map +1 -0
- package/esm/models/operations/listsimilarproducts.d.ts +111 -0
- package/esm/models/operations/listsimilarproducts.d.ts.map +1 -0
- package/esm/models/operations/listsimilarproducts.js +115 -0
- package/esm/models/operations/listsimilarproducts.js.map +1 -0
- package/esm/models/operations/listskus.d.ts +121 -0
- package/esm/models/operations/listskus.d.ts.map +1 -0
- package/esm/models/operations/listskus.js +121 -0
- package/esm/models/operations/listskus.js.map +1 -0
- package/esm/models/operations/listupsellproducts.d.ts +114 -0
- package/esm/models/operations/listupsellproducts.d.ts.map +1 -0
- package/esm/models/operations/listupsellproducts.js +115 -0
- package/esm/models/operations/listupsellproducts.js.map +1 -0
- package/esm/models/operations/listuserreviews.d.ts +93 -0
- package/esm/models/operations/listuserreviews.d.ts.map +1 -0
- package/esm/models/operations/listuserreviews.js +117 -0
- package/esm/models/operations/listuserreviews.js.map +1 -0
- package/esm/models/operations/loginwithemail.d.ts +119 -0
- package/esm/models/operations/loginwithemail.d.ts.map +1 -0
- package/esm/models/operations/loginwithemail.js +118 -0
- package/esm/models/operations/loginwithemail.js.map +1 -0
- package/esm/models/operations/loginwithphone.d.ts +124 -0
- package/esm/models/operations/loginwithphone.d.ts.map +1 -0
- package/esm/models/operations/loginwithphone.js +122 -0
- package/esm/models/operations/loginwithphone.js.map +1 -0
- package/esm/models/operations/loginwithwhatsapp.d.ts +124 -0
- package/esm/models/operations/loginwithwhatsapp.d.ts.map +1 -0
- package/esm/models/operations/loginwithwhatsapp.js +122 -0
- package/esm/models/operations/loginwithwhatsapp.js.map +1 -0
- package/esm/models/operations/logout.d.ts +85 -0
- package/esm/models/operations/logout.d.ts.map +1 -0
- package/esm/models/operations/logout.js +86 -0
- package/esm/models/operations/logout.js.map +1 -0
- package/esm/models/operations/refreshtoken.d.ts +110 -0
- package/esm/models/operations/refreshtoken.d.ts.map +1 -0
- package/esm/models/operations/refreshtoken.js +116 -0
- package/esm/models/operations/refreshtoken.js.map +1 -0
- package/esm/models/operations/removecoupon.d.ts +93 -0
- package/esm/models/operations/removecoupon.d.ts.map +1 -0
- package/esm/models/operations/removecoupon.js +109 -0
- package/esm/models/operations/removecoupon.js.map +1 -0
- package/esm/models/operations/retryorderpayment.d.ts +194 -0
- package/esm/models/operations/retryorderpayment.d.ts.map +1 -0
- package/esm/models/operations/retryorderpayment.js +252 -0
- package/esm/models/operations/retryorderpayment.js.map +1 -0
- package/esm/models/operations/searchproducts.d.ts +111 -0
- package/esm/models/operations/searchproducts.d.ts.map +1 -0
- package/esm/models/operations/searchproducts.js +115 -0
- package/esm/models/operations/searchproducts.js.map +1 -0
- package/esm/models/operations/subscribenewsletter.d.ts +60 -0
- package/esm/models/operations/subscribenewsletter.d.ts.map +1 -0
- package/esm/models/operations/subscribenewsletter.js +68 -0
- package/esm/models/operations/subscribenewsletter.js.map +1 -0
- package/esm/models/operations/updateaddressdetail.d.ts +173 -0
- package/esm/models/operations/updateaddressdetail.d.ts.map +1 -0
- package/esm/models/operations/updateaddressdetail.js +192 -0
- package/esm/models/operations/updateaddressdetail.js.map +1 -0
- package/esm/models/operations/updatecart.d.ts +96 -0
- package/esm/models/operations/updatecart.d.ts.map +1 -0
- package/esm/models/operations/updatecart.js +107 -0
- package/esm/models/operations/updatecart.js.map +1 -0
- package/esm/models/operations/updatenotificationpreferences.d.ts +136 -0
- package/esm/models/operations/updatenotificationpreferences.d.ts.map +1 -0
- package/esm/models/operations/updatenotificationpreferences.js +154 -0
- package/esm/models/operations/updatenotificationpreferences.js.map +1 -0
- package/esm/models/operations/updateuser.d.ts +105 -0
- package/esm/models/operations/updateuser.d.ts.map +1 -0
- package/esm/models/operations/updateuser.js +107 -0
- package/esm/models/operations/updateuser.js.map +1 -0
- package/esm/models/operations/verifyotp.d.ts +170 -0
- package/esm/models/operations/verifyotp.d.ts.map +1 -0
- package/esm/models/operations/verifyotp.js +153 -0
- package/esm/models/operations/verifyotp.js.map +1 -0
- package/esm/sdk/auth.d.ts +35 -34
- package/esm/sdk/auth.d.ts.map +1 -1
- package/esm/sdk/auth.js +50 -47
- package/esm/sdk/auth.js.map +1 -1
- package/esm/sdk/campaigns.d.ts +9 -4
- package/esm/sdk/campaigns.d.ts.map +1 -1
- package/esm/sdk/campaigns.js +10 -3
- package/esm/sdk/campaigns.js.map +1 -1
- package/esm/sdk/carts.d.ts +4 -4
- package/esm/sdk/carts.d.ts.map +1 -1
- package/esm/sdk/carts.js +12 -12
- package/esm/sdk/carts.js.map +1 -1
- package/esm/sdk/catalog.d.ts +78 -10
- package/esm/sdk/catalog.d.ts.map +1 -1
- package/esm/sdk/catalog.js +110 -12
- package/esm/sdk/catalog.js.map +1 -1
- package/esm/sdk/checkout.d.ts +4 -39
- package/esm/sdk/checkout.d.ts.map +1 -1
- package/esm/sdk/checkout.js +4 -54
- package/esm/sdk/checkout.js.map +1 -1
- package/esm/sdk/common.d.ts +12 -0
- package/esm/sdk/common.d.ts.map +1 -0
- package/esm/sdk/common.js +18 -0
- package/esm/sdk/common.js.map +1 -0
- package/esm/sdk/customers.d.ts +30 -19
- package/esm/sdk/customers.d.ts.map +1 -1
- package/esm/sdk/customers.js +42 -24
- package/esm/sdk/customers.js.map +1 -1
- package/esm/sdk/orders.d.ts +20 -22
- package/esm/sdk/orders.d.ts.map +1 -1
- package/esm/sdk/orders.js +35 -37
- package/esm/sdk/orders.js.map +1 -1
- package/esm/sdk/sdk.d.ts +3 -21
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +3 -27
- package/esm/sdk/sdk.js.map +1 -1
- package/esm/sdk/shipping.d.ts +2 -2
- package/esm/sdk/shipping.d.ts.map +1 -1
- package/esm/sdk/shipping.js +4 -4
- package/esm/sdk/shipping.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +6 -7
- package/src/funcs/authCheckVerificationStatus.ts +135 -0
- package/src/funcs/authCreateNotificationPreferences.ts +149 -0
- package/src/funcs/authGenerateOtp.ts +13 -8
- package/src/funcs/authGetAnonymousToken.ts +124 -0
- package/src/funcs/authGetNotificationPreferences.ts +146 -0
- package/src/funcs/authGetUserDetail.ts +138 -0
- package/src/funcs/authLoginWithEmail.ts +13 -8
- package/src/funcs/authLoginWithPhone.ts +13 -8
- package/src/funcs/authLoginWithWhatsapp.ts +13 -7
- package/src/funcs/authLogout.ts +116 -0
- package/src/funcs/authRefreshToken.ts +13 -8
- package/src/funcs/authUpdateNotificationPreferences.ts +149 -0
- package/src/funcs/authUpdateUser.ts +139 -0
- package/src/funcs/authVerifyOtp.ts +13 -8
- package/src/funcs/campaignsSubscribeNewsletter.ts +135 -0
- package/src/funcs/cartsCreateCart.ts +132 -0
- package/src/funcs/cartsDeleteCart.ts +149 -0
- package/src/funcs/cartsGetCart.ts +149 -0
- package/src/funcs/cartsUpdateCart.ts +153 -0
- package/src/funcs/catalogCreateProductReview.ts +168 -0
- package/src/funcs/catalogGetProductDetail.ts +154 -0
- package/src/funcs/catalogGetVariantDetail.ts +160 -0
- package/src/funcs/catalogListCategories.ts +139 -0
- package/src/funcs/catalogListCrosssellProducts.ts +153 -0
- package/src/funcs/catalogListProductReviews.ts +160 -0
- package/src/funcs/catalogListProductVariants.ts +159 -0
- package/src/funcs/catalogListProducts.ts +151 -0
- package/src/funcs/catalogListSimilarProducts.ts +153 -0
- package/src/funcs/catalogListSkus.ts +152 -0
- package/src/funcs/catalogListUpsellProducts.ts +152 -0
- package/src/funcs/catalogSearchProducts.ts +141 -0
- package/src/funcs/checkoutApplyCoupon.ts +13 -8
- package/src/funcs/checkoutCreateCheckoutAddress.ts +149 -0
- package/src/funcs/checkoutRemoveCoupon.ts +13 -8
- package/src/funcs/commonListCountryPincodes.ts +151 -0
- package/src/funcs/customersCreateAddress.ts +150 -0
- package/src/funcs/customersDeleteAddress.ts +155 -0
- package/src/funcs/customersGetAddressDetail.ts +155 -0
- package/src/funcs/customersListAddresses.ts +144 -0
- package/src/funcs/customersListUserReviews.ts +138 -0
- package/src/funcs/customersUpdateAddressDetail.ts +162 -0
- package/src/funcs/ordersCancelOrder.ts +150 -0
- package/src/funcs/ordersCreateOrder.ts +146 -0
- package/src/funcs/ordersGetOrderDetail.ts +149 -0
- package/src/funcs/ordersGetPaymentStatus.ts +138 -0
- package/src/funcs/ordersListOrderShipments.ts +151 -0
- package/src/funcs/ordersListOrders.ts +140 -0
- package/src/funcs/ordersRetryOrderPayment.ts +153 -0
- package/src/funcs/shippingCheckDeliveryAvailability.ts +151 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/retries.ts +0 -1
- package/src/models/components/cart.ts +128 -185
- package/src/models/components/cartitem.ts +196 -143
- package/src/models/components/category.ts +97 -0
- package/src/models/components/createreview.ts +8 -152
- package/src/models/components/customeraddress.ts +44 -211
- package/src/models/components/customeraddressinput.ts +153 -0
- package/src/models/components/index.ts +2 -24
- package/src/models/components/juspaypaymentinfo.ts +8 -76
- package/src/models/components/orderdetail.ts +14 -16
- package/src/models/components/orderitem.ts +4 -31
- package/src/models/components/payupaymentinfo.ts +12 -103
- package/src/models/components/product.ts +4 -4
- package/src/models/components/productbundleitem.ts +4 -4
- package/src/models/components/productcategory.ts +14 -94
- package/src/models/components/productdetail.ts +4 -4
- package/src/models/components/productpricing.ts +4 -29
- package/src/models/components/seo.ts +4 -4
- package/src/models/components/sku.ts +4 -4
- package/src/models/components/variant.ts +4 -4
- package/src/models/components/variantdetail.ts +4 -4
- package/src/models/operations/applycoupon.ts +223 -0
- package/src/models/operations/cancelorder.ts +337 -0
- package/src/models/operations/checkdeliveryavailability.ts +152 -0
- package/src/models/operations/checkverificationstatus.ts +260 -0
- package/src/models/operations/createaddress.ts +387 -0
- package/src/models/operations/createcart.ts +208 -0
- package/src/models/operations/createcheckoutaddress.ts +373 -0
- package/src/models/operations/createnotificationpreferences.ts +360 -0
- package/src/models/operations/createorder.ts +483 -0
- package/src/models/operations/createproductreview.ts +163 -0
- package/src/models/operations/deleteaddress.ts +163 -0
- package/src/models/operations/deletecart.ts +154 -0
- package/src/models/operations/generateotp.ts +343 -0
- package/src/models/operations/getaddressdetail.ts +401 -0
- package/src/models/operations/getanonymoustoken.ts +252 -0
- package/src/models/operations/getcart.ts +11 -0
- package/src/models/operations/getnotificationpreferences.ts +250 -0
- package/src/models/operations/getorderdetail.ts +217 -0
- package/src/models/operations/getpaymentstatus.ts +264 -0
- package/src/models/operations/getproductdetail.ts +228 -0
- package/src/models/operations/getuserdetail.ts +220 -0
- package/src/models/operations/getvariantdetail.ts +237 -0
- package/src/models/operations/index.ts +48 -89
- package/src/models/operations/listaddresses.ts +403 -0
- package/src/models/operations/listcategories.ts +249 -0
- package/src/models/operations/listcountrypincodes.ts +240 -0
- package/src/models/operations/listcrosssellproducts.ts +254 -0
- package/src/models/operations/listorders.ts +254 -0
- package/src/models/operations/listordershipments.ts +219 -0
- package/src/models/operations/listproductreviews.ts +277 -0
- package/src/models/operations/listproducts.ts +249 -0
- package/src/models/operations/listproductvariants.ts +228 -0
- package/src/models/operations/listsimilarproducts.ts +249 -0
- package/src/models/operations/listskus.ts +259 -0
- package/src/models/operations/listupsellproducts.ts +252 -0
- package/src/models/operations/listuserreviews.ts +235 -0
- package/src/models/operations/loginwithemail.ts +259 -0
- package/src/models/operations/loginwithphone.ts +268 -0
- package/src/models/operations/loginwithwhatsapp.ts +272 -0
- package/src/models/operations/logout.ts +180 -0
- package/src/models/operations/refreshtoken.ts +248 -0
- package/src/models/operations/removecoupon.ts +223 -0
- package/src/models/operations/retryorderpayment.ts +526 -0
- package/src/models/operations/searchproducts.ts +231 -0
- package/src/models/operations/subscribenewsletter.ts +146 -0
- package/src/models/operations/updateaddressdetail.ts +402 -0
- package/src/models/operations/updatecart.ts +224 -0
- package/src/models/operations/updatenotificationpreferences.ts +360 -0
- package/src/models/operations/updateuser.ts +233 -0
- package/src/models/operations/verifyotp.ts +306 -0
- package/src/sdk/auth.ts +82 -75
- package/src/sdk/campaigns.ts +19 -5
- package/src/sdk/carts.ts +18 -18
- package/src/sdk/catalog.ts +197 -17
- package/src/sdk/checkout.ts +10 -100
- package/src/sdk/common.ts +27 -0
- package/src/sdk/customers.ts +69 -34
- package/src/sdk/orders.ts +55 -55
- package/src/sdk/sdk.ts +4 -40
- package/src/sdk/shipping.ts +6 -6
- package/docs/sdks/addresses/README.md +0 -447
- package/docs/sdks/analytics/README.md +0 -106
- package/docs/sdks/categories/README.md +0 -88
- package/docs/sdks/cestorefrontorderspayments/README.md +0 -86
- package/docs/sdks/cestorefrontreviews/README.md +0 -178
- package/docs/sdks/cestorefrontuser/README.md +0 -896
- package/docs/sdks/coupons/README.md +0 -79
- package/docs/sdks/juspay/README.md +0 -242
- package/docs/sdks/loyalty/README.md +0 -167
- package/docs/sdks/newsletter/README.md +0 -84
- package/docs/sdks/notificationpreferences/README.md +0 -242
- package/docs/sdks/offers/README.md +0 -6
- package/docs/sdks/payments/README.md +0 -406
- package/docs/sdks/products/README.md +0 -390
- package/docs/sdks/promotions/README.md +0 -80
- package/docs/sdks/refunds/README.md +0 -86
- package/docs/sdks/reviews/README.md +0 -84
- package/docs/sdks/shipments/README.md +0 -86
- package/docs/sdks/skus/README.md +0 -86
- package/docs/sdks/user/README.md +0 -6
- package/docs/sdks/utils/README.md +0 -233
- package/docs/sdks/variants/README.md +0 -167
- package/docs/sdks/wishlist/README.md +0 -258
- package/esm/funcs/analyticsTrack.d.ts +0 -16
- package/esm/funcs/analyticsTrack.d.ts.map +0 -1
- package/esm/funcs/analyticsTrack.js +0 -72
- package/esm/funcs/analyticsTrack.js.map +0 -1
- package/esm/funcs/authLoginAnonymously.d.ts +0 -16
- package/esm/funcs/authLoginAnonymously.d.ts.map +0 -1
- package/esm/funcs/authLoginAnonymously.js +0 -66
- package/esm/funcs/authLoginAnonymously.js.map +0 -1
- package/esm/funcs/authLoginWithPassword.d.ts +0 -15
- package/esm/funcs/authLoginWithPassword.d.ts.map +0 -1
- package/esm/funcs/authLoginWithPassword.js +0 -71
- package/esm/funcs/authLoginWithPassword.js.map +0 -1
- package/esm/funcs/authRegisterWithEmail.d.ts +0 -16
- package/esm/funcs/authRegisterWithEmail.d.ts.map +0 -1
- package/esm/funcs/authRegisterWithEmail.js +0 -72
- package/esm/funcs/authRegisterWithEmail.js.map +0 -1
- package/esm/funcs/authRegisterWithPassword.d.ts +0 -16
- package/esm/funcs/authRegisterWithPassword.d.ts.map +0 -1
- package/esm/funcs/authRegisterWithPassword.js +0 -72
- package/esm/funcs/authRegisterWithPassword.js.map +0 -1
- package/esm/funcs/authRegisterWithPhone.d.ts +0 -15
- package/esm/funcs/authRegisterWithPhone.d.ts.map +0 -1
- package/esm/funcs/authRegisterWithPhone.js +0 -71
- package/esm/funcs/authRegisterWithPhone.js.map +0 -1
- package/esm/funcs/authRegisterWithWhatsapp.d.ts +0 -16
- package/esm/funcs/authRegisterWithWhatsapp.d.ts.map +0 -1
- package/esm/funcs/authRegisterWithWhatsapp.js +0 -72
- package/esm/funcs/authRegisterWithWhatsapp.js.map +0 -1
- package/esm/funcs/authUserAddProfileImage.d.ts +0 -15
- package/esm/funcs/authUserAddProfileImage.d.ts.map +0 -1
- package/esm/funcs/authUserAddProfileImage.js +0 -92
- package/esm/funcs/authUserAddProfileImage.js.map +0 -1
- package/esm/funcs/authUserChangePassword.d.ts +0 -16
- package/esm/funcs/authUserChangePassword.d.ts.map +0 -1
- package/esm/funcs/authUserChangePassword.js +0 -75
- package/esm/funcs/authUserChangePassword.js.map +0 -1
- package/esm/funcs/authUserDeactivateAccount.d.ts +0 -15
- package/esm/funcs/authUserDeactivateAccount.d.ts.map +0 -1
- package/esm/funcs/authUserDeactivateAccount.js +0 -76
- package/esm/funcs/authUserDeactivateAccount.js.map +0 -1
- package/esm/funcs/authUserDeleteProfileImage.d.ts +0 -15
- package/esm/funcs/authUserDeleteProfileImage.d.ts.map +0 -1
- package/esm/funcs/authUserDeleteProfileImage.js +0 -76
- package/esm/funcs/authUserDeleteProfileImage.js.map +0 -1
- package/esm/funcs/authUserForgotPassword.d.ts +0 -15
- package/esm/funcs/authUserForgotPassword.d.ts.map +0 -1
- package/esm/funcs/authUserForgotPassword.js +0 -71
- package/esm/funcs/authUserForgotPassword.js.map +0 -1
- package/esm/funcs/authUserGet.d.ts +0 -15
- package/esm/funcs/authUserGet.d.ts.map +0 -1
- package/esm/funcs/authUserGet.js +0 -76
- package/esm/funcs/authUserGet.js.map +0 -1
- package/esm/funcs/authUserGetProfileImage.d.ts +0 -15
- package/esm/funcs/authUserGetProfileImage.d.ts.map +0 -1
- package/esm/funcs/authUserGetProfileImage.js +0 -76
- package/esm/funcs/authUserGetProfileImage.js.map +0 -1
- package/esm/funcs/authUserLogout.d.ts +0 -15
- package/esm/funcs/authUserLogout.d.ts.map +0 -1
- package/esm/funcs/authUserLogout.js +0 -61
- package/esm/funcs/authUserLogout.js.map +0 -1
- package/esm/funcs/authUserResetPassword.d.ts +0 -16
- package/esm/funcs/authUserResetPassword.d.ts.map +0 -1
- package/esm/funcs/authUserResetPassword.js +0 -75
- package/esm/funcs/authUserResetPassword.js.map +0 -1
- package/esm/funcs/authUserUpdate.d.ts +0 -15
- package/esm/funcs/authUserUpdate.d.ts.map +0 -1
- package/esm/funcs/authUserUpdate.js +0 -77
- package/esm/funcs/authUserUpdate.js.map +0 -1
- package/esm/funcs/authUserUpdateProfileImage.d.ts +0 -15
- package/esm/funcs/authUserUpdateProfileImage.d.ts.map +0 -1
- package/esm/funcs/authUserUpdateProfileImage.js +0 -94
- package/esm/funcs/authUserUpdateProfileImage.js.map +0 -1
- package/esm/funcs/authVerifyEmailPhone.d.ts +0 -15
- package/esm/funcs/authVerifyEmailPhone.d.ts.map +0 -1
- package/esm/funcs/authVerifyEmailPhone.js +0 -71
- package/esm/funcs/authVerifyEmailPhone.js.map +0 -1
- package/esm/funcs/campaignsNewsletterSubscribe.d.ts +0 -15
- package/esm/funcs/campaignsNewsletterSubscribe.d.ts.map +0 -1
- package/esm/funcs/campaignsNewsletterSubscribe.js +0 -72
- package/esm/funcs/campaignsNewsletterSubscribe.js.map +0 -1
- package/esm/funcs/cartsAddItem.d.ts +0 -16
- package/esm/funcs/cartsAddItem.d.ts.map +0 -1
- package/esm/funcs/cartsAddItem.js +0 -81
- package/esm/funcs/cartsAddItem.js.map +0 -1
- package/esm/funcs/cartsCreate.d.ts +0 -15
- package/esm/funcs/cartsCreate.d.ts.map +0 -1
- package/esm/funcs/cartsCreate.js +0 -71
- package/esm/funcs/cartsCreate.js.map +0 -1
- package/esm/funcs/cartsDelete.d.ts +0 -16
- package/esm/funcs/cartsDelete.d.ts.map +0 -1
- package/esm/funcs/cartsDelete.js +0 -80
- package/esm/funcs/cartsDelete.js.map +0 -1
- package/esm/funcs/cartsGet.d.ts +0 -16
- package/esm/funcs/cartsGet.d.ts.map +0 -1
- package/esm/funcs/cartsGet.js +0 -80
- package/esm/funcs/cartsGet.js.map +0 -1
- package/esm/funcs/catalogCategoriesList.d.ts +0 -15
- package/esm/funcs/catalogCategoriesList.d.ts.map +0 -1
- package/esm/funcs/catalogCategoriesList.js +0 -77
- package/esm/funcs/catalogCategoriesList.js.map +0 -1
- package/esm/funcs/catalogGetSearchProducts.d.ts +0 -17
- package/esm/funcs/catalogGetSearchProducts.d.ts.map +0 -1
- package/esm/funcs/catalogGetSearchProducts.js +0 -78
- package/esm/funcs/catalogGetSearchProducts.js.map +0 -1
- package/esm/funcs/catalogProductsGet.d.ts +0 -16
- package/esm/funcs/catalogProductsGet.d.ts.map +0 -1
- package/esm/funcs/catalogProductsGet.js +0 -84
- package/esm/funcs/catalogProductsGet.js.map +0 -1
- package/esm/funcs/catalogProductsGetCrossSells.d.ts +0 -16
- package/esm/funcs/catalogProductsGetCrossSells.d.ts.map +0 -1
- package/esm/funcs/catalogProductsGetCrossSells.js +0 -81
- package/esm/funcs/catalogProductsGetCrossSells.js.map +0 -1
- package/esm/funcs/catalogProductsGetSimilar.d.ts +0 -16
- package/esm/funcs/catalogProductsGetSimilar.d.ts.map +0 -1
- package/esm/funcs/catalogProductsGetSimilar.js +0 -81
- package/esm/funcs/catalogProductsGetSimilar.js.map +0 -1
- package/esm/funcs/catalogProductsGetUpsells.d.ts +0 -16
- package/esm/funcs/catalogProductsGetUpsells.d.ts.map +0 -1
- package/esm/funcs/catalogProductsGetUpsells.js +0 -81
- package/esm/funcs/catalogProductsGetUpsells.js.map +0 -1
- package/esm/funcs/catalogProductsList.d.ts +0 -16
- package/esm/funcs/catalogProductsList.d.ts.map +0 -1
- package/esm/funcs/catalogProductsList.js +0 -82
- package/esm/funcs/catalogProductsList.js.map +0 -1
- package/esm/funcs/catalogProductsReviewsCreate.d.ts +0 -16
- package/esm/funcs/catalogProductsReviewsCreate.d.ts.map +0 -1
- package/esm/funcs/catalogProductsReviewsCreate.js +0 -92
- package/esm/funcs/catalogProductsReviewsCreate.js.map +0 -1
- package/esm/funcs/catalogProductsReviewsList.d.ts +0 -16
- package/esm/funcs/catalogProductsReviewsList.d.ts.map +0 -1
- package/esm/funcs/catalogProductsReviewsList.js +0 -88
- package/esm/funcs/catalogProductsReviewsList.js.map +0 -1
- package/esm/funcs/catalogProductsVariantsGet.d.ts +0 -16
- package/esm/funcs/catalogProductsVariantsGet.d.ts.map +0 -1
- package/esm/funcs/catalogProductsVariantsGet.js +0 -88
- package/esm/funcs/catalogProductsVariantsGet.js.map +0 -1
- package/esm/funcs/catalogProductsVariantsList.d.ts +0 -16
- package/esm/funcs/catalogProductsVariantsList.d.ts.map +0 -1
- package/esm/funcs/catalogProductsVariantsList.js +0 -84
- package/esm/funcs/catalogProductsVariantsList.js.map +0 -1
- package/esm/funcs/catalogSkusList.d.ts +0 -16
- package/esm/funcs/catalogSkusList.d.ts.map +0 -1
- package/esm/funcs/catalogSkusList.js +0 -83
- package/esm/funcs/catalogSkusList.js.map +0 -1
- package/esm/funcs/checkoutRedeemGiftCard.d.ts +0 -15
- package/esm/funcs/checkoutRedeemGiftCard.d.ts.map +0 -1
- package/esm/funcs/checkoutRedeemGiftCard.js +0 -71
- package/esm/funcs/checkoutRedeemGiftCard.js.map +0 -1
- package/esm/funcs/checkoutRedeemLoyaltyPoints.d.ts +0 -16
- package/esm/funcs/checkoutRedeemLoyaltyPoints.d.ts.map +0 -1
- package/esm/funcs/checkoutRedeemLoyaltyPoints.js +0 -75
- package/esm/funcs/checkoutRedeemLoyaltyPoints.js.map +0 -1
- package/esm/funcs/checkoutRemoveCreditBalance.d.ts +0 -16
- package/esm/funcs/checkoutRemoveCreditBalance.d.ts.map +0 -1
- package/esm/funcs/checkoutRemoveCreditBalance.js +0 -75
- package/esm/funcs/checkoutRemoveCreditBalance.js.map +0 -1
- package/esm/funcs/checkoutRemoveLoyaltyPoints.d.ts +0 -16
- package/esm/funcs/checkoutRemoveLoyaltyPoints.d.ts.map +0 -1
- package/esm/funcs/checkoutRemoveLoyaltyPoints.js +0 -75
- package/esm/funcs/checkoutRemoveLoyaltyPoints.js.map +0 -1
- package/esm/funcs/checkoutUpdateAddress.d.ts +0 -16
- package/esm/funcs/checkoutUpdateAddress.d.ts.map +0 -1
- package/esm/funcs/checkoutUpdateAddress.js +0 -75
- package/esm/funcs/checkoutUpdateAddress.js.map +0 -1
- package/esm/funcs/checkoutUseCreditBalance.d.ts +0 -16
- package/esm/funcs/checkoutUseCreditBalance.d.ts.map +0 -1
- package/esm/funcs/checkoutUseCreditBalance.js +0 -75
- package/esm/funcs/checkoutUseCreditBalance.js.map +0 -1
- package/esm/funcs/customersAddressesAdd.d.ts +0 -16
- package/esm/funcs/customersAddressesAdd.d.ts.map +0 -1
- package/esm/funcs/customersAddressesAdd.js +0 -81
- package/esm/funcs/customersAddressesAdd.js.map +0 -1
- package/esm/funcs/customersAddressesDelete.d.ts +0 -16
- package/esm/funcs/customersAddressesDelete.d.ts.map +0 -1
- package/esm/funcs/customersAddressesDelete.js +0 -84
- package/esm/funcs/customersAddressesDelete.js.map +0 -1
- package/esm/funcs/customersAddressesGet.d.ts +0 -16
- package/esm/funcs/customersAddressesGet.d.ts.map +0 -1
- package/esm/funcs/customersAddressesGet.js +0 -84
- package/esm/funcs/customersAddressesGet.js.map +0 -1
- package/esm/funcs/customersAddressesList.d.ts +0 -15
- package/esm/funcs/customersAddressesList.d.ts.map +0 -1
- package/esm/funcs/customersAddressesList.js +0 -81
- package/esm/funcs/customersAddressesList.js.map +0 -1
- package/esm/funcs/customersAddressesUpdate.d.ts +0 -16
- package/esm/funcs/customersAddressesUpdate.d.ts.map +0 -1
- package/esm/funcs/customersAddressesUpdate.js +0 -85
- package/esm/funcs/customersAddressesUpdate.js.map +0 -1
- package/esm/funcs/customersGetCustomersId.d.ts +0 -15
- package/esm/funcs/customersGetCustomersId.d.ts.map +0 -1
- package/esm/funcs/customersGetCustomersId.js +0 -76
- package/esm/funcs/customersGetCustomersId.js.map +0 -1
- package/esm/funcs/customersLoyaltyGet.d.ts +0 -16
- package/esm/funcs/customersLoyaltyGet.d.ts.map +0 -1
- package/esm/funcs/customersLoyaltyGet.js +0 -80
- package/esm/funcs/customersLoyaltyGet.js.map +0 -1
- package/esm/funcs/customersLoyaltyListActivities.d.ts +0 -16
- package/esm/funcs/customersLoyaltyListActivities.d.ts.map +0 -1
- package/esm/funcs/customersLoyaltyListActivities.js +0 -86
- package/esm/funcs/customersLoyaltyListActivities.js.map +0 -1
- package/esm/funcs/customersPostCustomers.d.ts +0 -17
- package/esm/funcs/customersPostCustomers.d.ts.map +0 -1
- package/esm/funcs/customersPostCustomers.js +0 -76
- package/esm/funcs/customersPostCustomers.js.map +0 -1
- package/esm/funcs/customersPutCustomersId.d.ts +0 -16
- package/esm/funcs/customersPutCustomersId.d.ts.map +0 -1
- package/esm/funcs/customersPutCustomersId.js +0 -81
- package/esm/funcs/customersPutCustomersId.js.map +0 -1
- package/esm/funcs/customersReviewsList.d.ts +0 -15
- package/esm/funcs/customersReviewsList.d.ts.map +0 -1
- package/esm/funcs/customersReviewsList.js +0 -76
- package/esm/funcs/customersReviewsList.js.map +0 -1
- package/esm/funcs/juspayGetPaymentsJuspayCustomer.d.ts +0 -16
- package/esm/funcs/juspayGetPaymentsJuspayCustomer.d.ts.map +0 -1
- package/esm/funcs/juspayGetPaymentsJuspayCustomer.js +0 -80
- package/esm/funcs/juspayGetPaymentsJuspayCustomer.js.map +0 -1
- package/esm/funcs/juspayPostPaymentsJuspayCreateCustomer.d.ts +0 -17
- package/esm/funcs/juspayPostPaymentsJuspayCreateCustomer.d.ts.map +0 -1
- package/esm/funcs/juspayPostPaymentsJuspayCreateCustomer.js +0 -76
- package/esm/funcs/juspayPostPaymentsJuspayCreateCustomer.js.map +0 -1
- package/esm/funcs/juspayPostPaymentsJuspayCreateOrder.d.ts +0 -18
- package/esm/funcs/juspayPostPaymentsJuspayCreateOrder.d.ts.map +0 -1
- package/esm/funcs/juspayPostPaymentsJuspayCreateOrder.js +0 -77
- package/esm/funcs/juspayPostPaymentsJuspayCreateOrder.js.map +0 -1
- package/esm/funcs/offersCouponsList.d.ts +0 -15
- package/esm/funcs/offersCouponsList.d.ts.map +0 -1
- package/esm/funcs/offersCouponsList.js +0 -61
- package/esm/funcs/offersCouponsList.js.map +0 -1
- package/esm/funcs/offersPromotionsList.d.ts +0 -16
- package/esm/funcs/offersPromotionsList.d.ts.map +0 -1
- package/esm/funcs/offersPromotionsList.js +0 -65
- package/esm/funcs/offersPromotionsList.js.map +0 -1
- package/esm/funcs/ordersCancel.d.ts +0 -16
- package/esm/funcs/ordersCancel.d.ts.map +0 -1
- package/esm/funcs/ordersCancel.js +0 -81
- package/esm/funcs/ordersCancel.js.map +0 -1
- package/esm/funcs/ordersCreate.d.ts +0 -16
- package/esm/funcs/ordersCreate.d.ts.map +0 -1
- package/esm/funcs/ordersCreate.js +0 -75
- package/esm/funcs/ordersCreate.js.map +0 -1
- package/esm/funcs/ordersGet.d.ts +0 -16
- package/esm/funcs/ordersGet.d.ts.map +0 -1
- package/esm/funcs/ordersGet.js +0 -80
- package/esm/funcs/ordersGet.js.map +0 -1
- package/esm/funcs/ordersGetOrdersIdPaymentStatus.d.ts +0 -15
- package/esm/funcs/ordersGetOrdersIdPaymentStatus.d.ts.map +0 -1
- package/esm/funcs/ordersGetOrdersIdPaymentStatus.js +0 -76
- package/esm/funcs/ordersGetOrdersIdPaymentStatus.js.map +0 -1
- package/esm/funcs/ordersList.d.ts +0 -15
- package/esm/funcs/ordersList.d.ts.map +0 -1
- package/esm/funcs/ordersList.js +0 -78
- package/esm/funcs/ordersList.js.map +0 -1
- package/esm/funcs/ordersPaymentsList.d.ts +0 -16
- package/esm/funcs/ordersPaymentsList.d.ts.map +0 -1
- package/esm/funcs/ordersPaymentsList.js +0 -80
- package/esm/funcs/ordersPaymentsList.js.map +0 -1
- package/esm/funcs/ordersRefundsList.d.ts +0 -16
- package/esm/funcs/ordersRefundsList.d.ts.map +0 -1
- package/esm/funcs/ordersRefundsList.js +0 -80
- package/esm/funcs/ordersRefundsList.js.map +0 -1
- package/esm/funcs/ordersRetryPayment.d.ts +0 -16
- package/esm/funcs/ordersRetryPayment.d.ts.map +0 -1
- package/esm/funcs/ordersRetryPayment.js +0 -81
- package/esm/funcs/ordersRetryPayment.js.map +0 -1
- package/esm/funcs/ordersShipmentsList.d.ts +0 -16
- package/esm/funcs/ordersShipmentsList.d.ts.map +0 -1
- package/esm/funcs/ordersShipmentsList.js +0 -80
- package/esm/funcs/ordersShipmentsList.js.map +0 -1
- package/esm/funcs/paymentsGenerateHash.d.ts +0 -16
- package/esm/funcs/paymentsGenerateHash.d.ts.map +0 -1
- package/esm/funcs/paymentsGenerateHash.js +0 -75
- package/esm/funcs/paymentsGenerateHash.js.map +0 -1
- package/esm/funcs/paymentsGetMethods.d.ts +0 -15
- package/esm/funcs/paymentsGetMethods.d.ts.map +0 -1
- package/esm/funcs/paymentsGetMethods.js +0 -74
- package/esm/funcs/paymentsGetMethods.js.map +0 -1
- package/esm/funcs/paymentsGetPaymentsCards.d.ts +0 -16
- package/esm/funcs/paymentsGetPaymentsCards.d.ts.map +0 -1
- package/esm/funcs/paymentsGetPaymentsCards.js +0 -78
- package/esm/funcs/paymentsGetPaymentsCards.js.map +0 -1
- package/esm/funcs/paymentsGetPaymentsVerifyVpa.d.ts +0 -16
- package/esm/funcs/paymentsGetPaymentsVerifyVpa.d.ts.map +0 -1
- package/esm/funcs/paymentsGetPaymentsVerifyVpa.js +0 -76
- package/esm/funcs/paymentsGetPaymentsVerifyVpa.js.map +0 -1
- package/esm/funcs/paymentsPostPaymentsCards.d.ts +0 -16
- package/esm/funcs/paymentsPostPaymentsCards.d.ts.map +0 -1
- package/esm/funcs/paymentsPostPaymentsCards.js +0 -75
- package/esm/funcs/paymentsPostPaymentsCards.js.map +0 -1
- package/esm/funcs/shippingCheckPincodeServiceability.d.ts +0 -16
- package/esm/funcs/shippingCheckPincodeServiceability.d.ts.map +0 -1
- package/esm/funcs/shippingCheckPincodeServiceability.js +0 -80
- package/esm/funcs/shippingCheckPincodeServiceability.js.map +0 -1
- package/esm/funcs/userNotificationPreferencesCreate.d.ts +0 -15
- package/esm/funcs/userNotificationPreferencesCreate.d.ts.map +0 -1
- package/esm/funcs/userNotificationPreferencesCreate.js +0 -79
- package/esm/funcs/userNotificationPreferencesCreate.js.map +0 -1
- package/esm/funcs/userNotificationPreferencesGet.d.ts +0 -15
- package/esm/funcs/userNotificationPreferencesGet.d.ts.map +0 -1
- package/esm/funcs/userNotificationPreferencesGet.js +0 -77
- package/esm/funcs/userNotificationPreferencesGet.js.map +0 -1
- package/esm/funcs/userNotificationPreferencesUpdate.d.ts +0 -15
- package/esm/funcs/userNotificationPreferencesUpdate.d.ts.map +0 -1
- package/esm/funcs/userNotificationPreferencesUpdate.js +0 -78
- package/esm/funcs/userNotificationPreferencesUpdate.js.map +0 -1
- package/esm/funcs/utilsGetCountries.d.ts +0 -15
- package/esm/funcs/utilsGetCountries.d.ts.map +0 -1
- package/esm/funcs/utilsGetCountries.js +0 -61
- package/esm/funcs/utilsGetCountries.js.map +0 -1
- package/esm/funcs/utilsGetPincodes.d.ts +0 -15
- package/esm/funcs/utilsGetPincodes.d.ts.map +0 -1
- package/esm/funcs/utilsGetPincodes.js +0 -81
- package/esm/funcs/utilsGetPincodes.js.map +0 -1
- package/esm/funcs/utilsGetStates.d.ts +0 -15
- package/esm/funcs/utilsGetStates.d.ts.map +0 -1
- package/esm/funcs/utilsGetStates.js +0 -73
- package/esm/funcs/utilsGetStates.js.map +0 -1
- package/esm/funcs/wishlistAdd.d.ts +0 -16
- package/esm/funcs/wishlistAdd.d.ts.map +0 -1
- package/esm/funcs/wishlistAdd.js +0 -81
- package/esm/funcs/wishlistAdd.js.map +0 -1
- package/esm/funcs/wishlistDelete.d.ts +0 -16
- package/esm/funcs/wishlistDelete.d.ts.map +0 -1
- package/esm/funcs/wishlistDelete.js +0 -81
- package/esm/funcs/wishlistDelete.js.map +0 -1
- package/esm/funcs/wishlistGet.d.ts +0 -15
- package/esm/funcs/wishlistGet.d.ts.map +0 -1
- package/esm/funcs/wishlistGet.js +0 -76
- package/esm/funcs/wishlistGet.js.map +0 -1
- package/esm/models/components/analyticsevent.d.ts +0 -162
- package/esm/models/components/analyticsevent.d.ts.map +0 -1
- package/esm/models/components/analyticsevent.js +0 -132
- package/esm/models/components/analyticsevent.js.map +0 -1
- package/esm/models/components/business.d.ts +0 -35
- package/esm/models/components/business.d.ts.map +0 -1
- package/esm/models/components/business.js +0 -48
- package/esm/models/components/business.js.map +0 -1
- package/esm/models/components/country.d.ts +0 -44
- package/esm/models/components/country.d.ts.map +0 -1
- package/esm/models/components/country.js +0 -64
- package/esm/models/components/country.js.map +0 -1
- package/esm/models/components/countrystate.d.ts +0 -36
- package/esm/models/components/countrystate.d.ts.map +0 -1
- package/esm/models/components/countrystate.js +0 -46
- package/esm/models/components/countrystate.js.map +0 -1
- package/esm/models/components/coupon.d.ts +0 -123
- package/esm/models/components/coupon.d.ts.map +0 -1
- package/esm/models/components/coupon.js +0 -142
- package/esm/models/components/coupon.js.map +0 -1
- package/esm/models/components/createcustomer.d.ts +0 -33
- package/esm/models/components/createcustomer.d.ts.map +0 -1
- package/esm/models/components/createcustomer.js +0 -35
- package/esm/models/components/createcustomer.js.map +0 -1
- package/esm/models/components/customerdetail.d.ts +0 -54
- package/esm/models/components/customerdetail.d.ts.map +0 -1
- package/esm/models/components/customerdetail.js +0 -65
- package/esm/models/components/customerdetail.js.map +0 -1
- package/esm/models/components/customerloyalty.d.ts +0 -41
- package/esm/models/components/customerloyalty.d.ts.map +0 -1
- package/esm/models/components/customerloyalty.js +0 -64
- package/esm/models/components/customerloyalty.js.map +0 -1
- package/esm/models/components/juspaycardpayload.d.ts +0 -39
- package/esm/models/components/juspaycardpayload.d.ts.map +0 -1
- package/esm/models/components/juspaycardpayload.js +0 -58
- package/esm/models/components/juspaycardpayload.js.map +0 -1
- package/esm/models/components/juspaycreatecardresponse.d.ts +0 -35
- package/esm/models/components/juspaycreatecardresponse.d.ts.map +0 -1
- package/esm/models/components/juspaycreatecardresponse.js +0 -52
- package/esm/models/components/juspaycreatecardresponse.js.map +0 -1
- package/esm/models/components/juspaycreatecustomerpayload.d.ts +0 -32
- package/esm/models/components/juspaycreatecustomerpayload.d.ts.map +0 -1
- package/esm/models/components/juspaycreatecustomerpayload.js +0 -40
- package/esm/models/components/juspaycreatecustomerpayload.js.map +0 -1
- package/esm/models/components/juspaycreateorderpayload.d.ts +0 -31
- package/esm/models/components/juspaycreateorderpayload.d.ts.map +0 -1
- package/esm/models/components/juspaycreateorderpayload.js +0 -44
- package/esm/models/components/juspaycreateorderpayload.js.map +0 -1
- package/esm/models/components/juspaycustomer.d.ts +0 -70
- package/esm/models/components/juspaycustomer.d.ts.map +0 -1
- package/esm/models/components/juspaycustomer.js +0 -91
- package/esm/models/components/juspaycustomer.js.map +0 -1
- package/esm/models/components/juspayorder.d.ts +0 -137
- package/esm/models/components/juspayorder.d.ts.map +0 -1
- package/esm/models/components/juspayorder.js +0 -179
- package/esm/models/components/juspayorder.js.map +0 -1
- package/esm/models/components/juspaypaymentmethod.d.ts +0 -33
- package/esm/models/components/juspaypaymentmethod.d.ts.map +0 -1
- package/esm/models/components/juspaypaymentmethod.js +0 -46
- package/esm/models/components/juspaypaymentmethod.js.map +0 -1
- package/esm/models/components/juspaysavedcard.d.ts +0 -29
- package/esm/models/components/juspaysavedcard.d.ts.map +0 -1
- package/esm/models/components/juspaysavedcard.js +0 -31
- package/esm/models/components/juspaysavedcard.js.map +0 -1
- package/esm/models/components/loyaltypointactivity.d.ts +0 -94
- package/esm/models/components/loyaltypointactivity.d.ts.map +0 -1
- package/esm/models/components/loyaltypointactivity.js +0 -102
- package/esm/models/components/loyaltypointactivity.js.map +0 -1
- package/esm/models/components/orderrefund.d.ts +0 -110
- package/esm/models/components/orderrefund.d.ts.map +0 -1
- package/esm/models/components/orderrefund.js +0 -117
- package/esm/models/components/orderrefund.js.map +0 -1
- package/esm/models/components/payucardpayload.d.ts +0 -97
- package/esm/models/components/payucardpayload.d.ts.map +0 -1
- package/esm/models/components/payucardpayload.js +0 -106
- package/esm/models/components/payucardpayload.js.map +0 -1
- package/esm/models/components/payucreatecardresponse.d.ts +0 -43
- package/esm/models/components/payucreatecardresponse.d.ts.map +0 -1
- package/esm/models/components/payucreatecardresponse.js +0 -62
- package/esm/models/components/payucreatecardresponse.js.map +0 -1
- package/esm/models/components/payupaymentmethod.d.ts +0 -68
- package/esm/models/components/payupaymentmethod.d.ts.map +0 -1
- package/esm/models/components/payupaymentmethod.js +0 -91
- package/esm/models/components/payupaymentmethod.js.map +0 -1
- package/esm/models/components/payusavedcard.d.ts +0 -29
- package/esm/models/components/payusavedcard.d.ts.map +0 -1
- package/esm/models/components/payusavedcard.js +0 -31
- package/esm/models/components/payusavedcard.js.map +0 -1
- package/esm/models/components/promotiondetail.d.ts +0 -117
- package/esm/models/components/promotiondetail.d.ts.map +0 -1
- package/esm/models/components/promotiondetail.js +0 -139
- package/esm/models/components/promotiondetail.js.map +0 -1
- package/esm/models/components/updatecustomer.d.ts +0 -30
- package/esm/models/components/updatecustomer.d.ts.map +0 -1
- package/esm/models/components/updatecustomer.js +0 -32
- package/esm/models/components/updatecustomer.js.map +0 -1
- package/esm/models/operations/deleteauthuseridprofileimage.d.ts +0 -68
- package/esm/models/operations/deleteauthuseridprofileimage.d.ts.map +0 -1
- package/esm/models/operations/deleteauthuseridprofileimage.js +0 -58
- package/esm/models/operations/deleteauthuseridprofileimage.js.map +0 -1
- package/esm/models/operations/deletecartid.d.ts +0 -62
- package/esm/models/operations/deletecartid.d.ts.map +0 -1
- package/esm/models/operations/deletecartid.js +0 -67
- package/esm/models/operations/deletecartid.js.map +0 -1
- package/esm/models/operations/deletecreditbalance.d.ts +0 -90
- package/esm/models/operations/deletecreditbalance.d.ts.map +0 -1
- package/esm/models/operations/deletecreditbalance.js +0 -95
- package/esm/models/operations/deletecreditbalance.js.map +0 -1
- package/esm/models/operations/deletecustomeraddressid.d.ts +0 -67
- package/esm/models/operations/deletecustomeraddressid.d.ts.map +0 -1
- package/esm/models/operations/deletecustomeraddressid.js +0 -71
- package/esm/models/operations/deletecustomeraddressid.js.map +0 -1
- package/esm/models/operations/deleteloyaltypoints.d.ts +0 -90
- package/esm/models/operations/deleteloyaltypoints.d.ts.map +0 -1
- package/esm/models/operations/deleteloyaltypoints.js +0 -95
- package/esm/models/operations/deleteloyaltypoints.js.map +0 -1
- package/esm/models/operations/deleteremovecoupons.d.ts +0 -92
- package/esm/models/operations/deleteremovecoupons.d.ts.map +0 -1
- package/esm/models/operations/deleteremovecoupons.js +0 -99
- package/esm/models/operations/deleteremovecoupons.js.map +0 -1
- package/esm/models/operations/deletewishlist.d.ts +0 -91
- package/esm/models/operations/deletewishlist.d.ts.map +0 -1
- package/esm/models/operations/deletewishlist.js +0 -106
- package/esm/models/operations/deletewishlist.js.map +0 -1
- package/esm/models/operations/getaddress.d.ts +0 -203
- package/esm/models/operations/getaddress.d.ts.map +0 -1
- package/esm/models/operations/getaddress.js +0 -206
- package/esm/models/operations/getaddress.js.map +0 -1
- package/esm/models/operations/getanalyticstrack.d.ts +0 -34
- package/esm/models/operations/getanalyticstrack.d.ts.map +0 -1
- package/esm/models/operations/getanalyticstrack.js +0 -33
- package/esm/models/operations/getanalyticstrack.js.map +0 -1
- package/esm/models/operations/getauthuserid.d.ts +0 -102
- package/esm/models/operations/getauthuserid.d.ts.map +0 -1
- package/esm/models/operations/getauthuserid.js +0 -86
- package/esm/models/operations/getauthuserid.js.map +0 -1
- package/esm/models/operations/getauthuseridnotificationpreferences.d.ts +0 -105
- package/esm/models/operations/getauthuseridnotificationpreferences.d.ts.map +0 -1
- package/esm/models/operations/getauthuseridnotificationpreferences.js +0 -97
- package/esm/models/operations/getauthuseridnotificationpreferences.js.map +0 -1
- package/esm/models/operations/getauthuseridprofileimage.d.ts +0 -104
- package/esm/models/operations/getauthuseridprofileimage.d.ts.map +0 -1
- package/esm/models/operations/getauthuseridprofileimage.js +0 -96
- package/esm/models/operations/getauthuseridprofileimage.js.map +0 -1
- package/esm/models/operations/getcommoncountries.d.ts +0 -62
- package/esm/models/operations/getcommoncountries.d.ts.map +0 -1
- package/esm/models/operations/getcommoncountries.js +0 -61
- package/esm/models/operations/getcommoncountries.js.map +0 -1
- package/esm/models/operations/getcommoncountriescountryisocodepincodes.d.ts +0 -105
- package/esm/models/operations/getcommoncountriescountryisocodepincodes.d.ts.map +0 -1
- package/esm/models/operations/getcommoncountriescountryisocodepincodes.js +0 -101
- package/esm/models/operations/getcommoncountriescountryisocodepincodes.js.map +0 -1
- package/esm/models/operations/getcommoncountriesisocodestates.d.ts +0 -90
- package/esm/models/operations/getcommoncountriesisocodestates.d.ts.map +0 -1
- package/esm/models/operations/getcommoncountriesisocodestates.js +0 -97
- package/esm/models/operations/getcommoncountriesisocodestates.js.map +0 -1
- package/esm/models/operations/getcoupons.d.ts +0 -62
- package/esm/models/operations/getcoupons.d.ts.map +0 -1
- package/esm/models/operations/getcoupons.js +0 -61
- package/esm/models/operations/getcoupons.js.map +0 -1
- package/esm/models/operations/getcrosssell.d.ts +0 -110
- package/esm/models/operations/getcrosssell.d.ts.map +0 -1
- package/esm/models/operations/getcrosssell.js +0 -105
- package/esm/models/operations/getcrosssell.js.map +0 -1
- package/esm/models/operations/getcustomeraddressid.d.ts +0 -192
- package/esm/models/operations/getcustomeraddressid.d.ts.map +0 -1
- package/esm/models/operations/getcustomeraddressid.js +0 -205
- package/esm/models/operations/getcustomeraddressid.js.map +0 -1
- package/esm/models/operations/getcustomersid.d.ts +0 -90
- package/esm/models/operations/getcustomersid.d.ts.map +0 -1
- package/esm/models/operations/getcustomersid.js +0 -95
- package/esm/models/operations/getcustomersid.js.map +0 -1
- package/esm/models/operations/getcustomersuseridreviews.d.ts +0 -92
- package/esm/models/operations/getcustomersuseridreviews.d.ts.map +0 -1
- package/esm/models/operations/getcustomersuseridreviews.js +0 -109
- package/esm/models/operations/getcustomersuseridreviews.js.map +0 -1
- package/esm/models/operations/getloyaltypoint.d.ts +0 -92
- package/esm/models/operations/getloyaltypoint.d.ts.map +0 -1
- package/esm/models/operations/getloyaltypoint.js +0 -105
- package/esm/models/operations/getloyaltypoint.js.map +0 -1
- package/esm/models/operations/getloyaltypointactivity.d.ts +0 -105
- package/esm/models/operations/getloyaltypointactivity.d.ts.map +0 -1
- package/esm/models/operations/getloyaltypointactivity.js +0 -114
- package/esm/models/operations/getloyaltypointactivity.js.map +0 -1
- package/esm/models/operations/getorders.d.ts +0 -115
- package/esm/models/operations/getorders.d.ts.map +0 -1
- package/esm/models/operations/getorders.js +0 -107
- package/esm/models/operations/getorders.js.map +0 -1
- package/esm/models/operations/getordersid.d.ts +0 -90
- package/esm/models/operations/getordersid.d.ts.map +0 -1
- package/esm/models/operations/getordersid.js +0 -95
- package/esm/models/operations/getordersid.js.map +0 -1
- package/esm/models/operations/getordersidpayments.d.ts +0 -90
- package/esm/models/operations/getordersidpayments.d.ts.map +0 -1
- package/esm/models/operations/getordersidpayments.js +0 -95
- package/esm/models/operations/getordersidpayments.js.map +0 -1
- package/esm/models/operations/getordersidpaymentstatus.d.ts +0 -125
- package/esm/models/operations/getordersidpaymentstatus.d.ts.map +0 -1
- package/esm/models/operations/getordersidpaymentstatus.js +0 -132
- package/esm/models/operations/getordersidpaymentstatus.js.map +0 -1
- package/esm/models/operations/getordersidrefunds.d.ts +0 -90
- package/esm/models/operations/getordersidrefunds.d.ts.map +0 -1
- package/esm/models/operations/getordersidrefunds.js +0 -95
- package/esm/models/operations/getordersidrefunds.js.map +0 -1
- package/esm/models/operations/getordersidshipments.d.ts +0 -90
- package/esm/models/operations/getordersidshipments.d.ts.map +0 -1
- package/esm/models/operations/getordersidshipments.js +0 -95
- package/esm/models/operations/getordersidshipments.js.map +0 -1
- package/esm/models/operations/getpaymentmethods.d.ts +0 -143
- package/esm/models/operations/getpaymentmethods.d.ts.map +0 -1
- package/esm/models/operations/getpaymentmethods.js +0 -158
- package/esm/models/operations/getpaymentmethods.js.map +0 -1
- package/esm/models/operations/getpaymentscards.d.ts +0 -143
- package/esm/models/operations/getpaymentscards.d.ts.map +0 -1
- package/esm/models/operations/getpaymentscards.js +0 -152
- package/esm/models/operations/getpaymentscards.js.map +0 -1
- package/esm/models/operations/getpaymentsjuspaycustomer.d.ts +0 -90
- package/esm/models/operations/getpaymentsjuspaycustomer.d.ts.map +0 -1
- package/esm/models/operations/getpaymentsjuspaycustomer.js +0 -95
- package/esm/models/operations/getpaymentsjuspaycustomer.js.map +0 -1
- package/esm/models/operations/getpaymentsverifyvpa.d.ts +0 -128
- package/esm/models/operations/getpaymentsverifyvpa.d.ts.map +0 -1
- package/esm/models/operations/getpaymentsverifyvpa.js +0 -121
- package/esm/models/operations/getpaymentsverifyvpa.js.map +0 -1
- package/esm/models/operations/getproductdetails.d.ts +0 -95
- package/esm/models/operations/getproductdetails.d.ts.map +0 -1
- package/esm/models/operations/getproductdetails.js +0 -99
- package/esm/models/operations/getproductdetails.js.map +0 -1
- package/esm/models/operations/getproducts.d.ts +0 -115
- package/esm/models/operations/getproducts.d.ts.map +0 -1
- package/esm/models/operations/getproducts.js +0 -109
- package/esm/models/operations/getproducts.js.map +0 -1
- package/esm/models/operations/getproductscategories.d.ts +0 -110
- package/esm/models/operations/getproductscategories.d.ts.map +0 -1
- package/esm/models/operations/getproductscategories.js +0 -107
- package/esm/models/operations/getproductscategories.js.map +0 -1
- package/esm/models/operations/getproductsidreviews.d.ts +0 -122
- package/esm/models/operations/getproductsidreviews.d.ts.map +0 -1
- package/esm/models/operations/getproductsidreviews.js +0 -121
- package/esm/models/operations/getproductsidreviews.js.map +0 -1
- package/esm/models/operations/getproductvariantdetail.d.ts +0 -100
- package/esm/models/operations/getproductvariantdetail.d.ts.map +0 -1
- package/esm/models/operations/getproductvariantdetail.js +0 -103
- package/esm/models/operations/getproductvariantdetail.js.map +0 -1
- package/esm/models/operations/getproductvariants.d.ts +0 -95
- package/esm/models/operations/getproductvariants.d.ts.map +0 -1
- package/esm/models/operations/getproductvariants.js +0 -99
- package/esm/models/operations/getproductvariants.js.map +0 -1
- package/esm/models/operations/getpromotions.d.ts +0 -62
- package/esm/models/operations/getpromotions.d.ts.map +0 -1
- package/esm/models/operations/getpromotions.js +0 -61
- package/esm/models/operations/getpromotions.js.map +0 -1
- package/esm/models/operations/getsearchproducts.d.ts +0 -110
- package/esm/models/operations/getsearchproducts.d.ts.map +0 -1
- package/esm/models/operations/getsearchproducts.js +0 -105
- package/esm/models/operations/getsearchproducts.js.map +0 -1
- package/esm/models/operations/getshipmentpincodeserviceability.d.ts +0 -62
- package/esm/models/operations/getshipmentpincodeserviceability.d.ts.map +0 -1
- package/esm/models/operations/getshipmentpincodeserviceability.js +0 -58
- package/esm/models/operations/getshipmentpincodeserviceability.js.map +0 -1
- package/esm/models/operations/getsimilar.d.ts +0 -110
- package/esm/models/operations/getsimilar.d.ts.map +0 -1
- package/esm/models/operations/getsimilar.js +0 -105
- package/esm/models/operations/getsimilar.js.map +0 -1
- package/esm/models/operations/getskus.d.ts +0 -120
- package/esm/models/operations/getskus.d.ts.map +0 -1
- package/esm/models/operations/getskus.js +0 -111
- package/esm/models/operations/getskus.js.map +0 -1
- package/esm/models/operations/getupsell.d.ts +0 -113
- package/esm/models/operations/getupsell.d.ts.map +0 -1
- package/esm/models/operations/getupsell.js +0 -105
- package/esm/models/operations/getupsell.js.map +0 -1
- package/esm/models/operations/getwishtlist.d.ts +0 -90
- package/esm/models/operations/getwishtlist.d.ts.map +0 -1
- package/esm/models/operations/getwishtlist.js +0 -95
- package/esm/models/operations/getwishtlist.js.map +0 -1
- package/esm/models/operations/postaddress.d.ts +0 -190
- package/esm/models/operations/postaddress.d.ts.map +0 -1
- package/esm/models/operations/postaddress.js +0 -195
- package/esm/models/operations/postaddress.js.map +0 -1
- package/esm/models/operations/postapplycoupons.d.ts +0 -92
- package/esm/models/operations/postapplycoupons.d.ts.map +0 -1
- package/esm/models/operations/postapplycoupons.js +0 -99
- package/esm/models/operations/postapplycoupons.js.map +0 -1
- package/esm/models/operations/postauthanonymous.d.ts +0 -109
- package/esm/models/operations/postauthanonymous.d.ts.map +0 -1
- package/esm/models/operations/postauthanonymous.js +0 -109
- package/esm/models/operations/postauthanonymous.js.map +0 -1
- package/esm/models/operations/postauthchangepassword.d.ts +0 -119
- package/esm/models/operations/postauthchangepassword.d.ts.map +0 -1
- package/esm/models/operations/postauthchangepassword.js +0 -115
- package/esm/models/operations/postauthchangepassword.js.map +0 -1
- package/esm/models/operations/postauthforgotpassword.d.ts +0 -117
- package/esm/models/operations/postauthforgotpassword.d.ts.map +0 -1
- package/esm/models/operations/postauthforgotpassword.js +0 -107
- package/esm/models/operations/postauthforgotpassword.js.map +0 -1
- package/esm/models/operations/postauthgenerateotp.d.ts +0 -204
- package/esm/models/operations/postauthgenerateotp.d.ts.map +0 -1
- package/esm/models/operations/postauthgenerateotp.js +0 -164
- package/esm/models/operations/postauthgenerateotp.js.map +0 -1
- package/esm/models/operations/postauthloginemail.d.ts +0 -118
- package/esm/models/operations/postauthloginemail.d.ts.map +0 -1
- package/esm/models/operations/postauthloginemail.js +0 -108
- package/esm/models/operations/postauthloginemail.js.map +0 -1
- package/esm/models/operations/postauthloginpassword.d.ts +0 -130
- package/esm/models/operations/postauthloginpassword.d.ts.map +0 -1
- package/esm/models/operations/postauthloginpassword.js +0 -115
- package/esm/models/operations/postauthloginpassword.js.map +0 -1
- package/esm/models/operations/postauthloginphone.d.ts +0 -152
- package/esm/models/operations/postauthloginphone.d.ts.map +0 -1
- package/esm/models/operations/postauthloginphone.js +0 -134
- package/esm/models/operations/postauthloginphone.js.map +0 -1
- package/esm/models/operations/postauthloginwhatsapp.d.ts +0 -152
- package/esm/models/operations/postauthloginwhatsapp.d.ts.map +0 -1
- package/esm/models/operations/postauthloginwhatsapp.js +0 -133
- package/esm/models/operations/postauthloginwhatsapp.js.map +0 -1
- package/esm/models/operations/postauthlogout.d.ts +0 -84
- package/esm/models/operations/postauthlogout.d.ts.map +0 -1
- package/esm/models/operations/postauthlogout.js +0 -76
- package/esm/models/operations/postauthlogout.js.map +0 -1
- package/esm/models/operations/postauthrefreshtoken.d.ts +0 -109
- package/esm/models/operations/postauthrefreshtoken.d.ts.map +0 -1
- package/esm/models/operations/postauthrefreshtoken.js +0 -106
- package/esm/models/operations/postauthrefreshtoken.js.map +0 -1
- package/esm/models/operations/postauthregisteremail.d.ts +0 -132
- package/esm/models/operations/postauthregisteremail.d.ts.map +0 -1
- package/esm/models/operations/postauthregisteremail.js +0 -121
- package/esm/models/operations/postauthregisteremail.js.map +0 -1
- package/esm/models/operations/postauthregisterpassword.d.ts +0 -135
- package/esm/models/operations/postauthregisterpassword.d.ts.map +0 -1
- package/esm/models/operations/postauthregisterpassword.js +0 -121
- package/esm/models/operations/postauthregisterpassword.js.map +0 -1
- package/esm/models/operations/postauthregisterphone.d.ts +0 -166
- package/esm/models/operations/postauthregisterphone.d.ts.map +0 -1
- package/esm/models/operations/postauthregisterphone.js +0 -146
- package/esm/models/operations/postauthregisterphone.js.map +0 -1
- package/esm/models/operations/postauthregisterwhatsapp.d.ts +0 -166
- package/esm/models/operations/postauthregisterwhatsapp.d.ts.map +0 -1
- package/esm/models/operations/postauthregisterwhatsapp.js +0 -148
- package/esm/models/operations/postauthregisterwhatsapp.js.map +0 -1
- package/esm/models/operations/postauthresetpassword.d.ts +0 -119
- package/esm/models/operations/postauthresetpassword.d.ts.map +0 -1
- package/esm/models/operations/postauthresetpassword.js +0 -114
- package/esm/models/operations/postauthresetpassword.js.map +0 -1
- package/esm/models/operations/postauthuseridnotificationpreferences.d.ts +0 -135
- package/esm/models/operations/postauthuseridnotificationpreferences.d.ts.map +0 -1
- package/esm/models/operations/postauthuseridnotificationpreferences.js +0 -142
- package/esm/models/operations/postauthuseridnotificationpreferences.js.map +0 -1
- package/esm/models/operations/postauthuseridprofileimage.d.ts +0 -158
- package/esm/models/operations/postauthuseridprofileimage.d.ts.map +0 -1
- package/esm/models/operations/postauthuseridprofileimage.js +0 -170
- package/esm/models/operations/postauthuseridprofileimage.js.map +0 -1
- package/esm/models/operations/postauthverifiedemailphone.d.ts +0 -114
- package/esm/models/operations/postauthverifiedemailphone.d.ts.map +0 -1
- package/esm/models/operations/postauthverifiedemailphone.js +0 -102
- package/esm/models/operations/postauthverifiedemailphone.js.map +0 -1
- package/esm/models/operations/postauthverifyotp.d.ts +0 -169
- package/esm/models/operations/postauthverifyotp.d.ts.map +0 -1
- package/esm/models/operations/postauthverifyotp.js +0 -143
- package/esm/models/operations/postauthverifyotp.js.map +0 -1
- package/esm/models/operations/postcartaddress.d.ts +0 -153
- package/esm/models/operations/postcartaddress.d.ts.map +0 -1
- package/esm/models/operations/postcartaddress.js +0 -171
- package/esm/models/operations/postcartaddress.js.map +0 -1
- package/esm/models/operations/postcartitemid.d.ts +0 -95
- package/esm/models/operations/postcartitemid.d.ts.map +0 -1
- package/esm/models/operations/postcartitemid.js +0 -97
- package/esm/models/operations/postcartitemid.js.map +0 -1
- package/esm/models/operations/postcartsid.d.ts +0 -93
- package/esm/models/operations/postcartsid.d.ts.map +0 -1
- package/esm/models/operations/postcartsid.js +0 -86
- package/esm/models/operations/postcartsid.js.map +0 -1
- package/esm/models/operations/postcheckoutredeemgiftcard.d.ts +0 -59
- package/esm/models/operations/postcheckoutredeemgiftcard.d.ts.map +0 -1
- package/esm/models/operations/postcheckoutredeemgiftcard.js +0 -67
- package/esm/models/operations/postcheckoutredeemgiftcard.js.map +0 -1
- package/esm/models/operations/postcreditbalance.d.ts +0 -92
- package/esm/models/operations/postcreditbalance.d.ts.map +0 -1
- package/esm/models/operations/postcreditbalance.js +0 -99
- package/esm/models/operations/postcreditbalance.js.map +0 -1
- package/esm/models/operations/postcustomers.d.ts +0 -62
- package/esm/models/operations/postcustomers.d.ts.map +0 -1
- package/esm/models/operations/postcustomers.js +0 -70
- package/esm/models/operations/postcustomers.js.map +0 -1
- package/esm/models/operations/postcustomersnewslettersubscription.d.ts +0 -59
- package/esm/models/operations/postcustomersnewslettersubscription.d.ts.map +0 -1
- package/esm/models/operations/postcustomersnewslettersubscription.js +0 -58
- package/esm/models/operations/postcustomersnewslettersubscription.js.map +0 -1
- package/esm/models/operations/postloyaltypoints.d.ts +0 -92
- package/esm/models/operations/postloyaltypoints.d.ts.map +0 -1
- package/esm/models/operations/postloyaltypoints.js +0 -99
- package/esm/models/operations/postloyaltypoints.js.map +0 -1
- package/esm/models/operations/postorder.d.ts +0 -198
- package/esm/models/operations/postorder.d.ts.map +0 -1
- package/esm/models/operations/postorder.js +0 -234
- package/esm/models/operations/postorder.js.map +0 -1
- package/esm/models/operations/postordersordernumber.d.ts +0 -155
- package/esm/models/operations/postordersordernumber.d.ts.map +0 -1
- package/esm/models/operations/postordersordernumber.js +0 -162
- package/esm/models/operations/postordersordernumber.js.map +0 -1
- package/esm/models/operations/postpaymentscards.d.ts +0 -173
- package/esm/models/operations/postpaymentscards.d.ts.map +0 -1
- package/esm/models/operations/postpaymentscards.js +0 -208
- package/esm/models/operations/postpaymentscards.js.map +0 -1
- package/esm/models/operations/postpaymentsgeneratehash.d.ts +0 -121
- package/esm/models/operations/postpaymentsgeneratehash.d.ts.map +0 -1
- package/esm/models/operations/postpaymentsgeneratehash.js +0 -118
- package/esm/models/operations/postpaymentsgeneratehash.js.map +0 -1
- package/esm/models/operations/postpaymentsjuspaycreatecustomer.d.ts +0 -62
- package/esm/models/operations/postpaymentsjuspaycreatecustomer.d.ts.map +0 -1
- package/esm/models/operations/postpaymentsjuspaycreatecustomer.js +0 -61
- package/esm/models/operations/postpaymentsjuspaycreatecustomer.js.map +0 -1
- package/esm/models/operations/postpaymentsjuspaycreateorder.d.ts +0 -62
- package/esm/models/operations/postpaymentsjuspaycreateorder.d.ts.map +0 -1
- package/esm/models/operations/postpaymentsjuspaycreateorder.js +0 -61
- package/esm/models/operations/postpaymentsjuspaycreateorder.js.map +0 -1
- package/esm/models/operations/postproductsidreviews.d.ts +0 -65
- package/esm/models/operations/postproductsidreviews.d.ts.map +0 -1
- package/esm/models/operations/postproductsidreviews.js +0 -72
- package/esm/models/operations/postproductsidreviews.js.map +0 -1
- package/esm/models/operations/postretrypaymentorderid.d.ts +0 -193
- package/esm/models/operations/postretrypaymentorderid.d.ts.map +0 -1
- package/esm/models/operations/postretrypaymentorderid.js +0 -244
- package/esm/models/operations/postretrypaymentorderid.js.map +0 -1
- package/esm/models/operations/postwishtlist.d.ts +0 -91
- package/esm/models/operations/postwishtlist.d.ts.map +0 -1
- package/esm/models/operations/postwishtlist.js +0 -106
- package/esm/models/operations/postwishtlist.js.map +0 -1
- package/esm/models/operations/putauthuserid.d.ts +0 -104
- package/esm/models/operations/putauthuserid.d.ts.map +0 -1
- package/esm/models/operations/putauthuserid.js +0 -97
- package/esm/models/operations/putauthuserid.js.map +0 -1
- package/esm/models/operations/putauthuseriddeactivate.d.ts +0 -68
- package/esm/models/operations/putauthuseriddeactivate.d.ts.map +0 -1
- package/esm/models/operations/putauthuseriddeactivate.js +0 -58
- package/esm/models/operations/putauthuseriddeactivate.js.map +0 -1
- package/esm/models/operations/putauthuseridnotificationpreferences.d.ts +0 -135
- package/esm/models/operations/putauthuseridnotificationpreferences.d.ts.map +0 -1
- package/esm/models/operations/putauthuseridnotificationpreferences.js +0 -142
- package/esm/models/operations/putauthuseridnotificationpreferences.js.map +0 -1
- package/esm/models/operations/putauthuseridprofileimage.d.ts +0 -158
- package/esm/models/operations/putauthuseridprofileimage.d.ts.map +0 -1
- package/esm/models/operations/putauthuseridprofileimage.js +0 -169
- package/esm/models/operations/putauthuseridprofileimage.js.map +0 -1
- package/esm/models/operations/putcustomeraddressid.d.ts +0 -195
- package/esm/models/operations/putcustomeraddressid.d.ts.map +0 -1
- package/esm/models/operations/putcustomeraddressid.js +0 -198
- package/esm/models/operations/putcustomeraddressid.js.map +0 -1
- package/esm/models/operations/putcustomersid.d.ts +0 -92
- package/esm/models/operations/putcustomersid.d.ts.map +0 -1
- package/esm/models/operations/putcustomersid.js +0 -105
- package/esm/models/operations/putcustomersid.js.map +0 -1
- package/esm/sdk/addresses.d.ts +0 -40
- package/esm/sdk/addresses.d.ts.map +0 -1
- package/esm/sdk/addresses.js +0 -58
- package/esm/sdk/addresses.js.map +0 -1
- package/esm/sdk/analytics.d.ts +0 -13
- package/esm/sdk/analytics.d.ts.map +0 -1
- package/esm/sdk/analytics.js +0 -18
- package/esm/sdk/analytics.js.map +0 -1
- package/esm/sdk/categories.d.ts +0 -12
- package/esm/sdk/categories.d.ts.map +0 -1
- package/esm/sdk/categories.js +0 -18
- package/esm/sdk/categories.js.map +0 -1
- package/esm/sdk/cestorefrontorderspayments.d.ts +0 -12
- package/esm/sdk/cestorefrontorderspayments.d.ts.map +0 -1
- package/esm/sdk/cestorefrontorderspayments.js +0 -18
- package/esm/sdk/cestorefrontorderspayments.js.map +0 -1
- package/esm/sdk/cestorefrontreviews.d.ts +0 -19
- package/esm/sdk/cestorefrontreviews.d.ts.map +0 -1
- package/esm/sdk/cestorefrontreviews.js +0 -28
- package/esm/sdk/cestorefrontreviews.js.map +0 -1
- package/esm/sdk/cestorefrontuser.d.ts +0 -82
- package/esm/sdk/cestorefrontuser.d.ts.map +0 -1
- package/esm/sdk/cestorefrontuser.js +0 -118
- package/esm/sdk/cestorefrontuser.js.map +0 -1
- package/esm/sdk/coupons.d.ts +0 -12
- package/esm/sdk/coupons.d.ts.map +0 -1
- package/esm/sdk/coupons.js +0 -18
- package/esm/sdk/coupons.js.map +0 -1
- package/esm/sdk/juspay.d.ts +0 -28
- package/esm/sdk/juspay.d.ts.map +0 -1
- package/esm/sdk/juspay.js +0 -39
- package/esm/sdk/juspay.js.map +0 -1
- package/esm/sdk/loyalty.d.ts +0 -19
- package/esm/sdk/loyalty.d.ts.map +0 -1
- package/esm/sdk/loyalty.js +0 -28
- package/esm/sdk/loyalty.js.map +0 -1
- package/esm/sdk/newsletter.d.ts +0 -12
- package/esm/sdk/newsletter.d.ts.map +0 -1
- package/esm/sdk/newsletter.js +0 -18
- package/esm/sdk/newsletter.js.map +0 -1
- package/esm/sdk/notificationpreferences.d.ts +0 -26
- package/esm/sdk/notificationpreferences.d.ts.map +0 -1
- package/esm/sdk/notificationpreferences.js +0 -38
- package/esm/sdk/notificationpreferences.js.map +0 -1
- package/esm/sdk/offers.d.ts +0 -10
- package/esm/sdk/offers.d.ts.map +0 -1
- package/esm/sdk/offers.js +0 -15
- package/esm/sdk/offers.js.map +0 -1
- package/esm/sdk/payments.d.ts +0 -41
- package/esm/sdk/payments.d.ts.map +0 -1
- package/esm/sdk/payments.js +0 -59
- package/esm/sdk/payments.js.map +0 -1
- package/esm/sdk/products.d.ts +0 -46
- package/esm/sdk/products.d.ts.map +0 -1
- package/esm/sdk/products.js +0 -66
- package/esm/sdk/products.js.map +0 -1
- package/esm/sdk/promotions.d.ts +0 -12
- package/esm/sdk/promotions.d.ts.map +0 -1
- package/esm/sdk/promotions.js +0 -18
- package/esm/sdk/promotions.js.map +0 -1
- package/esm/sdk/refunds.d.ts +0 -12
- package/esm/sdk/refunds.d.ts.map +0 -1
- package/esm/sdk/refunds.js +0 -18
- package/esm/sdk/refunds.js.map +0 -1
- package/esm/sdk/reviews.d.ts +0 -12
- package/esm/sdk/reviews.d.ts.map +0 -1
- package/esm/sdk/reviews.js +0 -18
- package/esm/sdk/reviews.js.map +0 -1
- package/esm/sdk/shipments.d.ts +0 -12
- package/esm/sdk/shipments.d.ts.map +0 -1
- package/esm/sdk/shipments.js +0 -18
- package/esm/sdk/shipments.js.map +0 -1
- package/esm/sdk/skus.d.ts +0 -12
- package/esm/sdk/skus.d.ts.map +0 -1
- package/esm/sdk/skus.js +0 -18
- package/esm/sdk/skus.js.map +0 -1
- package/esm/sdk/user.d.ts +0 -7
- package/esm/sdk/user.d.ts.map +0 -1
- package/esm/sdk/user.js +0 -11
- package/esm/sdk/user.js.map +0 -1
- package/esm/sdk/utils.d.ts +0 -26
- package/esm/sdk/utils.d.ts.map +0 -1
- package/esm/sdk/utils.js +0 -38
- package/esm/sdk/utils.js.map +0 -1
- package/esm/sdk/variants.d.ts +0 -19
- package/esm/sdk/variants.d.ts.map +0 -1
- package/esm/sdk/variants.js +0 -28
- package/esm/sdk/variants.js.map +0 -1
- package/esm/sdk/wishlist.d.ts +0 -26
- package/esm/sdk/wishlist.d.ts.map +0 -1
- package/esm/sdk/wishlist.js +0 -38
- package/esm/sdk/wishlist.js.map +0 -1
- package/src/funcs/analyticsTrack.ts +0 -127
- package/src/funcs/authLoginAnonymously.ts +0 -118
- package/src/funcs/authLoginWithPassword.ts +0 -127
- package/src/funcs/authRegisterWithEmail.ts +0 -128
- package/src/funcs/authRegisterWithPassword.ts +0 -130
- package/src/funcs/authRegisterWithPhone.ts +0 -127
- package/src/funcs/authRegisterWithWhatsapp.ts +0 -130
- package/src/funcs/authUserAddProfileImage.ts +0 -158
- package/src/funcs/authUserChangePassword.ts +0 -138
- package/src/funcs/authUserDeactivateAccount.ts +0 -133
- package/src/funcs/authUserDeleteProfileImage.ts +0 -138
- package/src/funcs/authUserForgotPassword.ts +0 -127
- package/src/funcs/authUserGet.ts +0 -132
- package/src/funcs/authUserGetProfileImage.ts +0 -133
- package/src/funcs/authUserLogout.ts +0 -110
- package/src/funcs/authUserResetPassword.ts +0 -135
- package/src/funcs/authUserUpdate.ts +0 -133
- package/src/funcs/authUserUpdateProfileImage.ts +0 -157
- package/src/funcs/authVerifyEmailPhone.ts +0 -132
- package/src/funcs/campaignsNewsletterSubscribe.ts +0 -131
- package/src/funcs/cartsAddItem.ts +0 -147
- package/src/funcs/cartsCreate.ts +0 -126
- package/src/funcs/cartsDelete.ts +0 -143
- package/src/funcs/cartsGet.ts +0 -143
- package/src/funcs/catalogCategoriesList.ts +0 -134
- package/src/funcs/catalogGetSearchProducts.ts +0 -137
- package/src/funcs/catalogProductsGet.ts +0 -148
- package/src/funcs/catalogProductsGetCrossSells.ts +0 -144
- package/src/funcs/catalogProductsGetSimilar.ts +0 -144
- package/src/funcs/catalogProductsGetUpsells.ts +0 -144
- package/src/funcs/catalogProductsList.ts +0 -145
- package/src/funcs/catalogProductsReviewsCreate.ts +0 -160
- package/src/funcs/catalogProductsReviewsList.ts +0 -153
- package/src/funcs/catalogProductsVariantsGet.ts +0 -155
- package/src/funcs/catalogProductsVariantsList.ts +0 -150
- package/src/funcs/catalogSkusList.ts +0 -146
- package/src/funcs/checkoutRedeemGiftCard.ts +0 -132
- package/src/funcs/checkoutRedeemLoyaltyPoints.ts +0 -138
- package/src/funcs/checkoutRemoveCreditBalance.ts +0 -138
- package/src/funcs/checkoutRemoveLoyaltyPoints.ts +0 -138
- package/src/funcs/checkoutUpdateAddress.ts +0 -141
- package/src/funcs/checkoutUseCreditBalance.ts +0 -138
- package/src/funcs/customersAddressesAdd.ts +0 -144
- package/src/funcs/customersAddressesDelete.ts +0 -150
- package/src/funcs/customersAddressesGet.ts +0 -150
- package/src/funcs/customersAddressesList.ts +0 -138
- package/src/funcs/customersAddressesUpdate.ts +0 -154
- package/src/funcs/customersGetCustomersId.ts +0 -132
- package/src/funcs/customersLoyaltyGet.ts +0 -143
- package/src/funcs/customersLoyaltyListActivities.ts +0 -153
- package/src/funcs/customersPostCustomers.ts +0 -138
- package/src/funcs/customersPutCustomersId.ts +0 -144
- package/src/funcs/customersReviewsList.ts +0 -133
- package/src/funcs/juspayGetPaymentsJuspayCustomer.ts +0 -147
- package/src/funcs/juspayPostPaymentsJuspayCreateCustomer.ts +0 -145
- package/src/funcs/juspayPostPaymentsJuspayCreateOrder.ts +0 -145
- package/src/funcs/offersCouponsList.ts +0 -110
- package/src/funcs/offersPromotionsList.ts +0 -118
- package/src/funcs/ordersCancel.ts +0 -145
- package/src/funcs/ordersCreate.ts +0 -140
- package/src/funcs/ordersGet.ts +0 -143
- package/src/funcs/ordersGetOrdersIdPaymentStatus.ts +0 -133
- package/src/funcs/ordersList.ts +0 -134
- package/src/funcs/ordersPaymentsList.ts +0 -144
- package/src/funcs/ordersRefundsList.ts +0 -143
- package/src/funcs/ordersRetryPayment.ts +0 -148
- package/src/funcs/ordersShipmentsList.ts +0 -144
- package/src/funcs/paymentsGenerateHash.ts +0 -143
- package/src/funcs/paymentsGetMethods.ts +0 -130
- package/src/funcs/paymentsGetPaymentsCards.ts +0 -144
- package/src/funcs/paymentsGetPaymentsVerifyVpa.ts +0 -133
- package/src/funcs/paymentsPostPaymentsCards.ts +0 -141
- package/src/funcs/shippingCheckPincodeServiceability.ts +0 -148
- package/src/funcs/userNotificationPreferencesCreate.ts +0 -141
- package/src/funcs/userNotificationPreferencesGet.ts +0 -139
- package/src/funcs/userNotificationPreferencesUpdate.ts +0 -140
- package/src/funcs/utilsGetCountries.ts +0 -110
- package/src/funcs/utilsGetPincodes.ts +0 -148
- package/src/funcs/utilsGetStates.ts +0 -141
- package/src/funcs/wishlistAdd.ts +0 -144
- package/src/funcs/wishlistDelete.ts +0 -144
- package/src/funcs/wishlistGet.ts +0 -132
- package/src/models/components/analyticsevent.ts +0 -270
- package/src/models/components/business.ts +0 -85
- package/src/models/components/country.ts +0 -107
- package/src/models/components/countrystate.ts +0 -84
- package/src/models/components/coupon.ts +0 -238
- package/src/models/components/createcustomer.ts +0 -78
- package/src/models/components/customerdetail.ts +0 -125
- package/src/models/components/customerloyalty.ts +0 -109
- package/src/models/components/juspaycardpayload.ts +0 -103
- package/src/models/components/juspaycreatecardresponse.ts +0 -93
- package/src/models/components/juspaycreatecustomerpayload.ts +0 -80
- package/src/models/components/juspaycreateorderpayload.ts +0 -81
- package/src/models/components/juspaycustomer.ts +0 -146
- package/src/models/components/juspayorder.ts +0 -326
- package/src/models/components/juspaypaymentmethod.ts +0 -85
- package/src/models/components/juspaysavedcard.ts +0 -64
- package/src/models/components/loyaltypointactivity.ts +0 -166
- package/src/models/components/orderrefund.ts +0 -183
- package/src/models/components/payucardpayload.ts +0 -169
- package/src/models/components/payucreatecardresponse.ts +0 -111
- package/src/models/components/payupaymentmethod.ts +0 -166
- package/src/models/components/payusavedcard.ts +0 -62
- package/src/models/components/promotiondetail.ts +0 -247
- package/src/models/components/updatecustomer.ts +0 -68
- package/src/models/operations/deleteauthuseridprofileimage.ts +0 -156
- package/src/models/operations/deletecartid.ts +0 -143
- package/src/models/operations/deletecreditbalance.ts +0 -210
- package/src/models/operations/deletecustomeraddressid.ts +0 -159
- package/src/models/operations/deleteloyaltypoints.ts +0 -210
- package/src/models/operations/deleteremovecoupons.ts +0 -216
- package/src/models/operations/deletewishlist.ts +0 -219
- package/src/models/operations/getaddress.ts +0 -417
- package/src/models/operations/getanalyticstrack.ts +0 -75
- package/src/models/operations/getauthuserid.ts +0 -209
- package/src/models/operations/getauthuseridnotificationpreferences.ts +0 -269
- package/src/models/operations/getauthuseridprofileimage.ts +0 -231
- package/src/models/operations/getcommoncountries.ts +0 -138
- package/src/models/operations/getcommoncountriescountryisocodepincodes.ts +0 -275
- package/src/models/operations/getcommoncountriesisocodestates.ts +0 -233
- package/src/models/operations/getcoupons.ts +0 -136
- package/src/models/operations/getcrosssell.ts +0 -236
- package/src/models/operations/getcustomeraddressid.ts +0 -423
- package/src/models/operations/getcustomersid.ts +0 -206
- package/src/models/operations/getcustomersuseridreviews.ts +0 -233
- package/src/models/operations/getloyaltypoint.ts +0 -220
- package/src/models/operations/getloyaltypointactivity.ts +0 -253
- package/src/models/operations/getorders.ts +0 -243
- package/src/models/operations/getordersid.ts +0 -206
- package/src/models/operations/getordersidpayments.ts +0 -208
- package/src/models/operations/getordersidpaymentstatus.ts +0 -262
- package/src/models/operations/getordersidrefunds.ts +0 -208
- package/src/models/operations/getordersidshipments.ts +0 -212
- package/src/models/operations/getpaymentmethods.ts +0 -325
- package/src/models/operations/getpaymentscards.ts +0 -310
- package/src/models/operations/getpaymentsjuspaycustomer.ts +0 -215
- package/src/models/operations/getpaymentsverifyvpa.ts +0 -260
- package/src/models/operations/getproductdetails.ts +0 -217
- package/src/models/operations/getproducts.ts +0 -238
- package/src/models/operations/getproductscategories.ts +0 -245
- package/src/models/operations/getproductsidreviews.ts +0 -270
- package/src/models/operations/getproductvariantdetail.ts +0 -233
- package/src/models/operations/getproductvariants.ts +0 -217
- package/src/models/operations/getpromotions.ts +0 -136
- package/src/models/operations/getsearchproducts.ts +0 -222
- package/src/models/operations/getshipmentpincodeserviceability.ts +0 -158
- package/src/models/operations/getsimilar.ts +0 -236
- package/src/models/operations/getskus.ts +0 -244
- package/src/models/operations/getupsell.ts +0 -239
- package/src/models/operations/getwishtlist.ts +0 -206
- package/src/models/operations/postaddress.ts +0 -397
- package/src/models/operations/postapplycoupons.ts +0 -216
- package/src/models/operations/postauthanonymous.ts +0 -241
- package/src/models/operations/postauthchangepassword.ts +0 -265
- package/src/models/operations/postauthforgotpassword.ts +0 -255
- package/src/models/operations/postauthgenerateotp.ts +0 -338
- package/src/models/operations/postauthloginemail.ts +0 -252
- package/src/models/operations/postauthloginpassword.ts +0 -273
- package/src/models/operations/postauthloginphone.ts +0 -292
- package/src/models/operations/postauthloginwhatsapp.ts +0 -299
- package/src/models/operations/postauthlogout.ts +0 -173
- package/src/models/operations/postauthrefreshtoken.ts +0 -243
- package/src/models/operations/postauthregisteremail.ts +0 -281
- package/src/models/operations/postauthregisterpassword.ts +0 -289
- package/src/models/operations/postauthregisterphone.ts +0 -325
- package/src/models/operations/postauthregisterwhatsapp.ts +0 -334
- package/src/models/operations/postauthresetpassword.ts +0 -262
- package/src/models/operations/postauthuseridnotificationpreferences.ts +0 -372
- package/src/models/operations/postauthuseridprofileimage.ts +0 -379
- package/src/models/operations/postauthverifiedemailphone.ts +0 -252
- package/src/models/operations/postauthverifyotp.ts +0 -299
- package/src/models/operations/postcartaddress.ts +0 -357
- package/src/models/operations/postcartitemid.ts +0 -213
- package/src/models/operations/postcartsid.ts +0 -200
- package/src/models/operations/postcheckoutredeemgiftcard.ts +0 -151
- package/src/models/operations/postcreditbalance.ts +0 -216
- package/src/models/operations/postcustomers.ts +0 -145
- package/src/models/operations/postcustomersnewslettersubscription.ts +0 -159
- package/src/models/operations/postloyaltypoints.ts +0 -216
- package/src/models/operations/postorder.ts +0 -472
- package/src/models/operations/postordersordernumber.ts +0 -335
- package/src/models/operations/postpaymentscards.ts +0 -421
- package/src/models/operations/postpaymentsgeneratehash.ts +0 -264
- package/src/models/operations/postpaymentsjuspaycreatecustomer.ts +0 -164
- package/src/models/operations/postpaymentsjuspaycreateorder.ts +0 -153
- package/src/models/operations/postproductsidreviews.ts +0 -155
- package/src/models/operations/postretrypaymentorderid.ts +0 -536
- package/src/models/operations/postwishtlist.ts +0 -219
- package/src/models/operations/putauthuserid.ts +0 -222
- package/src/models/operations/putauthuseriddeactivate.ts +0 -147
- package/src/models/operations/putauthuseridnotificationpreferences.ts +0 -372
- package/src/models/operations/putauthuseridprofileimage.ts +0 -385
- package/src/models/operations/putcustomeraddressid.ts +0 -422
- package/src/models/operations/putcustomersid.ts +0 -218
- package/src/sdk/addresses.ts +0 -99
- package/src/sdk/analytics.ts +0 -28
- package/src/sdk/categories.ts +0 -27
- package/src/sdk/cestorefrontorderspayments.ts +0 -27
- package/src/sdk/cestorefrontreviews.ts +0 -45
- package/src/sdk/cestorefrontuser.ts +0 -205
- package/src/sdk/coupons.ts +0 -25
- package/src/sdk/juspay.ts +0 -65
- package/src/sdk/loyalty.ts +0 -45
- package/src/sdk/newsletter.ts +0 -27
- package/src/sdk/notificationpreferences.ts +0 -63
- package/src/sdk/offers.ts +0 -19
- package/src/sdk/payments.ts +0 -100
- package/src/sdk/products.ts +0 -111
- package/src/sdk/promotions.ts +0 -25
- package/src/sdk/refunds.ts +0 -27
- package/src/sdk/reviews.ts +0 -27
- package/src/sdk/shipments.ts +0 -27
- package/src/sdk/skus.ts +0 -27
- package/src/sdk/user.ts +0 -15
- package/src/sdk/utils.ts +0 -61
- package/src/sdk/variants.ts +0 -45
- package/src/sdk/wishlist.ts +0 -63
|
@@ -3,13 +3,896 @@
|
|
|
3
3
|
|
|
4
4
|
## Overview
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
### Available Operations
|
|
7
|
+
|
|
8
|
+
* [listProducts](#listproducts) - List all products
|
|
9
|
+
* [listSkus](#listskus) - List all SKUs
|
|
10
|
+
* [getProductDetail](#getproductdetail) - Retrieve a product detail
|
|
11
|
+
* [listProductVariants](#listproductvariants) - Retrieve product variants
|
|
12
|
+
* [getVariantDetail](#getvariantdetail) - Retrieve variant detail
|
|
13
|
+
* [listCategories](#listcategories) - List all categories
|
|
14
|
+
* [listProductReviews](#listproductreviews) - List all product reviews
|
|
15
|
+
* [createProductReview](#createproductreview) - Create product review
|
|
16
|
+
* [listSimilarProducts](#listsimilarproducts) - Retrieve similar products
|
|
17
|
+
* [listUpsellProducts](#listupsellproducts) - Retrieve up-sell products
|
|
18
|
+
* [listCrosssellProducts](#listcrosssellproducts) - Retrieve cross-sell products
|
|
19
|
+
* [searchProducts](#searchproducts) - Search products
|
|
20
|
+
|
|
21
|
+
## listProducts
|
|
22
|
+
|
|
23
|
+
Returns a list of your products. The products are returned sorted by creation date, with the most recently created products appearing first.
|
|
24
|
+
|
|
25
|
+
### Example Usage
|
|
26
|
+
|
|
27
|
+
```typescript
|
|
28
|
+
import { CeStorefront } from "ce-storefront";
|
|
29
|
+
|
|
30
|
+
const ceStorefront = new CeStorefront({
|
|
31
|
+
authorization: "<YOUR_BEARER_TOKEN_HERE>",
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
async function run() {
|
|
35
|
+
const result = await ceStorefront.catalog.listProducts({
|
|
36
|
+
sortBy: "{\"country\":\"asc\",\"city\":\"asc\",\"population\":\"desc\"}",
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
// Handle the result
|
|
40
|
+
console.log(result);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
run();
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### Standalone function
|
|
47
|
+
|
|
48
|
+
The standalone function version of this method:
|
|
49
|
+
|
|
50
|
+
```typescript
|
|
51
|
+
import { CeStorefrontCore } from "ce-storefront/core.js";
|
|
52
|
+
import { catalogListProducts } from "ce-storefront/funcs/catalogListProducts.js";
|
|
53
|
+
|
|
54
|
+
// Use `CeStorefrontCore` for best tree-shaking performance.
|
|
55
|
+
// You can create one instance of it to use across an application.
|
|
56
|
+
const ceStorefront = new CeStorefrontCore({
|
|
57
|
+
authorization: "<YOUR_BEARER_TOKEN_HERE>",
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
async function run() {
|
|
61
|
+
const res = await catalogListProducts(ceStorefront, {
|
|
62
|
+
sortBy: "{\"country\":\"asc\",\"city\":\"asc\",\"population\":\"desc\"}",
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
if (!res.ok) {
|
|
66
|
+
throw res.error;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
const { value: result } = res;
|
|
70
|
+
|
|
71
|
+
// Handle the result
|
|
72
|
+
console.log(result);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
run();
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
### Parameters
|
|
79
|
+
|
|
80
|
+
| Parameter | Type | Required | Description |
|
|
81
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
82
|
+
| `request` | [operations.ListProductsRequest](../../models/operations/listproductsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
83
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
84
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
85
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
86
|
+
| `options.serverURL` | *string* | :heavy_minus_sign: | An optional server URL to use. |
|
|
87
|
+
|
|
88
|
+
### Response
|
|
89
|
+
|
|
90
|
+
**Promise\<[operations.ListProductsResponseBody](../../models/operations/listproductsresponsebody.md)\>**
|
|
91
|
+
|
|
92
|
+
### Errors
|
|
93
|
+
|
|
94
|
+
| Error Type | Status Code | Content Type |
|
|
95
|
+
| ------------------- | ------------------- | ------------------- |
|
|
96
|
+
| errors.Unauthorized | 401 | application/json |
|
|
97
|
+
| errors.NotFound | 404 | application/json |
|
|
98
|
+
| errors.CeError | 4XX, 5XX | \*/\* |
|
|
99
|
+
|
|
100
|
+
## listSkus
|
|
101
|
+
|
|
102
|
+
Returns a list of SKUs. The SKUs are returned sorted by creation date, with the most recently created SKUs appearing first.
|
|
103
|
+
|
|
104
|
+
### Example Usage
|
|
105
|
+
|
|
106
|
+
```typescript
|
|
107
|
+
import { CeStorefront } from "ce-storefront";
|
|
108
|
+
|
|
109
|
+
const ceStorefront = new CeStorefront({
|
|
110
|
+
authorization: "<YOUR_BEARER_TOKEN_HERE>",
|
|
111
|
+
});
|
|
112
|
+
|
|
113
|
+
async function run() {
|
|
114
|
+
const result = await ceStorefront.catalog.listSkus({
|
|
115
|
+
sortBy: "{\"country\":\"asc\",\"city\":\"asc\",\"population\":\"desc\"}",
|
|
116
|
+
});
|
|
117
|
+
|
|
118
|
+
// Handle the result
|
|
119
|
+
console.log(result);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
run();
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
### Standalone function
|
|
126
|
+
|
|
127
|
+
The standalone function version of this method:
|
|
128
|
+
|
|
129
|
+
```typescript
|
|
130
|
+
import { CeStorefrontCore } from "ce-storefront/core.js";
|
|
131
|
+
import { catalogListSkus } from "ce-storefront/funcs/catalogListSkus.js";
|
|
132
|
+
|
|
133
|
+
// Use `CeStorefrontCore` for best tree-shaking performance.
|
|
134
|
+
// You can create one instance of it to use across an application.
|
|
135
|
+
const ceStorefront = new CeStorefrontCore({
|
|
136
|
+
authorization: "<YOUR_BEARER_TOKEN_HERE>",
|
|
137
|
+
});
|
|
138
|
+
|
|
139
|
+
async function run() {
|
|
140
|
+
const res = await catalogListSkus(ceStorefront, {
|
|
141
|
+
sortBy: "{\"country\":\"asc\",\"city\":\"asc\",\"population\":\"desc\"}",
|
|
142
|
+
});
|
|
143
|
+
|
|
144
|
+
if (!res.ok) {
|
|
145
|
+
throw res.error;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
const { value: result } = res;
|
|
149
|
+
|
|
150
|
+
// Handle the result
|
|
151
|
+
console.log(result);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
run();
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
### Parameters
|
|
158
|
+
|
|
159
|
+
| Parameter | Type | Required | Description |
|
|
160
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
161
|
+
| `request` | [operations.ListSkusRequest](../../models/operations/listskusrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
162
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
163
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
164
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
165
|
+
| `options.serverURL` | *string* | :heavy_minus_sign: | An optional server URL to use. |
|
|
166
|
+
|
|
167
|
+
### Response
|
|
168
|
+
|
|
169
|
+
**Promise\<[operations.ListSkusResponseBody](../../models/operations/listskusresponsebody.md)\>**
|
|
170
|
+
|
|
171
|
+
### Errors
|
|
172
|
+
|
|
173
|
+
| Error Type | Status Code | Content Type |
|
|
174
|
+
| ------------------- | ------------------- | ------------------- |
|
|
175
|
+
| errors.Unauthorized | 401 | application/json |
|
|
176
|
+
| errors.NotFound | 404 | application/json |
|
|
177
|
+
| errors.CeError | 4XX, 5XX | \*/\* |
|
|
178
|
+
|
|
179
|
+
## getProductDetail
|
|
180
|
+
|
|
181
|
+
Retrieves the details of an existing product. Supply the unique product ID from either a product creation request or the product list, and Commerce Engine will return the corresponding product information.
|
|
182
|
+
|
|
183
|
+
### Example Usage
|
|
184
|
+
|
|
185
|
+
```typescript
|
|
186
|
+
import { CeStorefront } from "ce-storefront";
|
|
187
|
+
|
|
188
|
+
const ceStorefront = new CeStorefront({
|
|
189
|
+
authorization: "<YOUR_BEARER_TOKEN_HERE>",
|
|
190
|
+
});
|
|
191
|
+
|
|
192
|
+
async function run() {
|
|
193
|
+
const result = await ceStorefront.catalog.getProductDetail({
|
|
194
|
+
productId: "41",
|
|
195
|
+
});
|
|
196
|
+
|
|
197
|
+
// Handle the result
|
|
198
|
+
console.log(result);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
run();
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
### Standalone function
|
|
205
|
+
|
|
206
|
+
The standalone function version of this method:
|
|
207
|
+
|
|
208
|
+
```typescript
|
|
209
|
+
import { CeStorefrontCore } from "ce-storefront/core.js";
|
|
210
|
+
import { catalogGetProductDetail } from "ce-storefront/funcs/catalogGetProductDetail.js";
|
|
211
|
+
|
|
212
|
+
// Use `CeStorefrontCore` for best tree-shaking performance.
|
|
213
|
+
// You can create one instance of it to use across an application.
|
|
214
|
+
const ceStorefront = new CeStorefrontCore({
|
|
215
|
+
authorization: "<YOUR_BEARER_TOKEN_HERE>",
|
|
216
|
+
});
|
|
217
|
+
|
|
218
|
+
async function run() {
|
|
219
|
+
const res = await catalogGetProductDetail(ceStorefront, {
|
|
220
|
+
productId: "41",
|
|
221
|
+
});
|
|
222
|
+
|
|
223
|
+
if (!res.ok) {
|
|
224
|
+
throw res.error;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
const { value: result } = res;
|
|
228
|
+
|
|
229
|
+
// Handle the result
|
|
230
|
+
console.log(result);
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
run();
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
### Parameters
|
|
237
|
+
|
|
238
|
+
| Parameter | Type | Required | Description |
|
|
239
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
240
|
+
| `request` | [operations.GetProductDetailRequest](../../models/operations/getproductdetailrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
241
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
242
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
243
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
244
|
+
| `options.serverURL` | *string* | :heavy_minus_sign: | An optional server URL to use. |
|
|
245
|
+
|
|
246
|
+
### Response
|
|
247
|
+
|
|
248
|
+
**Promise\<[operations.GetProductDetailResponseBody](../../models/operations/getproductdetailresponsebody.md)\>**
|
|
249
|
+
|
|
250
|
+
### Errors
|
|
251
|
+
|
|
252
|
+
| Error Type | Status Code | Content Type |
|
|
253
|
+
| ------------------- | ------------------- | ------------------- |
|
|
254
|
+
| errors.Unauthorized | 401 | application/json |
|
|
255
|
+
| errors.NotFound | 404 | application/json |
|
|
256
|
+
| errors.CeError | 4XX, 5XX | \*/\* |
|
|
257
|
+
|
|
258
|
+
## listProductVariants
|
|
259
|
+
|
|
260
|
+
Retrieves the variants of an existing product. Supply the unique product ID, and Commerce Engine will return the corresponding product variants information.
|
|
261
|
+
|
|
262
|
+
### Example Usage
|
|
263
|
+
|
|
264
|
+
```typescript
|
|
265
|
+
import { CeStorefront } from "ce-storefront";
|
|
266
|
+
|
|
267
|
+
const ceStorefront = new CeStorefront({
|
|
268
|
+
authorization: "<YOUR_BEARER_TOKEN_HERE>",
|
|
269
|
+
});
|
|
270
|
+
|
|
271
|
+
async function run() {
|
|
272
|
+
const result = await ceStorefront.catalog.listProductVariants({
|
|
273
|
+
productId: "01H7YK0C86V9PGT0HXRJVEZXJQ",
|
|
274
|
+
});
|
|
275
|
+
|
|
276
|
+
// Handle the result
|
|
277
|
+
console.log(result);
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
run();
|
|
281
|
+
```
|
|
282
|
+
|
|
283
|
+
### Standalone function
|
|
284
|
+
|
|
285
|
+
The standalone function version of this method:
|
|
286
|
+
|
|
287
|
+
```typescript
|
|
288
|
+
import { CeStorefrontCore } from "ce-storefront/core.js";
|
|
289
|
+
import { catalogListProductVariants } from "ce-storefront/funcs/catalogListProductVariants.js";
|
|
290
|
+
|
|
291
|
+
// Use `CeStorefrontCore` for best tree-shaking performance.
|
|
292
|
+
// You can create one instance of it to use across an application.
|
|
293
|
+
const ceStorefront = new CeStorefrontCore({
|
|
294
|
+
authorization: "<YOUR_BEARER_TOKEN_HERE>",
|
|
295
|
+
});
|
|
296
|
+
|
|
297
|
+
async function run() {
|
|
298
|
+
const res = await catalogListProductVariants(ceStorefront, {
|
|
299
|
+
productId: "01H7YK0C86V9PGT0HXRJVEZXJQ",
|
|
300
|
+
});
|
|
301
|
+
|
|
302
|
+
if (!res.ok) {
|
|
303
|
+
throw res.error;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
const { value: result } = res;
|
|
307
|
+
|
|
308
|
+
// Handle the result
|
|
309
|
+
console.log(result);
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
run();
|
|
313
|
+
```
|
|
314
|
+
|
|
315
|
+
### Parameters
|
|
316
|
+
|
|
317
|
+
| Parameter | Type | Required | Description |
|
|
318
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
319
|
+
| `request` | [operations.ListProductVariantsRequest](../../models/operations/listproductvariantsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
320
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
321
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
322
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
323
|
+
| `options.serverURL` | *string* | :heavy_minus_sign: | An optional server URL to use. |
|
|
324
|
+
|
|
325
|
+
### Response
|
|
326
|
+
|
|
327
|
+
**Promise\<[operations.ListProductVariantsResponseBody](../../models/operations/listproductvariantsresponsebody.md)\>**
|
|
328
|
+
|
|
329
|
+
### Errors
|
|
330
|
+
|
|
331
|
+
| Error Type | Status Code | Content Type |
|
|
332
|
+
| ------------------- | ------------------- | ------------------- |
|
|
333
|
+
| errors.Unauthorized | 401 | application/json |
|
|
334
|
+
| errors.NotFound | 404 | application/json |
|
|
335
|
+
| errors.CeError | 4XX, 5XX | \*/\* |
|
|
336
|
+
|
|
337
|
+
## getVariantDetail
|
|
338
|
+
|
|
339
|
+
Retrieves the details of a particular variant. Supply the unique product ID, and variant ID.
|
|
340
|
+
|
|
341
|
+
### Example Usage
|
|
342
|
+
|
|
343
|
+
```typescript
|
|
344
|
+
import { CeStorefront } from "ce-storefront";
|
|
345
|
+
|
|
346
|
+
const ceStorefront = new CeStorefront({
|
|
347
|
+
authorization: "<YOUR_BEARER_TOKEN_HERE>",
|
|
348
|
+
});
|
|
349
|
+
|
|
350
|
+
async function run() {
|
|
351
|
+
const result = await ceStorefront.catalog.getVariantDetail({
|
|
352
|
+
productId: "01H7YK0C86V9PGT0HXRJVEZXJQ",
|
|
353
|
+
variantId: "<id>",
|
|
354
|
+
});
|
|
355
|
+
|
|
356
|
+
// Handle the result
|
|
357
|
+
console.log(result);
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
run();
|
|
361
|
+
```
|
|
362
|
+
|
|
363
|
+
### Standalone function
|
|
364
|
+
|
|
365
|
+
The standalone function version of this method:
|
|
366
|
+
|
|
367
|
+
```typescript
|
|
368
|
+
import { CeStorefrontCore } from "ce-storefront/core.js";
|
|
369
|
+
import { catalogGetVariantDetail } from "ce-storefront/funcs/catalogGetVariantDetail.js";
|
|
370
|
+
|
|
371
|
+
// Use `CeStorefrontCore` for best tree-shaking performance.
|
|
372
|
+
// You can create one instance of it to use across an application.
|
|
373
|
+
const ceStorefront = new CeStorefrontCore({
|
|
374
|
+
authorization: "<YOUR_BEARER_TOKEN_HERE>",
|
|
375
|
+
});
|
|
376
|
+
|
|
377
|
+
async function run() {
|
|
378
|
+
const res = await catalogGetVariantDetail(ceStorefront, {
|
|
379
|
+
productId: "01H7YK0C86V9PGT0HXRJVEZXJQ",
|
|
380
|
+
variantId: "<id>",
|
|
381
|
+
});
|
|
382
|
+
|
|
383
|
+
if (!res.ok) {
|
|
384
|
+
throw res.error;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
const { value: result } = res;
|
|
388
|
+
|
|
389
|
+
// Handle the result
|
|
390
|
+
console.log(result);
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
run();
|
|
394
|
+
```
|
|
395
|
+
|
|
396
|
+
### Parameters
|
|
397
|
+
|
|
398
|
+
| Parameter | Type | Required | Description |
|
|
399
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
400
|
+
| `request` | [operations.GetVariantDetailRequest](../../models/operations/getvariantdetailrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
401
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
402
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
403
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
404
|
+
| `options.serverURL` | *string* | :heavy_minus_sign: | An optional server URL to use. |
|
|
405
|
+
|
|
406
|
+
### Response
|
|
407
|
+
|
|
408
|
+
**Promise\<[operations.GetVariantDetailResponseBody](../../models/operations/getvariantdetailresponsebody.md)\>**
|
|
409
|
+
|
|
410
|
+
### Errors
|
|
411
|
+
|
|
412
|
+
| Error Type | Status Code | Content Type |
|
|
413
|
+
| ------------------- | ------------------- | ------------------- |
|
|
414
|
+
| errors.Unauthorized | 401 | application/json |
|
|
415
|
+
| errors.NotFound | 404 | application/json |
|
|
416
|
+
| errors.CeError | 4XX, 5XX | \*/\* |
|
|
417
|
+
|
|
418
|
+
## listCategories
|
|
419
|
+
|
|
420
|
+
Returns a list of your product categories. The categories are returned sorted by creation date, with the most recently created categories appearing first.
|
|
421
|
+
|
|
422
|
+
### Example Usage
|
|
423
|
+
|
|
424
|
+
```typescript
|
|
425
|
+
import { CeStorefront } from "ce-storefront";
|
|
426
|
+
|
|
427
|
+
const ceStorefront = new CeStorefront({
|
|
428
|
+
authorization: "<YOUR_BEARER_TOKEN_HERE>",
|
|
429
|
+
});
|
|
430
|
+
|
|
431
|
+
async function run() {
|
|
432
|
+
const result = await ceStorefront.catalog.listCategories({
|
|
433
|
+
parentCategoryId: "a847641353e947d3bed69a4eea975634",
|
|
434
|
+
nestedLevel: 0,
|
|
435
|
+
sortBy: "{\"country\":\"asc\",\"city\":\"asc\",\"population\":\"desc\"}",
|
|
436
|
+
});
|
|
437
|
+
|
|
438
|
+
// Handle the result
|
|
439
|
+
console.log(result);
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
run();
|
|
443
|
+
```
|
|
444
|
+
|
|
445
|
+
### Standalone function
|
|
446
|
+
|
|
447
|
+
The standalone function version of this method:
|
|
448
|
+
|
|
449
|
+
```typescript
|
|
450
|
+
import { CeStorefrontCore } from "ce-storefront/core.js";
|
|
451
|
+
import { catalogListCategories } from "ce-storefront/funcs/catalogListCategories.js";
|
|
452
|
+
|
|
453
|
+
// Use `CeStorefrontCore` for best tree-shaking performance.
|
|
454
|
+
// You can create one instance of it to use across an application.
|
|
455
|
+
const ceStorefront = new CeStorefrontCore({
|
|
456
|
+
authorization: "<YOUR_BEARER_TOKEN_HERE>",
|
|
457
|
+
});
|
|
458
|
+
|
|
459
|
+
async function run() {
|
|
460
|
+
const res = await catalogListCategories(ceStorefront, {
|
|
461
|
+
parentCategoryId: "a847641353e947d3bed69a4eea975634",
|
|
462
|
+
nestedLevel: 0,
|
|
463
|
+
sortBy: "{\"country\":\"asc\",\"city\":\"asc\",\"population\":\"desc\"}",
|
|
464
|
+
});
|
|
465
|
+
|
|
466
|
+
if (!res.ok) {
|
|
467
|
+
throw res.error;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
const { value: result } = res;
|
|
471
|
+
|
|
472
|
+
// Handle the result
|
|
473
|
+
console.log(result);
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
run();
|
|
477
|
+
```
|
|
478
|
+
|
|
479
|
+
### Parameters
|
|
480
|
+
|
|
481
|
+
| Parameter | Type | Required | Description |
|
|
482
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
483
|
+
| `request` | [operations.ListCategoriesRequest](../../models/operations/listcategoriesrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
484
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
485
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
486
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
487
|
+
| `options.serverURL` | *string* | :heavy_minus_sign: | An optional server URL to use. |
|
|
488
|
+
|
|
489
|
+
### Response
|
|
490
|
+
|
|
491
|
+
**Promise\<[operations.ListCategoriesResponseBody](../../models/operations/listcategoriesresponsebody.md)\>**
|
|
492
|
+
|
|
493
|
+
### Errors
|
|
494
|
+
|
|
495
|
+
| Error Type | Status Code | Content Type |
|
|
496
|
+
| -------------- | -------------- | -------------- |
|
|
497
|
+
| errors.CeError | 4XX, 5XX | \*/\* |
|
|
498
|
+
|
|
499
|
+
## listProductReviews
|
|
500
|
+
|
|
501
|
+
List of reviews for a specified product. The reviews are returned sorted by submission date, with the most recent reviews appearing first. You can filter the reviews by rating, reviewer, or date for more detailed analysis.
|
|
502
|
+
|
|
503
|
+
### Example Usage
|
|
504
|
+
|
|
505
|
+
```typescript
|
|
506
|
+
import { CeStorefront } from "ce-storefront";
|
|
507
|
+
|
|
508
|
+
const ceStorefront = new CeStorefront({
|
|
509
|
+
authorization: "<YOUR_BEARER_TOKEN_HERE>",
|
|
510
|
+
});
|
|
511
|
+
|
|
512
|
+
async function run() {
|
|
513
|
+
const result = await ceStorefront.catalog.listProductReviews({
|
|
514
|
+
sortBy: "{\"country\":\"asc\",\"city\":\"asc\",\"population\":\"desc\"}",
|
|
515
|
+
productId: "<id>",
|
|
516
|
+
});
|
|
517
|
+
|
|
518
|
+
// Handle the result
|
|
519
|
+
console.log(result);
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
run();
|
|
523
|
+
```
|
|
524
|
+
|
|
525
|
+
### Standalone function
|
|
526
|
+
|
|
527
|
+
The standalone function version of this method:
|
|
528
|
+
|
|
529
|
+
```typescript
|
|
530
|
+
import { CeStorefrontCore } from "ce-storefront/core.js";
|
|
531
|
+
import { catalogListProductReviews } from "ce-storefront/funcs/catalogListProductReviews.js";
|
|
532
|
+
|
|
533
|
+
// Use `CeStorefrontCore` for best tree-shaking performance.
|
|
534
|
+
// You can create one instance of it to use across an application.
|
|
535
|
+
const ceStorefront = new CeStorefrontCore({
|
|
536
|
+
authorization: "<YOUR_BEARER_TOKEN_HERE>",
|
|
537
|
+
});
|
|
538
|
+
|
|
539
|
+
async function run() {
|
|
540
|
+
const res = await catalogListProductReviews(ceStorefront, {
|
|
541
|
+
sortBy: "{\"country\":\"asc\",\"city\":\"asc\",\"population\":\"desc\"}",
|
|
542
|
+
productId: "<id>",
|
|
543
|
+
});
|
|
544
|
+
|
|
545
|
+
if (!res.ok) {
|
|
546
|
+
throw res.error;
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
const { value: result } = res;
|
|
550
|
+
|
|
551
|
+
// Handle the result
|
|
552
|
+
console.log(result);
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
run();
|
|
556
|
+
```
|
|
557
|
+
|
|
558
|
+
### Parameters
|
|
559
|
+
|
|
560
|
+
| Parameter | Type | Required | Description |
|
|
561
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
562
|
+
| `request` | [operations.ListProductReviewsRequest](../../models/operations/listproductreviewsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
563
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
564
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
565
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
566
|
+
| `options.serverURL` | *string* | :heavy_minus_sign: | An optional server URL to use. |
|
|
567
|
+
|
|
568
|
+
### Response
|
|
569
|
+
|
|
570
|
+
**Promise\<[operations.ListProductReviewsResponseBody](../../models/operations/listproductreviewsresponsebody.md)\>**
|
|
571
|
+
|
|
572
|
+
### Errors
|
|
573
|
+
|
|
574
|
+
| Error Type | Status Code | Content Type |
|
|
575
|
+
| ------------------- | ------------------- | ------------------- |
|
|
576
|
+
| errors.Unauthorized | 401 | application/json |
|
|
577
|
+
| errors.NotFound | 404 | application/json |
|
|
578
|
+
| errors.CeError | 4XX, 5XX | \*/\* |
|
|
579
|
+
|
|
580
|
+
## createProductReview
|
|
581
|
+
|
|
582
|
+
Create a product review
|
|
583
|
+
|
|
584
|
+
### Example Usage
|
|
7
585
|
|
|
8
|
-
|
|
586
|
+
```typescript
|
|
587
|
+
import { CeStorefront } from "ce-storefront";
|
|
588
|
+
|
|
589
|
+
const ceStorefront = new CeStorefront({
|
|
590
|
+
authorization: "<YOUR_BEARER_TOKEN_HERE>",
|
|
591
|
+
});
|
|
592
|
+
|
|
593
|
+
async function run() {
|
|
594
|
+
const result = await ceStorefront.catalog.createProductReview({
|
|
595
|
+
productId: "<id>",
|
|
596
|
+
createReview: {
|
|
597
|
+
orderNumber: "<value>",
|
|
598
|
+
rating: 3345.02,
|
|
599
|
+
userId: "<id>",
|
|
600
|
+
},
|
|
601
|
+
});
|
|
602
|
+
|
|
603
|
+
// Handle the result
|
|
604
|
+
console.log(result);
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
run();
|
|
608
|
+
```
|
|
609
|
+
|
|
610
|
+
### Standalone function
|
|
611
|
+
|
|
612
|
+
The standalone function version of this method:
|
|
613
|
+
|
|
614
|
+
```typescript
|
|
615
|
+
import { CeStorefrontCore } from "ce-storefront/core.js";
|
|
616
|
+
import { catalogCreateProductReview } from "ce-storefront/funcs/catalogCreateProductReview.js";
|
|
617
|
+
|
|
618
|
+
// Use `CeStorefrontCore` for best tree-shaking performance.
|
|
619
|
+
// You can create one instance of it to use across an application.
|
|
620
|
+
const ceStorefront = new CeStorefrontCore({
|
|
621
|
+
authorization: "<YOUR_BEARER_TOKEN_HERE>",
|
|
622
|
+
});
|
|
623
|
+
|
|
624
|
+
async function run() {
|
|
625
|
+
const res = await catalogCreateProductReview(ceStorefront, {
|
|
626
|
+
productId: "<id>",
|
|
627
|
+
createReview: {
|
|
628
|
+
orderNumber: "<value>",
|
|
629
|
+
rating: 3345.02,
|
|
630
|
+
userId: "<id>",
|
|
631
|
+
},
|
|
632
|
+
});
|
|
633
|
+
|
|
634
|
+
if (!res.ok) {
|
|
635
|
+
throw res.error;
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
const { value: result } = res;
|
|
639
|
+
|
|
640
|
+
// Handle the result
|
|
641
|
+
console.log(result);
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
run();
|
|
645
|
+
```
|
|
646
|
+
|
|
647
|
+
### Parameters
|
|
648
|
+
|
|
649
|
+
| Parameter | Type | Required | Description |
|
|
650
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
651
|
+
| `request` | [operations.CreateProductReviewRequest](../../models/operations/createproductreviewrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
652
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
653
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
654
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
655
|
+
| `options.serverURL` | *string* | :heavy_minus_sign: | An optional server URL to use. |
|
|
656
|
+
|
|
657
|
+
### Response
|
|
658
|
+
|
|
659
|
+
**Promise\<[operations.CreateProductReviewResponseBody](../../models/operations/createproductreviewresponsebody.md)\>**
|
|
660
|
+
|
|
661
|
+
### Errors
|
|
662
|
+
|
|
663
|
+
| Error Type | Status Code | Content Type |
|
|
664
|
+
| ------------------- | ------------------- | ------------------- |
|
|
665
|
+
| errors.BadRequest | 400 | application/json |
|
|
666
|
+
| errors.Unauthorized | 401 | application/json |
|
|
667
|
+
| errors.NotFound | 404 | application/json |
|
|
668
|
+
| errors.CeError | 4XX, 5XX | \*/\* |
|
|
669
|
+
|
|
670
|
+
## listSimilarProducts
|
|
671
|
+
|
|
672
|
+
Retrieves a list of products similar to a specified product based on their attributes and category. The similar products are returned sorted by relevance, with the most closely matching products appearing first. Useful for providing product recommendations to your customers.
|
|
673
|
+
|
|
674
|
+
### Example Usage
|
|
675
|
+
|
|
676
|
+
```typescript
|
|
677
|
+
import { CeStorefront } from "ce-storefront";
|
|
678
|
+
|
|
679
|
+
const ceStorefront = new CeStorefront({
|
|
680
|
+
authorization: "<YOUR_BEARER_TOKEN_HERE>",
|
|
681
|
+
});
|
|
682
|
+
|
|
683
|
+
async function run() {
|
|
684
|
+
const result = await ceStorefront.catalog.listSimilarProducts({});
|
|
685
|
+
|
|
686
|
+
// Handle the result
|
|
687
|
+
console.log(result);
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
run();
|
|
691
|
+
```
|
|
692
|
+
|
|
693
|
+
### Standalone function
|
|
694
|
+
|
|
695
|
+
The standalone function version of this method:
|
|
696
|
+
|
|
697
|
+
```typescript
|
|
698
|
+
import { CeStorefrontCore } from "ce-storefront/core.js";
|
|
699
|
+
import { catalogListSimilarProducts } from "ce-storefront/funcs/catalogListSimilarProducts.js";
|
|
700
|
+
|
|
701
|
+
// Use `CeStorefrontCore` for best tree-shaking performance.
|
|
702
|
+
// You can create one instance of it to use across an application.
|
|
703
|
+
const ceStorefront = new CeStorefrontCore({
|
|
704
|
+
authorization: "<YOUR_BEARER_TOKEN_HERE>",
|
|
705
|
+
});
|
|
706
|
+
|
|
707
|
+
async function run() {
|
|
708
|
+
const res = await catalogListSimilarProducts(ceStorefront, {});
|
|
709
|
+
|
|
710
|
+
if (!res.ok) {
|
|
711
|
+
throw res.error;
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
const { value: result } = res;
|
|
715
|
+
|
|
716
|
+
// Handle the result
|
|
717
|
+
console.log(result);
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
run();
|
|
721
|
+
```
|
|
722
|
+
|
|
723
|
+
### Parameters
|
|
724
|
+
|
|
725
|
+
| Parameter | Type | Required | Description |
|
|
726
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
727
|
+
| `request` | [operations.ListSimilarProductsRequest](../../models/operations/listsimilarproductsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
728
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
729
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
730
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
731
|
+
| `options.serverURL` | *string* | :heavy_minus_sign: | An optional server URL to use. |
|
|
732
|
+
|
|
733
|
+
### Response
|
|
734
|
+
|
|
735
|
+
**Promise\<[operations.ListSimilarProductsResponseBody](../../models/operations/listsimilarproductsresponsebody.md)\>**
|
|
736
|
+
|
|
737
|
+
### Errors
|
|
738
|
+
|
|
739
|
+
| Error Type | Status Code | Content Type |
|
|
740
|
+
| ------------------- | ------------------- | ------------------- |
|
|
741
|
+
| errors.Unauthorized | 401 | application/json |
|
|
742
|
+
| errors.NotFound | 404 | application/json |
|
|
743
|
+
| errors.CeError | 4XX, 5XX | \*/\* |
|
|
744
|
+
|
|
745
|
+
## listUpsellProducts
|
|
9
746
|
|
|
10
|
-
|
|
747
|
+
Retrieves a list of products specified for upsell. The upsell products are returned based on product ids specified in request param.
|
|
748
|
+
|
|
749
|
+
### Example Usage
|
|
750
|
+
|
|
751
|
+
```typescript
|
|
752
|
+
import { CeStorefront } from "ce-storefront";
|
|
753
|
+
|
|
754
|
+
const ceStorefront = new CeStorefront({
|
|
755
|
+
authorization: "<YOUR_BEARER_TOKEN_HERE>",
|
|
756
|
+
});
|
|
757
|
+
|
|
758
|
+
async function run() {
|
|
759
|
+
const result = await ceStorefront.catalog.listUpsellProducts({});
|
|
760
|
+
|
|
761
|
+
// Handle the result
|
|
762
|
+
console.log(result);
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
run();
|
|
766
|
+
```
|
|
767
|
+
|
|
768
|
+
### Standalone function
|
|
769
|
+
|
|
770
|
+
The standalone function version of this method:
|
|
771
|
+
|
|
772
|
+
```typescript
|
|
773
|
+
import { CeStorefrontCore } from "ce-storefront/core.js";
|
|
774
|
+
import { catalogListUpsellProducts } from "ce-storefront/funcs/catalogListUpsellProducts.js";
|
|
775
|
+
|
|
776
|
+
// Use `CeStorefrontCore` for best tree-shaking performance.
|
|
777
|
+
// You can create one instance of it to use across an application.
|
|
778
|
+
const ceStorefront = new CeStorefrontCore({
|
|
779
|
+
authorization: "<YOUR_BEARER_TOKEN_HERE>",
|
|
780
|
+
});
|
|
781
|
+
|
|
782
|
+
async function run() {
|
|
783
|
+
const res = await catalogListUpsellProducts(ceStorefront, {});
|
|
784
|
+
|
|
785
|
+
if (!res.ok) {
|
|
786
|
+
throw res.error;
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
const { value: result } = res;
|
|
790
|
+
|
|
791
|
+
// Handle the result
|
|
792
|
+
console.log(result);
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
run();
|
|
796
|
+
```
|
|
797
|
+
|
|
798
|
+
### Parameters
|
|
799
|
+
|
|
800
|
+
| Parameter | Type | Required | Description |
|
|
801
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
802
|
+
| `request` | [operations.ListUpsellProductsRequest](../../models/operations/listupsellproductsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
803
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
804
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
805
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
806
|
+
| `options.serverURL` | *string* | :heavy_minus_sign: | An optional server URL to use. |
|
|
807
|
+
|
|
808
|
+
### Response
|
|
809
|
+
|
|
810
|
+
**Promise\<[operations.ListUpsellProductsResponseBody](../../models/operations/listupsellproductsresponsebody.md)\>**
|
|
811
|
+
|
|
812
|
+
### Errors
|
|
813
|
+
|
|
814
|
+
| Error Type | Status Code | Content Type |
|
|
815
|
+
| ------------------- | ------------------- | ------------------- |
|
|
816
|
+
| errors.Unauthorized | 401 | application/json |
|
|
817
|
+
| errors.NotFound | 404 | application/json |
|
|
818
|
+
| errors.CeError | 4XX, 5XX | \*/\* |
|
|
819
|
+
|
|
820
|
+
## listCrosssellProducts
|
|
821
|
+
|
|
822
|
+
Retrieves a list of products specified for cross selling. The cross-sell products are returned based on product ids specified in request param.
|
|
823
|
+
|
|
824
|
+
### Example Usage
|
|
825
|
+
|
|
826
|
+
```typescript
|
|
827
|
+
import { CeStorefront } from "ce-storefront";
|
|
828
|
+
|
|
829
|
+
const ceStorefront = new CeStorefront({
|
|
830
|
+
authorization: "<YOUR_BEARER_TOKEN_HERE>",
|
|
831
|
+
});
|
|
832
|
+
|
|
833
|
+
async function run() {
|
|
834
|
+
const result = await ceStorefront.catalog.listCrosssellProducts({});
|
|
835
|
+
|
|
836
|
+
// Handle the result
|
|
837
|
+
console.log(result);
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
run();
|
|
841
|
+
```
|
|
842
|
+
|
|
843
|
+
### Standalone function
|
|
844
|
+
|
|
845
|
+
The standalone function version of this method:
|
|
846
|
+
|
|
847
|
+
```typescript
|
|
848
|
+
import { CeStorefrontCore } from "ce-storefront/core.js";
|
|
849
|
+
import { catalogListCrosssellProducts } from "ce-storefront/funcs/catalogListCrosssellProducts.js";
|
|
850
|
+
|
|
851
|
+
// Use `CeStorefrontCore` for best tree-shaking performance.
|
|
852
|
+
// You can create one instance of it to use across an application.
|
|
853
|
+
const ceStorefront = new CeStorefrontCore({
|
|
854
|
+
authorization: "<YOUR_BEARER_TOKEN_HERE>",
|
|
855
|
+
});
|
|
856
|
+
|
|
857
|
+
async function run() {
|
|
858
|
+
const res = await catalogListCrosssellProducts(ceStorefront, {});
|
|
859
|
+
|
|
860
|
+
if (!res.ok) {
|
|
861
|
+
throw res.error;
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
const { value: result } = res;
|
|
865
|
+
|
|
866
|
+
// Handle the result
|
|
867
|
+
console.log(result);
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
run();
|
|
871
|
+
```
|
|
872
|
+
|
|
873
|
+
### Parameters
|
|
874
|
+
|
|
875
|
+
| Parameter | Type | Required | Description |
|
|
876
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
877
|
+
| `request` | [operations.ListCrosssellProductsRequest](../../models/operations/listcrosssellproductsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
878
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
879
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
880
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
881
|
+
| `options.serverURL` | *string* | :heavy_minus_sign: | An optional server URL to use. |
|
|
882
|
+
|
|
883
|
+
### Response
|
|
884
|
+
|
|
885
|
+
**Promise\<[operations.ListCrosssellProductsResponseBody](../../models/operations/listcrosssellproductsresponsebody.md)\>**
|
|
886
|
+
|
|
887
|
+
### Errors
|
|
888
|
+
|
|
889
|
+
| Error Type | Status Code | Content Type |
|
|
890
|
+
| ------------------- | ------------------- | ------------------- |
|
|
891
|
+
| errors.Unauthorized | 401 | application/json |
|
|
892
|
+
| errors.NotFound | 404 | application/json |
|
|
893
|
+
| errors.CeError | 4XX, 5XX | \*/\* |
|
|
11
894
|
|
|
12
|
-
##
|
|
895
|
+
## searchProducts
|
|
13
896
|
|
|
14
897
|
Search for products matching a specific words or characters given.
|
|
15
898
|
|
|
@@ -23,7 +906,11 @@ const ceStorefront = new CeStorefront({
|
|
|
23
906
|
});
|
|
24
907
|
|
|
25
908
|
async function run() {
|
|
26
|
-
const result = await ceStorefront.catalog.
|
|
909
|
+
const result = await ceStorefront.catalog.searchProducts({
|
|
910
|
+
query: "<value>",
|
|
911
|
+
page: 1,
|
|
912
|
+
limit: 25,
|
|
913
|
+
});
|
|
27
914
|
|
|
28
915
|
// Handle the result
|
|
29
916
|
console.log(result);
|
|
@@ -38,7 +925,7 @@ The standalone function version of this method:
|
|
|
38
925
|
|
|
39
926
|
```typescript
|
|
40
927
|
import { CeStorefrontCore } from "ce-storefront/core.js";
|
|
41
|
-
import {
|
|
928
|
+
import { catalogSearchProducts } from "ce-storefront/funcs/catalogSearchProducts.js";
|
|
42
929
|
|
|
43
930
|
// Use `CeStorefrontCore` for best tree-shaking performance.
|
|
44
931
|
// You can create one instance of it to use across an application.
|
|
@@ -47,7 +934,11 @@ const ceStorefront = new CeStorefrontCore({
|
|
|
47
934
|
});
|
|
48
935
|
|
|
49
936
|
async function run() {
|
|
50
|
-
const res = await
|
|
937
|
+
const res = await catalogSearchProducts(ceStorefront, {
|
|
938
|
+
query: "<value>",
|
|
939
|
+
page: 1,
|
|
940
|
+
limit: 25,
|
|
941
|
+
});
|
|
51
942
|
|
|
52
943
|
if (!res.ok) {
|
|
53
944
|
throw res.error;
|
|
@@ -70,10 +961,11 @@ run();
|
|
|
70
961
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
71
962
|
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
72
963
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
964
|
+
| `options.serverURL` | *string* | :heavy_minus_sign: | An optional server URL to use. |
|
|
73
965
|
|
|
74
966
|
### Response
|
|
75
967
|
|
|
76
|
-
**Promise\<[operations.
|
|
968
|
+
**Promise\<[operations.SearchProductsResponseBody](../../models/operations/searchproductsresponsebody.md)\>**
|
|
77
969
|
|
|
78
970
|
### Errors
|
|
79
971
|
|