ce-storefront 0.5.6 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -35
- package/docs/sdks/auth/README.md +0 -14
- package/docs/sdks/campaigns/README.md +0 -1
- package/docs/sdks/carts/README.md +0 -9
- package/docs/sdks/catalog/README.md +0 -12
- package/docs/sdks/common/README.md +0 -1
- package/docs/sdks/customers/README.md +0 -6
- package/docs/sdks/orders/README.md +0 -7
- package/docs/sdks/shipping/README.md +0 -1
- package/esm/funcs/authCheckVerificationStatus.d.ts.map +1 -1
- package/esm/funcs/authCheckVerificationStatus.js +1 -8
- package/esm/funcs/authCheckVerificationStatus.js.map +1 -1
- package/esm/funcs/authCreateNotificationPreferences.d.ts.map +1 -1
- package/esm/funcs/authCreateNotificationPreferences.js +1 -8
- package/esm/funcs/authCreateNotificationPreferences.js.map +1 -1
- package/esm/funcs/authGenerateOtp.d.ts.map +1 -1
- package/esm/funcs/authGenerateOtp.js +1 -6
- package/esm/funcs/authGenerateOtp.js.map +1 -1
- package/esm/funcs/authGetAnonymousToken.d.ts.map +1 -1
- package/esm/funcs/authGetAnonymousToken.js +1 -6
- package/esm/funcs/authGetAnonymousToken.js.map +1 -1
- package/esm/funcs/authGetNotificationPreferences.d.ts.map +1 -1
- package/esm/funcs/authGetNotificationPreferences.js +1 -8
- package/esm/funcs/authGetNotificationPreferences.js.map +1 -1
- package/esm/funcs/authGetUserDetail.d.ts.map +1 -1
- package/esm/funcs/authGetUserDetail.js +1 -6
- package/esm/funcs/authGetUserDetail.js.map +1 -1
- package/esm/funcs/authLoginWithEmail.d.ts.map +1 -1
- package/esm/funcs/authLoginWithEmail.js +1 -6
- package/esm/funcs/authLoginWithEmail.js.map +1 -1
- package/esm/funcs/authLoginWithPhone.d.ts.map +1 -1
- package/esm/funcs/authLoginWithPhone.js +1 -6
- package/esm/funcs/authLoginWithPhone.js.map +1 -1
- package/esm/funcs/authLoginWithWhatsapp.d.ts.map +1 -1
- package/esm/funcs/authLoginWithWhatsapp.js +1 -6
- package/esm/funcs/authLoginWithWhatsapp.js.map +1 -1
- package/esm/funcs/authLogout.d.ts.map +1 -1
- package/esm/funcs/authLogout.js +1 -6
- package/esm/funcs/authLogout.js.map +1 -1
- package/esm/funcs/authRefreshToken.d.ts.map +1 -1
- package/esm/funcs/authRefreshToken.js +1 -6
- package/esm/funcs/authRefreshToken.js.map +1 -1
- package/esm/funcs/authUpdateNotificationPreferences.d.ts.map +1 -1
- package/esm/funcs/authUpdateNotificationPreferences.js +1 -8
- package/esm/funcs/authUpdateNotificationPreferences.js.map +1 -1
- package/esm/funcs/authUpdateUser.d.ts.map +1 -1
- package/esm/funcs/authUpdateUser.js +1 -6
- package/esm/funcs/authUpdateUser.js.map +1 -1
- package/esm/funcs/authVerifyOtp.d.ts.map +1 -1
- package/esm/funcs/authVerifyOtp.js +1 -6
- package/esm/funcs/authVerifyOtp.js.map +1 -1
- package/esm/funcs/campaignsSubscribeNewsletter.d.ts.map +1 -1
- package/esm/funcs/campaignsSubscribeNewsletter.js +1 -8
- package/esm/funcs/campaignsSubscribeNewsletter.js.map +1 -1
- package/esm/funcs/cartsApplyCoupon.d.ts.map +1 -1
- package/esm/funcs/cartsApplyCoupon.js +1 -6
- package/esm/funcs/cartsApplyCoupon.js.map +1 -1
- package/esm/funcs/cartsCreateCart.d.ts.map +1 -1
- package/esm/funcs/cartsCreateCart.js +1 -6
- package/esm/funcs/cartsCreateCart.js.map +1 -1
- package/esm/funcs/cartsCreateCartAddress.d.ts.map +1 -1
- package/esm/funcs/cartsCreateCartAddress.js +1 -6
- package/esm/funcs/cartsCreateCartAddress.js.map +1 -1
- package/esm/funcs/cartsDeleteCart.d.ts.map +1 -1
- package/esm/funcs/cartsDeleteCart.js +1 -6
- package/esm/funcs/cartsDeleteCart.js.map +1 -1
- package/esm/funcs/cartsGetCart.d.ts.map +1 -1
- package/esm/funcs/cartsGetCart.js +1 -6
- package/esm/funcs/cartsGetCart.js.map +1 -1
- package/esm/funcs/cartsGetUserCart.d.ts.map +1 -1
- package/esm/funcs/cartsGetUserCart.js +1 -6
- package/esm/funcs/cartsGetUserCart.js.map +1 -1
- package/esm/funcs/cartsRemoveCoupon.d.ts.map +1 -1
- package/esm/funcs/cartsRemoveCoupon.js +1 -6
- package/esm/funcs/cartsRemoveCoupon.js.map +1 -1
- package/esm/funcs/cartsRemoveUserCart.d.ts.map +1 -1
- package/esm/funcs/cartsRemoveUserCart.js +1 -6
- package/esm/funcs/cartsRemoveUserCart.js.map +1 -1
- package/esm/funcs/cartsUpdateCart.d.ts.map +1 -1
- package/esm/funcs/cartsUpdateCart.js +1 -6
- package/esm/funcs/cartsUpdateCart.js.map +1 -1
- package/esm/funcs/catalogCreateProductReview.d.ts.map +1 -1
- package/esm/funcs/catalogCreateProductReview.js +1 -8
- package/esm/funcs/catalogCreateProductReview.js.map +1 -1
- package/esm/funcs/catalogGetProductDetail.d.ts.map +1 -1
- package/esm/funcs/catalogGetProductDetail.js +1 -6
- package/esm/funcs/catalogGetProductDetail.js.map +1 -1
- package/esm/funcs/catalogGetVariantDetail.d.ts.map +1 -1
- package/esm/funcs/catalogGetVariantDetail.js +1 -6
- package/esm/funcs/catalogGetVariantDetail.js.map +1 -1
- package/esm/funcs/catalogListCategories.d.ts.map +1 -1
- package/esm/funcs/catalogListCategories.js +1 -6
- package/esm/funcs/catalogListCategories.js.map +1 -1
- package/esm/funcs/catalogListCrosssellProducts.d.ts.map +1 -1
- package/esm/funcs/catalogListCrosssellProducts.js +1 -8
- package/esm/funcs/catalogListCrosssellProducts.js.map +1 -1
- package/esm/funcs/catalogListProductReviews.d.ts.map +1 -1
- package/esm/funcs/catalogListProductReviews.js +1 -6
- package/esm/funcs/catalogListProductReviews.js.map +1 -1
- package/esm/funcs/catalogListProductVariants.d.ts.map +1 -1
- package/esm/funcs/catalogListProductVariants.js +1 -8
- package/esm/funcs/catalogListProductVariants.js.map +1 -1
- package/esm/funcs/catalogListProducts.d.ts.map +1 -1
- package/esm/funcs/catalogListProducts.js +1 -6
- package/esm/funcs/catalogListProducts.js.map +1 -1
- package/esm/funcs/catalogListSimilarProducts.d.ts.map +1 -1
- package/esm/funcs/catalogListSimilarProducts.js +1 -8
- package/esm/funcs/catalogListSimilarProducts.js.map +1 -1
- package/esm/funcs/catalogListSkus.d.ts.map +1 -1
- package/esm/funcs/catalogListSkus.js +1 -6
- package/esm/funcs/catalogListSkus.js.map +1 -1
- package/esm/funcs/catalogListUpsellProducts.d.ts.map +1 -1
- package/esm/funcs/catalogListUpsellProducts.js +1 -6
- package/esm/funcs/catalogListUpsellProducts.js.map +1 -1
- package/esm/funcs/catalogSearchProducts.d.ts.map +1 -1
- package/esm/funcs/catalogSearchProducts.js +1 -6
- package/esm/funcs/catalogSearchProducts.js.map +1 -1
- package/esm/funcs/commonListCountryPincodes.d.ts.map +1 -1
- package/esm/funcs/commonListCountryPincodes.js +1 -8
- package/esm/funcs/commonListCountryPincodes.js.map +1 -1
- package/esm/funcs/customersCreateAddress.d.ts.map +1 -1
- package/esm/funcs/customersCreateAddress.js +1 -6
- package/esm/funcs/customersCreateAddress.js.map +1 -1
- package/esm/funcs/customersDeleteAddress.d.ts.map +1 -1
- package/esm/funcs/customersDeleteAddress.js +1 -6
- package/esm/funcs/customersDeleteAddress.js.map +1 -1
- package/esm/funcs/customersGetAddressDetail.d.ts.map +1 -1
- package/esm/funcs/customersGetAddressDetail.js +1 -6
- package/esm/funcs/customersGetAddressDetail.js.map +1 -1
- package/esm/funcs/customersListAddresses.d.ts.map +1 -1
- package/esm/funcs/customersListAddresses.js +1 -6
- package/esm/funcs/customersListAddresses.js.map +1 -1
- package/esm/funcs/customersListUserReviews.d.ts.map +1 -1
- package/esm/funcs/customersListUserReviews.js +1 -6
- package/esm/funcs/customersListUserReviews.js.map +1 -1
- package/esm/funcs/customersUpdateAddressDetail.d.ts.map +1 -1
- package/esm/funcs/customersUpdateAddressDetail.js +1 -8
- package/esm/funcs/customersUpdateAddressDetail.js.map +1 -1
- package/esm/funcs/ordersCancelOrder.d.ts.map +1 -1
- package/esm/funcs/ordersCancelOrder.js +1 -6
- package/esm/funcs/ordersCancelOrder.js.map +1 -1
- package/esm/funcs/ordersCreateOrder.d.ts.map +1 -1
- package/esm/funcs/ordersCreateOrder.js +1 -6
- package/esm/funcs/ordersCreateOrder.js.map +1 -1
- package/esm/funcs/ordersGetOrderDetail.d.ts.map +1 -1
- package/esm/funcs/ordersGetOrderDetail.js +1 -6
- package/esm/funcs/ordersGetOrderDetail.js.map +1 -1
- package/esm/funcs/ordersGetPaymentStatus.d.ts.map +1 -1
- package/esm/funcs/ordersGetPaymentStatus.js +1 -6
- package/esm/funcs/ordersGetPaymentStatus.js.map +1 -1
- package/esm/funcs/ordersListOrderShipments.d.ts.map +1 -1
- package/esm/funcs/ordersListOrderShipments.js +1 -6
- package/esm/funcs/ordersListOrderShipments.js.map +1 -1
- package/esm/funcs/ordersListOrders.d.ts.map +1 -1
- package/esm/funcs/ordersListOrders.js +1 -6
- package/esm/funcs/ordersListOrders.js.map +1 -1
- package/esm/funcs/ordersRetryOrderPayment.d.ts.map +1 -1
- package/esm/funcs/ordersRetryOrderPayment.js +1 -6
- package/esm/funcs/ordersRetryOrderPayment.js.map +1 -1
- package/esm/funcs/shippingCheckDeliveryAvailability.d.ts.map +1 -1
- package/esm/funcs/shippingCheckDeliveryAvailability.js +1 -8
- package/esm/funcs/shippingCheckDeliveryAvailability.js.map +1 -1
- package/esm/lib/config.d.ts +16 -5
- package/esm/lib/config.d.ts.map +1 -1
- package/esm/lib/config.js +24 -25
- package/esm/lib/config.js.map +1 -1
- package/esm/models/components/orderitem.js +1 -1
- package/esm/models/components/orderitem.js.map +1 -1
- package/esm/models/operations/applycoupon.d.ts +0 -1
- package/esm/models/operations/applycoupon.d.ts.map +1 -1
- package/esm/models/operations/applycoupon.js +0 -10
- package/esm/models/operations/applycoupon.js.map +1 -1
- package/esm/models/operations/cancelorder.d.ts +0 -1
- package/esm/models/operations/cancelorder.d.ts.map +1 -1
- package/esm/models/operations/cancelorder.js +0 -10
- package/esm/models/operations/cancelorder.js.map +1 -1
- package/esm/models/operations/checkdeliveryavailability.d.ts +0 -1
- package/esm/models/operations/checkdeliveryavailability.d.ts.map +1 -1
- package/esm/models/operations/checkdeliveryavailability.js +0 -10
- package/esm/models/operations/checkdeliveryavailability.js.map +1 -1
- package/esm/models/operations/checkverificationstatus.d.ts +0 -1
- package/esm/models/operations/checkverificationstatus.d.ts.map +1 -1
- package/esm/models/operations/checkverificationstatus.js +0 -10
- package/esm/models/operations/checkverificationstatus.js.map +1 -1
- package/esm/models/operations/createaddress.d.ts +0 -1
- package/esm/models/operations/createaddress.d.ts.map +1 -1
- package/esm/models/operations/createaddress.js +0 -10
- package/esm/models/operations/createaddress.js.map +1 -1
- package/esm/models/operations/createcart.d.ts +0 -1
- package/esm/models/operations/createcart.d.ts.map +1 -1
- package/esm/models/operations/createcart.js +0 -10
- package/esm/models/operations/createcart.js.map +1 -1
- package/esm/models/operations/createcartaddress.d.ts +0 -1
- package/esm/models/operations/createcartaddress.d.ts.map +1 -1
- package/esm/models/operations/createcartaddress.js +0 -10
- package/esm/models/operations/createcartaddress.js.map +1 -1
- package/esm/models/operations/createnotificationpreferences.d.ts +0 -1
- package/esm/models/operations/createnotificationpreferences.d.ts.map +1 -1
- package/esm/models/operations/createnotificationpreferences.js +0 -10
- package/esm/models/operations/createnotificationpreferences.js.map +1 -1
- package/esm/models/operations/createorder.d.ts +0 -1
- package/esm/models/operations/createorder.d.ts.map +1 -1
- package/esm/models/operations/createorder.js +0 -10
- package/esm/models/operations/createorder.js.map +1 -1
- package/esm/models/operations/createproductreview.d.ts +0 -1
- package/esm/models/operations/createproductreview.d.ts.map +1 -1
- package/esm/models/operations/createproductreview.js +0 -10
- package/esm/models/operations/createproductreview.js.map +1 -1
- package/esm/models/operations/deleteaddress.d.ts +0 -1
- package/esm/models/operations/deleteaddress.d.ts.map +1 -1
- package/esm/models/operations/deleteaddress.js +0 -10
- package/esm/models/operations/deleteaddress.js.map +1 -1
- package/esm/models/operations/deletecart.d.ts +0 -1
- package/esm/models/operations/deletecart.d.ts.map +1 -1
- package/esm/models/operations/deletecart.js +0 -10
- package/esm/models/operations/deletecart.js.map +1 -1
- package/esm/models/operations/deleteusercart.d.ts +0 -1
- package/esm/models/operations/deleteusercart.d.ts.map +1 -1
- package/esm/models/operations/deleteusercart.js +0 -10
- package/esm/models/operations/deleteusercart.js.map +1 -1
- package/esm/models/operations/generateotp.d.ts +0 -1
- package/esm/models/operations/generateotp.d.ts.map +1 -1
- package/esm/models/operations/generateotp.js +0 -10
- package/esm/models/operations/generateotp.js.map +1 -1
- package/esm/models/operations/getaddressdetail.d.ts +0 -1
- package/esm/models/operations/getaddressdetail.d.ts.map +1 -1
- package/esm/models/operations/getaddressdetail.js +0 -10
- package/esm/models/operations/getaddressdetail.js.map +1 -1
- package/esm/models/operations/getanonymoustoken.d.ts +0 -1
- package/esm/models/operations/getanonymoustoken.d.ts.map +1 -1
- package/esm/models/operations/getanonymoustoken.js +0 -10
- package/esm/models/operations/getanonymoustoken.js.map +1 -1
- package/esm/models/operations/getcart.d.ts +0 -1
- package/esm/models/operations/getcart.d.ts.map +1 -1
- package/esm/models/operations/getcart.js +0 -10
- package/esm/models/operations/getcart.js.map +1 -1
- package/esm/models/operations/getnotificationpreferences.d.ts +0 -1
- package/esm/models/operations/getnotificationpreferences.d.ts.map +1 -1
- package/esm/models/operations/getnotificationpreferences.js +0 -10
- package/esm/models/operations/getnotificationpreferences.js.map +1 -1
- package/esm/models/operations/getorderdetail.d.ts +0 -1
- package/esm/models/operations/getorderdetail.d.ts.map +1 -1
- package/esm/models/operations/getorderdetail.js +0 -10
- package/esm/models/operations/getorderdetail.js.map +1 -1
- package/esm/models/operations/getpaymentstatus.d.ts +0 -1
- package/esm/models/operations/getpaymentstatus.d.ts.map +1 -1
- package/esm/models/operations/getpaymentstatus.js +0 -10
- package/esm/models/operations/getpaymentstatus.js.map +1 -1
- package/esm/models/operations/getproductdetail.d.ts +0 -1
- package/esm/models/operations/getproductdetail.d.ts.map +1 -1
- package/esm/models/operations/getproductdetail.js +0 -10
- package/esm/models/operations/getproductdetail.js.map +1 -1
- package/esm/models/operations/getusercart.d.ts +0 -1
- package/esm/models/operations/getusercart.d.ts.map +1 -1
- package/esm/models/operations/getusercart.js +0 -10
- package/esm/models/operations/getusercart.js.map +1 -1
- package/esm/models/operations/getuserdetail.d.ts +0 -1
- package/esm/models/operations/getuserdetail.d.ts.map +1 -1
- package/esm/models/operations/getuserdetail.js +0 -10
- package/esm/models/operations/getuserdetail.js.map +1 -1
- package/esm/models/operations/getvariantdetail.d.ts +0 -1
- package/esm/models/operations/getvariantdetail.d.ts.map +1 -1
- package/esm/models/operations/getvariantdetail.js +0 -10
- package/esm/models/operations/getvariantdetail.js.map +1 -1
- package/esm/models/operations/listaddresses.d.ts +0 -1
- package/esm/models/operations/listaddresses.d.ts.map +1 -1
- package/esm/models/operations/listaddresses.js +0 -10
- package/esm/models/operations/listaddresses.js.map +1 -1
- package/esm/models/operations/listcategories.d.ts +0 -1
- package/esm/models/operations/listcategories.d.ts.map +1 -1
- package/esm/models/operations/listcategories.js +0 -10
- package/esm/models/operations/listcategories.js.map +1 -1
- package/esm/models/operations/listcountrypincodes.d.ts +0 -1
- package/esm/models/operations/listcountrypincodes.d.ts.map +1 -1
- package/esm/models/operations/listcountrypincodes.js +0 -10
- package/esm/models/operations/listcountrypincodes.js.map +1 -1
- package/esm/models/operations/listcrosssellproducts.d.ts +0 -1
- package/esm/models/operations/listcrosssellproducts.d.ts.map +1 -1
- package/esm/models/operations/listcrosssellproducts.js +0 -10
- package/esm/models/operations/listcrosssellproducts.js.map +1 -1
- package/esm/models/operations/listorders.d.ts +0 -1
- package/esm/models/operations/listorders.d.ts.map +1 -1
- package/esm/models/operations/listorders.js +0 -10
- package/esm/models/operations/listorders.js.map +1 -1
- package/esm/models/operations/listordershipments.d.ts +0 -1
- package/esm/models/operations/listordershipments.d.ts.map +1 -1
- package/esm/models/operations/listordershipments.js +0 -10
- package/esm/models/operations/listordershipments.js.map +1 -1
- package/esm/models/operations/listproductreviews.d.ts +0 -1
- package/esm/models/operations/listproductreviews.d.ts.map +1 -1
- package/esm/models/operations/listproductreviews.js +0 -10
- package/esm/models/operations/listproductreviews.js.map +1 -1
- package/esm/models/operations/listproducts.d.ts +0 -1
- package/esm/models/operations/listproducts.d.ts.map +1 -1
- package/esm/models/operations/listproducts.js +0 -10
- package/esm/models/operations/listproducts.js.map +1 -1
- package/esm/models/operations/listproductvariants.d.ts +0 -1
- package/esm/models/operations/listproductvariants.d.ts.map +1 -1
- package/esm/models/operations/listproductvariants.js +0 -10
- package/esm/models/operations/listproductvariants.js.map +1 -1
- package/esm/models/operations/listsimilarproducts.d.ts +0 -1
- package/esm/models/operations/listsimilarproducts.d.ts.map +1 -1
- package/esm/models/operations/listsimilarproducts.js +0 -10
- package/esm/models/operations/listsimilarproducts.js.map +1 -1
- package/esm/models/operations/listskus.d.ts +0 -1
- package/esm/models/operations/listskus.d.ts.map +1 -1
- package/esm/models/operations/listskus.js +0 -10
- package/esm/models/operations/listskus.js.map +1 -1
- package/esm/models/operations/listupsellproducts.d.ts +0 -1
- package/esm/models/operations/listupsellproducts.d.ts.map +1 -1
- package/esm/models/operations/listupsellproducts.js +0 -10
- package/esm/models/operations/listupsellproducts.js.map +1 -1
- package/esm/models/operations/listuserreviews.d.ts +0 -1
- package/esm/models/operations/listuserreviews.d.ts.map +1 -1
- package/esm/models/operations/listuserreviews.js +0 -10
- package/esm/models/operations/listuserreviews.js.map +1 -1
- package/esm/models/operations/loginwithemail.d.ts +0 -1
- package/esm/models/operations/loginwithemail.d.ts.map +1 -1
- package/esm/models/operations/loginwithemail.js +0 -10
- package/esm/models/operations/loginwithemail.js.map +1 -1
- package/esm/models/operations/loginwithphone.d.ts +0 -1
- package/esm/models/operations/loginwithphone.d.ts.map +1 -1
- package/esm/models/operations/loginwithphone.js +0 -10
- package/esm/models/operations/loginwithphone.js.map +1 -1
- package/esm/models/operations/loginwithwhatsapp.d.ts +0 -1
- package/esm/models/operations/loginwithwhatsapp.d.ts.map +1 -1
- package/esm/models/operations/loginwithwhatsapp.js +0 -10
- package/esm/models/operations/loginwithwhatsapp.js.map +1 -1
- package/esm/models/operations/logout.d.ts +0 -1
- package/esm/models/operations/logout.d.ts.map +1 -1
- package/esm/models/operations/logout.js +0 -10
- package/esm/models/operations/logout.js.map +1 -1
- package/esm/models/operations/refreshtoken.d.ts +0 -1
- package/esm/models/operations/refreshtoken.d.ts.map +1 -1
- package/esm/models/operations/refreshtoken.js +0 -10
- package/esm/models/operations/refreshtoken.js.map +1 -1
- package/esm/models/operations/removecoupon.d.ts +0 -1
- package/esm/models/operations/removecoupon.d.ts.map +1 -1
- package/esm/models/operations/removecoupon.js +0 -10
- package/esm/models/operations/removecoupon.js.map +1 -1
- package/esm/models/operations/retryorderpayment.d.ts +0 -1
- package/esm/models/operations/retryorderpayment.d.ts.map +1 -1
- package/esm/models/operations/retryorderpayment.js +0 -10
- package/esm/models/operations/retryorderpayment.js.map +1 -1
- package/esm/models/operations/searchproducts.d.ts +0 -1
- package/esm/models/operations/searchproducts.d.ts.map +1 -1
- package/esm/models/operations/searchproducts.js +0 -10
- package/esm/models/operations/searchproducts.js.map +1 -1
- package/esm/models/operations/subscribenewsletter.d.ts +0 -1
- package/esm/models/operations/subscribenewsletter.d.ts.map +1 -1
- package/esm/models/operations/subscribenewsletter.js +0 -10
- package/esm/models/operations/subscribenewsletter.js.map +1 -1
- package/esm/models/operations/updateaddressdetail.d.ts +0 -1
- package/esm/models/operations/updateaddressdetail.d.ts.map +1 -1
- package/esm/models/operations/updateaddressdetail.js +0 -10
- package/esm/models/operations/updateaddressdetail.js.map +1 -1
- package/esm/models/operations/updatecart.d.ts +0 -1
- package/esm/models/operations/updatecart.d.ts.map +1 -1
- package/esm/models/operations/updatecart.js +0 -10
- package/esm/models/operations/updatecart.js.map +1 -1
- package/esm/models/operations/updatenotificationpreferences.d.ts +0 -1
- package/esm/models/operations/updatenotificationpreferences.d.ts.map +1 -1
- package/esm/models/operations/updatenotificationpreferences.js +0 -10
- package/esm/models/operations/updatenotificationpreferences.js.map +1 -1
- package/esm/models/operations/updateuser.d.ts +0 -1
- package/esm/models/operations/updateuser.d.ts.map +1 -1
- package/esm/models/operations/updateuser.js +0 -10
- package/esm/models/operations/updateuser.js.map +1 -1
- package/esm/models/operations/verifyotp.d.ts +0 -1
- package/esm/models/operations/verifyotp.d.ts.map +1 -1
- package/esm/models/operations/verifyotp.js +0 -10
- package/esm/models/operations/verifyotp.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/authCheckVerificationStatus.ts +1 -9
- package/src/funcs/authCreateNotificationPreferences.ts +1 -9
- package/src/funcs/authGenerateOtp.ts +1 -7
- package/src/funcs/authGetAnonymousToken.ts +1 -7
- package/src/funcs/authGetNotificationPreferences.ts +1 -9
- package/src/funcs/authGetUserDetail.ts +1 -7
- package/src/funcs/authLoginWithEmail.ts +1 -7
- package/src/funcs/authLoginWithPhone.ts +1 -7
- package/src/funcs/authLoginWithWhatsapp.ts +1 -7
- package/src/funcs/authLogout.ts +1 -7
- package/src/funcs/authRefreshToken.ts +1 -7
- package/src/funcs/authUpdateNotificationPreferences.ts +1 -9
- package/src/funcs/authUpdateUser.ts +1 -7
- package/src/funcs/authVerifyOtp.ts +1 -7
- package/src/funcs/campaignsSubscribeNewsletter.ts +1 -9
- package/src/funcs/cartsApplyCoupon.ts +1 -7
- package/src/funcs/cartsCreateCart.ts +1 -7
- package/src/funcs/cartsCreateCartAddress.ts +1 -7
- package/src/funcs/cartsDeleteCart.ts +1 -7
- package/src/funcs/cartsGetCart.ts +1 -7
- package/src/funcs/cartsGetUserCart.ts +1 -7
- package/src/funcs/cartsRemoveCoupon.ts +1 -7
- package/src/funcs/cartsRemoveUserCart.ts +1 -7
- package/src/funcs/cartsUpdateCart.ts +1 -7
- package/src/funcs/catalogCreateProductReview.ts +1 -9
- package/src/funcs/catalogGetProductDetail.ts +1 -7
- package/src/funcs/catalogGetVariantDetail.ts +1 -7
- package/src/funcs/catalogListCategories.ts +1 -7
- package/src/funcs/catalogListCrosssellProducts.ts +1 -9
- package/src/funcs/catalogListProductReviews.ts +1 -9
- package/src/funcs/catalogListProductVariants.ts +1 -9
- package/src/funcs/catalogListProducts.ts +1 -7
- package/src/funcs/catalogListSimilarProducts.ts +1 -9
- package/src/funcs/catalogListSkus.ts +1 -7
- package/src/funcs/catalogListUpsellProducts.ts +1 -9
- package/src/funcs/catalogSearchProducts.ts +1 -7
- package/src/funcs/commonListCountryPincodes.ts +1 -9
- package/src/funcs/customersCreateAddress.ts +1 -7
- package/src/funcs/customersDeleteAddress.ts +1 -7
- package/src/funcs/customersGetAddressDetail.ts +1 -7
- package/src/funcs/customersListAddresses.ts +1 -7
- package/src/funcs/customersListUserReviews.ts +1 -7
- package/src/funcs/customersUpdateAddressDetail.ts +1 -9
- package/src/funcs/ordersCancelOrder.ts +1 -7
- package/src/funcs/ordersCreateOrder.ts +1 -7
- package/src/funcs/ordersGetOrderDetail.ts +1 -7
- package/src/funcs/ordersGetPaymentStatus.ts +1 -7
- package/src/funcs/ordersListOrderShipments.ts +1 -9
- package/src/funcs/ordersListOrders.ts +1 -7
- package/src/funcs/ordersRetryOrderPayment.ts +1 -7
- package/src/funcs/shippingCheckDeliveryAvailability.ts +1 -9
- package/src/lib/config.ts +28 -26
- package/src/models/components/orderitem.ts +1 -1
- package/src/models/operations/applycoupon.ts +0 -11
- package/src/models/operations/cancelorder.ts +0 -11
- package/src/models/operations/checkdeliveryavailability.ts +0 -11
- package/src/models/operations/checkverificationstatus.ts +0 -11
- package/src/models/operations/createaddress.ts +0 -11
- package/src/models/operations/createcart.ts +0 -11
- package/src/models/operations/createcartaddress.ts +0 -11
- package/src/models/operations/createnotificationpreferences.ts +0 -11
- package/src/models/operations/createorder.ts +0 -11
- package/src/models/operations/createproductreview.ts +0 -11
- package/src/models/operations/deleteaddress.ts +0 -11
- package/src/models/operations/deletecart.ts +0 -11
- package/src/models/operations/deleteusercart.ts +0 -11
- package/src/models/operations/generateotp.ts +0 -11
- package/src/models/operations/getaddressdetail.ts +0 -11
- package/src/models/operations/getanonymoustoken.ts +0 -11
- package/src/models/operations/getcart.ts +0 -11
- package/src/models/operations/getnotificationpreferences.ts +0 -11
- package/src/models/operations/getorderdetail.ts +0 -11
- package/src/models/operations/getpaymentstatus.ts +0 -11
- package/src/models/operations/getproductdetail.ts +0 -11
- package/src/models/operations/getusercart.ts +0 -11
- package/src/models/operations/getuserdetail.ts +0 -11
- package/src/models/operations/getvariantdetail.ts +0 -11
- package/src/models/operations/listaddresses.ts +0 -11
- package/src/models/operations/listcategories.ts +0 -11
- package/src/models/operations/listcountrypincodes.ts +0 -11
- package/src/models/operations/listcrosssellproducts.ts +0 -11
- package/src/models/operations/listorders.ts +0 -11
- package/src/models/operations/listordershipments.ts +0 -11
- package/src/models/operations/listproductreviews.ts +0 -11
- package/src/models/operations/listproducts.ts +0 -11
- package/src/models/operations/listproductvariants.ts +0 -11
- package/src/models/operations/listsimilarproducts.ts +0 -11
- package/src/models/operations/listskus.ts +0 -11
- package/src/models/operations/listupsellproducts.ts +0 -11
- package/src/models/operations/listuserreviews.ts +0 -11
- package/src/models/operations/loginwithemail.ts +0 -11
- package/src/models/operations/loginwithphone.ts +0 -11
- package/src/models/operations/loginwithwhatsapp.ts +0 -11
- package/src/models/operations/logout.ts +0 -11
- package/src/models/operations/refreshtoken.ts +0 -11
- package/src/models/operations/removecoupon.ts +0 -11
- package/src/models/operations/retryorderpayment.ts +0 -11
- package/src/models/operations/searchproducts.ts +0 -11
- package/src/models/operations/subscribenewsletter.ts +0 -11
- package/src/models/operations/updateaddressdetail.ts +0 -11
- package/src/models/operations/updatecart.ts +0 -11
- package/src/models/operations/updatenotificationpreferences.ts +0 -11
- package/src/models/operations/updateuser.ts +0 -11
- package/src/models/operations/verifyotp.ts +0 -11
|
@@ -8,17 +8,6 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
8
8
|
import * as components from "../components/index.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
|
-
export const GetCartServerList = [
|
|
12
|
-
/**
|
|
13
|
-
* Staging Server
|
|
14
|
-
*/
|
|
15
|
-
"https://staging.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
16
|
-
/**
|
|
17
|
-
* Prod Server
|
|
18
|
-
*/
|
|
19
|
-
"https://prod.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
20
|
-
] as const;
|
|
21
|
-
|
|
22
11
|
export type GetCartRequest = {
|
|
23
12
|
/**
|
|
24
13
|
* Cart ID
|
|
@@ -9,17 +9,6 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import * as components from "../components/index.js";
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
|
-
export const GetNotificationPreferencesServerList = [
|
|
13
|
-
/**
|
|
14
|
-
* Staging Server
|
|
15
|
-
*/
|
|
16
|
-
"https://staging.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
17
|
-
/**
|
|
18
|
-
* Prod Server
|
|
19
|
-
*/
|
|
20
|
-
"https://prod.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
21
|
-
] as const;
|
|
22
|
-
|
|
23
12
|
export type GetNotificationPreferencesRequest = {
|
|
24
13
|
/**
|
|
25
14
|
* user id
|
|
@@ -9,17 +9,6 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import * as components from "../components/index.js";
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
|
-
export const GetOrderDetailServerList = [
|
|
13
|
-
/**
|
|
14
|
-
* Staging Server
|
|
15
|
-
*/
|
|
16
|
-
"https://staging.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
17
|
-
/**
|
|
18
|
-
* Prod Server
|
|
19
|
-
*/
|
|
20
|
-
"https://prod.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
21
|
-
] as const;
|
|
22
|
-
|
|
23
12
|
export type GetOrderDetailRequest = {
|
|
24
13
|
/**
|
|
25
14
|
* order number
|
|
@@ -9,17 +9,6 @@ import { ClosedEnum } from "../../types/enums.js";
|
|
|
9
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
|
-
export const GetPaymentStatusServerList = [
|
|
13
|
-
/**
|
|
14
|
-
* Staging Server
|
|
15
|
-
*/
|
|
16
|
-
"https://staging.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
17
|
-
/**
|
|
18
|
-
* Prod Server
|
|
19
|
-
*/
|
|
20
|
-
"https://prod.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
21
|
-
] as const;
|
|
22
|
-
|
|
23
12
|
export type GetPaymentStatusRequest = {
|
|
24
13
|
/**
|
|
25
14
|
* order number
|
|
@@ -9,17 +9,6 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import * as components from "../components/index.js";
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
|
-
export const GetProductDetailServerList = [
|
|
13
|
-
/**
|
|
14
|
-
* Staging Server
|
|
15
|
-
*/
|
|
16
|
-
"https://staging.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
17
|
-
/**
|
|
18
|
-
* Prod Server
|
|
19
|
-
*/
|
|
20
|
-
"https://prod.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
21
|
-
] as const;
|
|
22
|
-
|
|
23
12
|
export type GetProductDetailRequest = {
|
|
24
13
|
/**
|
|
25
14
|
* use this param only if different pricing is configured as per customer group
|
|
@@ -9,17 +9,6 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import * as components from "../components/index.js";
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
|
-
export const GetUserCartServerList = [
|
|
13
|
-
/**
|
|
14
|
-
* Staging Server
|
|
15
|
-
*/
|
|
16
|
-
"https://staging.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
17
|
-
/**
|
|
18
|
-
* Prod Server
|
|
19
|
-
*/
|
|
20
|
-
"https://prod.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
21
|
-
] as const;
|
|
22
|
-
|
|
23
12
|
export type GetUserCartRequest = {
|
|
24
13
|
/**
|
|
25
14
|
* User ID
|
|
@@ -8,17 +8,6 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
8
8
|
import * as components from "../components/index.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
|
-
export const GetUserDetailServerList = [
|
|
12
|
-
/**
|
|
13
|
-
* Staging Server
|
|
14
|
-
*/
|
|
15
|
-
"https://staging.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
16
|
-
/**
|
|
17
|
-
* Prod Server
|
|
18
|
-
*/
|
|
19
|
-
"https://prod.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
20
|
-
] as const;
|
|
21
|
-
|
|
22
11
|
export type GetUserDetailRequest = {
|
|
23
12
|
/**
|
|
24
13
|
* user ID
|
|
@@ -9,17 +9,6 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import * as components from "../components/index.js";
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
|
-
export const GetVariantDetailServerList = [
|
|
13
|
-
/**
|
|
14
|
-
* Staging Server
|
|
15
|
-
*/
|
|
16
|
-
"https://staging.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
17
|
-
/**
|
|
18
|
-
* Prod Server
|
|
19
|
-
*/
|
|
20
|
-
"https://prod.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
21
|
-
] as const;
|
|
22
|
-
|
|
23
12
|
export type GetVariantDetailRequest = {
|
|
24
13
|
/**
|
|
25
14
|
* use this param only if different pricing is configured as per customer group
|
|
@@ -9,17 +9,6 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import * as components from "../components/index.js";
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
|
-
export const ListAddressesServerList = [
|
|
13
|
-
/**
|
|
14
|
-
* Staging Server
|
|
15
|
-
*/
|
|
16
|
-
"https://staging.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
17
|
-
/**
|
|
18
|
-
* Prod Server
|
|
19
|
-
*/
|
|
20
|
-
"https://prod.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
21
|
-
] as const;
|
|
22
|
-
|
|
23
12
|
export type ListAddressesRequest = {
|
|
24
13
|
/**
|
|
25
14
|
* page number of pagination list
|
|
@@ -9,17 +9,6 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import * as components from "../components/index.js";
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
|
-
export const ListCategoriesServerList = [
|
|
13
|
-
/**
|
|
14
|
-
* Staging Server
|
|
15
|
-
*/
|
|
16
|
-
"https://staging.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
17
|
-
/**
|
|
18
|
-
* Prod Server
|
|
19
|
-
*/
|
|
20
|
-
"https://prod.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
21
|
-
] as const;
|
|
22
|
-
|
|
23
12
|
export type ListCategoriesRequest = {
|
|
24
13
|
/**
|
|
25
14
|
* To return child categories
|
|
@@ -9,17 +9,6 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import * as components from "../components/index.js";
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
|
-
export const ListCountryPincodesServerList = [
|
|
13
|
-
/**
|
|
14
|
-
* Staging Server
|
|
15
|
-
*/
|
|
16
|
-
"https://staging.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
17
|
-
/**
|
|
18
|
-
* Prod Server
|
|
19
|
-
*/
|
|
20
|
-
"https://prod.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
21
|
-
] as const;
|
|
22
|
-
|
|
23
12
|
export type ListCountryPincodesRequest = {
|
|
24
13
|
/**
|
|
25
14
|
* pincode. atleast 3 initial chars require to use this param
|
|
@@ -9,17 +9,6 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import * as components from "../components/index.js";
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
|
-
export const ListCrosssellProductsServerList = [
|
|
13
|
-
/**
|
|
14
|
-
* Staging Server
|
|
15
|
-
*/
|
|
16
|
-
"https://staging.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
17
|
-
/**
|
|
18
|
-
* Prod Server
|
|
19
|
-
*/
|
|
20
|
-
"https://prod.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
21
|
-
] as const;
|
|
22
|
-
|
|
23
12
|
export type ListCrosssellProductsRequest = {
|
|
24
13
|
/**
|
|
25
14
|
* Product ids of cart items
|
|
@@ -9,17 +9,6 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import * as components from "../components/index.js";
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
|
-
export const ListOrdersServerList = [
|
|
13
|
-
/**
|
|
14
|
-
* Staging Server
|
|
15
|
-
*/
|
|
16
|
-
"https://staging.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
17
|
-
/**
|
|
18
|
-
* Prod Server
|
|
19
|
-
*/
|
|
20
|
-
"https://prod.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
21
|
-
] as const;
|
|
22
|
-
|
|
23
12
|
export type ListOrdersRequest = {
|
|
24
13
|
/**
|
|
25
14
|
* page number of pagination list
|
|
@@ -9,17 +9,6 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import * as components from "../components/index.js";
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
|
-
export const ListOrderShipmentsServerList = [
|
|
13
|
-
/**
|
|
14
|
-
* Staging Server
|
|
15
|
-
*/
|
|
16
|
-
"https://staging.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
17
|
-
/**
|
|
18
|
-
* Prod Server
|
|
19
|
-
*/
|
|
20
|
-
"https://prod.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
21
|
-
] as const;
|
|
22
|
-
|
|
23
12
|
export type ListOrderShipmentsRequest = {
|
|
24
13
|
/**
|
|
25
14
|
* order number
|
|
@@ -9,17 +9,6 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import * as components from "../components/index.js";
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
|
-
export const ListProductReviewsServerList = [
|
|
13
|
-
/**
|
|
14
|
-
* Staging Server
|
|
15
|
-
*/
|
|
16
|
-
"https://staging.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
17
|
-
/**
|
|
18
|
-
* Prod Server
|
|
19
|
-
*/
|
|
20
|
-
"https://prod.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
21
|
-
] as const;
|
|
22
|
-
|
|
23
12
|
export type ListProductReviewsRequest = {
|
|
24
13
|
/**
|
|
25
14
|
* page number of pagination list
|
|
@@ -9,17 +9,6 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import * as components from "../components/index.js";
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
|
-
export const ListProductsServerList = [
|
|
13
|
-
/**
|
|
14
|
-
* Staging Server
|
|
15
|
-
*/
|
|
16
|
-
"https://staging.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
17
|
-
/**
|
|
18
|
-
* Prod Server
|
|
19
|
-
*/
|
|
20
|
-
"https://prod.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
21
|
-
] as const;
|
|
22
|
-
|
|
23
12
|
export type ListProductsRequest = {
|
|
24
13
|
/**
|
|
25
14
|
* page number of pagination list
|
|
@@ -9,17 +9,6 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import * as components from "../components/index.js";
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
|
-
export const ListProductVariantsServerList = [
|
|
13
|
-
/**
|
|
14
|
-
* Staging Server
|
|
15
|
-
*/
|
|
16
|
-
"https://staging.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
17
|
-
/**
|
|
18
|
-
* Prod Server
|
|
19
|
-
*/
|
|
20
|
-
"https://prod.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
21
|
-
] as const;
|
|
22
|
-
|
|
23
12
|
export type ListProductVariantsRequest = {
|
|
24
13
|
/**
|
|
25
14
|
* use this param only if different pricing is configured as per customer group
|
|
@@ -9,17 +9,6 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import * as components from "../components/index.js";
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
|
-
export const ListSimilarProductsServerList = [
|
|
13
|
-
/**
|
|
14
|
-
* Staging Server
|
|
15
|
-
*/
|
|
16
|
-
"https://staging.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
17
|
-
/**
|
|
18
|
-
* Prod Server
|
|
19
|
-
*/
|
|
20
|
-
"https://prod.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
21
|
-
] as const;
|
|
22
|
-
|
|
23
12
|
export type ListSimilarProductsRequest = {
|
|
24
13
|
/**
|
|
25
14
|
* to retrieve similar products of specified products
|
|
@@ -9,17 +9,6 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import * as components from "../components/index.js";
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
|
-
export const ListSkusServerList = [
|
|
13
|
-
/**
|
|
14
|
-
* Staging Server
|
|
15
|
-
*/
|
|
16
|
-
"https://staging.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
17
|
-
/**
|
|
18
|
-
* Prod Server
|
|
19
|
-
*/
|
|
20
|
-
"https://prod.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
21
|
-
] as const;
|
|
22
|
-
|
|
23
12
|
export type ListSkusRequest = {
|
|
24
13
|
/**
|
|
25
14
|
* page number of pagination list
|
|
@@ -9,17 +9,6 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import * as components from "../components/index.js";
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
|
-
export const ListUpsellProductsServerList = [
|
|
13
|
-
/**
|
|
14
|
-
* Staging Server
|
|
15
|
-
*/
|
|
16
|
-
"https://staging.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
17
|
-
/**
|
|
18
|
-
* Prod Server
|
|
19
|
-
*/
|
|
20
|
-
"https://prod.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
21
|
-
] as const;
|
|
22
|
-
|
|
23
12
|
export type ListUpsellProductsRequest = {
|
|
24
13
|
/**
|
|
25
14
|
* Product ids of cart items
|
|
@@ -9,17 +9,6 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import * as components from "../components/index.js";
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
|
-
export const ListUserReviewsServerList = [
|
|
13
|
-
/**
|
|
14
|
-
* Staging Server
|
|
15
|
-
*/
|
|
16
|
-
"https://staging.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
17
|
-
/**
|
|
18
|
-
* Prod Server
|
|
19
|
-
*/
|
|
20
|
-
"https://prod.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
21
|
-
] as const;
|
|
22
|
-
|
|
23
12
|
export type ListUserReviewsRequest = {
|
|
24
13
|
/**
|
|
25
14
|
* user id
|
|
@@ -8,17 +8,6 @@ import { safeParse } from "../../lib/schemas.js";
|
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
|
-
export const LoginWithEmailServerList = [
|
|
12
|
-
/**
|
|
13
|
-
* Staging Server
|
|
14
|
-
*/
|
|
15
|
-
"https://staging.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
16
|
-
/**
|
|
17
|
-
* Prod Server
|
|
18
|
-
*/
|
|
19
|
-
"https://prod.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
20
|
-
] as const;
|
|
21
|
-
|
|
22
11
|
export type LoginWithEmailRequestBody = {
|
|
23
12
|
/**
|
|
24
13
|
* User's email address.
|
|
@@ -8,17 +8,6 @@ import { safeParse } from "../../lib/schemas.js";
|
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
|
-
export const LoginWithPhoneServerList = [
|
|
12
|
-
/**
|
|
13
|
-
* Staging Server
|
|
14
|
-
*/
|
|
15
|
-
"https://staging.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
16
|
-
/**
|
|
17
|
-
* Prod Server
|
|
18
|
-
*/
|
|
19
|
-
"https://prod.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
20
|
-
] as const;
|
|
21
|
-
|
|
22
11
|
export type LoginWithPhoneRequestBody = {
|
|
23
12
|
/**
|
|
24
13
|
* Two-letter code begin with a plus sign prefix that identifies different countries. By default it will be +91 if not provided.
|
|
@@ -8,17 +8,6 @@ import { safeParse } from "../../lib/schemas.js";
|
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
|
-
export const LoginWithWhatsappServerList = [
|
|
12
|
-
/**
|
|
13
|
-
* Staging Server
|
|
14
|
-
*/
|
|
15
|
-
"https://staging.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
16
|
-
/**
|
|
17
|
-
* Prod Server
|
|
18
|
-
*/
|
|
19
|
-
"https://prod.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
20
|
-
] as const;
|
|
21
|
-
|
|
22
11
|
export type LoginWithWhatsappRequestBody = {
|
|
23
12
|
/**
|
|
24
13
|
* Two-letter code begin with a plus sign prefix that identifies different countries. By default it will be +91 if not provided.
|
|
@@ -9,17 +9,6 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import * as components from "../components/index.js";
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
|
-
export const LogoutServerList = [
|
|
13
|
-
/**
|
|
14
|
-
* Staging Server
|
|
15
|
-
*/
|
|
16
|
-
"https://staging.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
17
|
-
/**
|
|
18
|
-
* Prod Server
|
|
19
|
-
*/
|
|
20
|
-
"https://prod.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
21
|
-
] as const;
|
|
22
|
-
|
|
23
12
|
/**
|
|
24
13
|
* An object containing the response content.
|
|
25
14
|
*/
|
|
@@ -8,17 +8,6 @@ import { safeParse } from "../../lib/schemas.js";
|
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
|
-
export const RefreshTokenServerList = [
|
|
12
|
-
/**
|
|
13
|
-
* Staging Server
|
|
14
|
-
*/
|
|
15
|
-
"https://staging.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
16
|
-
/**
|
|
17
|
-
* Prod Server
|
|
18
|
-
*/
|
|
19
|
-
"https://prod.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
20
|
-
] as const;
|
|
21
|
-
|
|
22
11
|
export type RefreshTokenRequestBody = {
|
|
23
12
|
/**
|
|
24
13
|
* A string representing the refresh token.
|
|
@@ -8,17 +8,6 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
8
8
|
import * as components from "../components/index.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
|
-
export const RemoveCouponServerList = [
|
|
12
|
-
/**
|
|
13
|
-
* Staging Server
|
|
14
|
-
*/
|
|
15
|
-
"https://staging.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
16
|
-
/**
|
|
17
|
-
* Prod Server
|
|
18
|
-
*/
|
|
19
|
-
"https://prod.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
20
|
-
] as const;
|
|
21
|
-
|
|
22
11
|
export type RemoveCouponRequest = {
|
|
23
12
|
/**
|
|
24
13
|
* Cart ID
|
|
@@ -9,17 +9,6 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import * as components from "../components/index.js";
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
|
-
export const RetryOrderPaymentServerList = [
|
|
13
|
-
/**
|
|
14
|
-
* Staging Server
|
|
15
|
-
*/
|
|
16
|
-
"https://staging.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
17
|
-
/**
|
|
18
|
-
* Prod Server
|
|
19
|
-
*/
|
|
20
|
-
"https://prod.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
21
|
-
] as const;
|
|
22
|
-
|
|
23
12
|
export type RetryOrderPaymentPaymentGatewayParams =
|
|
24
13
|
| (components.PayuPaymentGatewayParams & { paymentGateway: "PAYU" })
|
|
25
14
|
| (components.JuspayPaymentGatewayParams & { paymentGateway: "JUSPAY" });
|
|
@@ -9,17 +9,6 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import * as components from "../components/index.js";
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
|
-
export const SearchProductsServerList = [
|
|
13
|
-
/**
|
|
14
|
-
* Staging Server
|
|
15
|
-
*/
|
|
16
|
-
"https://staging.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
17
|
-
/**
|
|
18
|
-
* Prod Server
|
|
19
|
-
*/
|
|
20
|
-
"https://prod.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
21
|
-
] as const;
|
|
22
|
-
|
|
23
12
|
export type FacetStats = {
|
|
24
13
|
min: number;
|
|
25
14
|
max: number;
|
|
@@ -7,17 +7,6 @@ import { safeParse } from "../../lib/schemas.js";
|
|
|
7
7
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
8
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
9
|
|
|
10
|
-
export const SubscribeNewsletterServerList = [
|
|
11
|
-
/**
|
|
12
|
-
* Staging Server
|
|
13
|
-
*/
|
|
14
|
-
"https://staging.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
15
|
-
/**
|
|
16
|
-
* Prod Server
|
|
17
|
-
*/
|
|
18
|
-
"https://prod.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
19
|
-
] as const;
|
|
20
|
-
|
|
21
10
|
export type SubscribeNewsletterRequestBody = {
|
|
22
11
|
email: string;
|
|
23
12
|
};
|
|
@@ -9,17 +9,6 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import * as components from "../components/index.js";
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
|
-
export const UpdateAddressDetailServerList = [
|
|
13
|
-
/**
|
|
14
|
-
* Staging Server
|
|
15
|
-
*/
|
|
16
|
-
"https://staging.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
17
|
-
/**
|
|
18
|
-
* Prod Server
|
|
19
|
-
*/
|
|
20
|
-
"https://prod.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
21
|
-
] as const;
|
|
22
|
-
|
|
23
12
|
/**
|
|
24
13
|
* payload for address update
|
|
25
14
|
*/
|
|
@@ -9,17 +9,6 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import * as components from "../components/index.js";
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
|
-
export const UpdateCartServerList = [
|
|
13
|
-
/**
|
|
14
|
-
* Staging Server
|
|
15
|
-
*/
|
|
16
|
-
"https://staging.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
17
|
-
/**
|
|
18
|
-
* Prod Server
|
|
19
|
-
*/
|
|
20
|
-
"https://prod.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
21
|
-
] as const;
|
|
22
|
-
|
|
23
12
|
export type UpdateCartRequest = {
|
|
24
13
|
/**
|
|
25
14
|
* cart id
|
|
@@ -9,17 +9,6 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import * as components from "../components/index.js";
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
|
-
export const UpdateNotificationPreferencesServerList = [
|
|
13
|
-
/**
|
|
14
|
-
* Staging Server
|
|
15
|
-
*/
|
|
16
|
-
"https://staging.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
17
|
-
/**
|
|
18
|
-
* Prod Server
|
|
19
|
-
*/
|
|
20
|
-
"https://prod.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
21
|
-
] as const;
|
|
22
|
-
|
|
23
12
|
export type UpdateNotificationPreferencesRequestBody = {
|
|
24
13
|
/**
|
|
25
14
|
* Set channel preferences for each type of
|
|
@@ -9,17 +9,6 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import * as components from "../components/index.js";
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
|
-
export const UpdateUserServerList = [
|
|
13
|
-
/**
|
|
14
|
-
* Staging Server
|
|
15
|
-
*/
|
|
16
|
-
"https://staging.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
17
|
-
/**
|
|
18
|
-
* Prod Server
|
|
19
|
-
*/
|
|
20
|
-
"https://prod.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
21
|
-
] as const;
|
|
22
|
-
|
|
23
12
|
export type UpdateUserRequest = {
|
|
24
13
|
/**
|
|
25
14
|
* user ID
|
|
@@ -10,17 +10,6 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
10
10
|
import * as components from "../components/index.js";
|
|
11
11
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
12
12
|
|
|
13
|
-
export const VerifyOtpServerList = [
|
|
14
|
-
/**
|
|
15
|
-
* Staging Server
|
|
16
|
-
*/
|
|
17
|
-
"https://staging.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
18
|
-
/**
|
|
19
|
-
* Prod Server
|
|
20
|
-
*/
|
|
21
|
-
"https://prod.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
22
|
-
] as const;
|
|
23
|
-
|
|
24
13
|
/**
|
|
25
14
|
* A string indicating the action to be performed.
|
|
26
15
|
*/
|