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
|
@@ -5,16 +5,6 @@ import * as z from "zod";
|
|
|
5
5
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
7
|
import * as components from "../components/index.js";
|
|
8
|
-
export const VerifyOtpServerList = [
|
|
9
|
-
/**
|
|
10
|
-
* Staging Server
|
|
11
|
-
*/
|
|
12
|
-
"https://staging.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
13
|
-
/**
|
|
14
|
-
* Prod Server
|
|
15
|
-
*/
|
|
16
|
-
"https://prod.api.commercengine.io/api/v1/{store_id}/storefront",
|
|
17
|
-
];
|
|
18
8
|
/**
|
|
19
9
|
* A string indicating the action to be performed.
|
|
20
10
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verifyotp.js","sourceRoot":"","sources":["../../../src/models/operations/verifyotp.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AAGrD
|
|
1
|
+
{"version":3,"file":"verifyotp.js","sourceRoot":"","sources":["../../../src/models/operations/verifyotp.ts"],"names":[],"mappings":"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"}
|
package/jsr.json
CHANGED
package/package.json
CHANGED
|
@@ -19,7 +19,6 @@ import {
|
|
|
19
19
|
UnexpectedClientError,
|
|
20
20
|
} from "../models/errors/httpclienterrors.js";
|
|
21
21
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
22
|
-
import { CheckVerificationStatusServerList } from "../models/operations/checkverificationstatus.js";
|
|
23
22
|
import * as operations from "../models/operations/index.js";
|
|
24
23
|
import { Result } from "../types/fp.js";
|
|
25
24
|
|
|
@@ -57,13 +56,6 @@ export async function authCheckVerificationStatus(
|
|
|
57
56
|
const payload = parsed.value;
|
|
58
57
|
const body = encodeJSON("body", payload, { explode: true });
|
|
59
58
|
|
|
60
|
-
const baseURL = options?.serverURL
|
|
61
|
-
|| pathToFunc(CheckVerificationStatusServerList[0], {
|
|
62
|
-
charEncoding: "percent",
|
|
63
|
-
})({
|
|
64
|
-
store_id: "x2yh61zw4k",
|
|
65
|
-
});
|
|
66
|
-
|
|
67
59
|
const path = pathToFunc("/auth/verified-email-phone")();
|
|
68
60
|
|
|
69
61
|
const headers = new Headers(compactMap({
|
|
@@ -91,7 +83,7 @@ export async function authCheckVerificationStatus(
|
|
|
91
83
|
const requestRes = client._createRequest(context, {
|
|
92
84
|
security: requestSecurity,
|
|
93
85
|
method: "POST",
|
|
94
|
-
baseURL:
|
|
86
|
+
baseURL: options?.serverURL,
|
|
95
87
|
path: path,
|
|
96
88
|
headers: headers,
|
|
97
89
|
body: body,
|
|
@@ -19,7 +19,6 @@ import {
|
|
|
19
19
|
UnexpectedClientError,
|
|
20
20
|
} from "../models/errors/httpclienterrors.js";
|
|
21
21
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
22
|
-
import { CreateNotificationPreferencesServerList } from "../models/operations/createnotificationpreferences.js";
|
|
23
22
|
import * as operations from "../models/operations/index.js";
|
|
24
23
|
import { Result } from "../types/fp.js";
|
|
25
24
|
|
|
@@ -59,13 +58,6 @@ export async function authCreateNotificationPreferences(
|
|
|
59
58
|
const payload = parsed.value;
|
|
60
59
|
const body = encodeJSON("body", payload.RequestBody, { explode: true });
|
|
61
60
|
|
|
62
|
-
const baseURL = options?.serverURL
|
|
63
|
-
|| pathToFunc(CreateNotificationPreferencesServerList[0], {
|
|
64
|
-
charEncoding: "percent",
|
|
65
|
-
})({
|
|
66
|
-
store_id: "x2yh61zw4k",
|
|
67
|
-
});
|
|
68
|
-
|
|
69
61
|
const pathParams = {
|
|
70
62
|
id: encodeSimple("id", payload.id, {
|
|
71
63
|
explode: false,
|
|
@@ -102,7 +94,7 @@ export async function authCreateNotificationPreferences(
|
|
|
102
94
|
const requestRes = client._createRequest(context, {
|
|
103
95
|
security: requestSecurity,
|
|
104
96
|
method: "POST",
|
|
105
|
-
baseURL:
|
|
97
|
+
baseURL: options?.serverURL,
|
|
106
98
|
path: path,
|
|
107
99
|
headers: headers,
|
|
108
100
|
body: body,
|
|
@@ -19,7 +19,6 @@ import {
|
|
|
19
19
|
UnexpectedClientError,
|
|
20
20
|
} from "../models/errors/httpclienterrors.js";
|
|
21
21
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
22
|
-
import { GenerateOtpServerList } from "../models/operations/generateotp.js";
|
|
23
22
|
import * as operations from "../models/operations/index.js";
|
|
24
23
|
import { Result } from "../types/fp.js";
|
|
25
24
|
|
|
@@ -56,11 +55,6 @@ export async function authGenerateOtp(
|
|
|
56
55
|
const payload = parsed.value;
|
|
57
56
|
const body = encodeJSON("body", payload, { explode: true });
|
|
58
57
|
|
|
59
|
-
const baseURL = options?.serverURL
|
|
60
|
-
|| pathToFunc(GenerateOtpServerList[0], { charEncoding: "percent" })({
|
|
61
|
-
store_id: "x2yh61zw4k",
|
|
62
|
-
});
|
|
63
|
-
|
|
64
58
|
const path = pathToFunc("/auth/generate-otp")();
|
|
65
59
|
|
|
66
60
|
const headers = new Headers(compactMap({
|
|
@@ -88,7 +82,7 @@ export async function authGenerateOtp(
|
|
|
88
82
|
const requestRes = client._createRequest(context, {
|
|
89
83
|
security: requestSecurity,
|
|
90
84
|
method: "POST",
|
|
91
|
-
baseURL:
|
|
85
|
+
baseURL: options?.serverURL,
|
|
92
86
|
path: path,
|
|
93
87
|
headers: headers,
|
|
94
88
|
body: body,
|
|
@@ -17,7 +17,6 @@ import {
|
|
|
17
17
|
UnexpectedClientError,
|
|
18
18
|
} from "../models/errors/httpclienterrors.js";
|
|
19
19
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
20
|
-
import { GetAnonymousTokenServerList } from "../models/operations/getanonymoustoken.js";
|
|
21
20
|
import * as operations from "../models/operations/index.js";
|
|
22
21
|
import { Result } from "../types/fp.js";
|
|
23
22
|
|
|
@@ -44,11 +43,6 @@ export async function authGetAnonymousToken(
|
|
|
44
43
|
| ConnectionError
|
|
45
44
|
>
|
|
46
45
|
> {
|
|
47
|
-
const baseURL = options?.serverURL
|
|
48
|
-
|| pathToFunc(GetAnonymousTokenServerList[0], { charEncoding: "percent" })({
|
|
49
|
-
store_id: "x2yh61zw4k",
|
|
50
|
-
});
|
|
51
|
-
|
|
52
46
|
const path = pathToFunc("/auth/anonymous")();
|
|
53
47
|
|
|
54
48
|
const headers = new Headers(compactMap({
|
|
@@ -81,7 +75,7 @@ export async function authGetAnonymousToken(
|
|
|
81
75
|
const requestRes = client._createRequest(context, {
|
|
82
76
|
security: requestSecurity,
|
|
83
77
|
method: "POST",
|
|
84
|
-
baseURL:
|
|
78
|
+
baseURL: options?.serverURL,
|
|
85
79
|
path: path,
|
|
86
80
|
headers: headers,
|
|
87
81
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
@@ -19,7 +19,6 @@ import {
|
|
|
19
19
|
UnexpectedClientError,
|
|
20
20
|
} from "../models/errors/httpclienterrors.js";
|
|
21
21
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
22
|
-
import { GetNotificationPreferencesServerList } from "../models/operations/getnotificationpreferences.js";
|
|
23
22
|
import * as operations from "../models/operations/index.js";
|
|
24
23
|
import { Result } from "../types/fp.js";
|
|
25
24
|
|
|
@@ -57,13 +56,6 @@ export async function authGetNotificationPreferences(
|
|
|
57
56
|
const payload = parsed.value;
|
|
58
57
|
const body = null;
|
|
59
58
|
|
|
60
|
-
const baseURL = options?.serverURL
|
|
61
|
-
|| pathToFunc(GetNotificationPreferencesServerList[0], {
|
|
62
|
-
charEncoding: "percent",
|
|
63
|
-
})({
|
|
64
|
-
store_id: "x2yh61zw4k",
|
|
65
|
-
});
|
|
66
|
-
|
|
67
59
|
const pathParams = {
|
|
68
60
|
id: encodeSimple("id", payload.id, {
|
|
69
61
|
explode: false,
|
|
@@ -99,7 +91,7 @@ export async function authGetNotificationPreferences(
|
|
|
99
91
|
const requestRes = client._createRequest(context, {
|
|
100
92
|
security: requestSecurity,
|
|
101
93
|
method: "GET",
|
|
102
|
-
baseURL:
|
|
94
|
+
baseURL: options?.serverURL,
|
|
103
95
|
path: path,
|
|
104
96
|
headers: headers,
|
|
105
97
|
body: body,
|
|
@@ -19,7 +19,6 @@ import {
|
|
|
19
19
|
UnexpectedClientError,
|
|
20
20
|
} from "../models/errors/httpclienterrors.js";
|
|
21
21
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
22
|
-
import { GetUserDetailServerList } from "../models/operations/getuserdetail.js";
|
|
23
22
|
import * as operations from "../models/operations/index.js";
|
|
24
23
|
import { Result } from "../types/fp.js";
|
|
25
24
|
|
|
@@ -56,11 +55,6 @@ export async function authGetUserDetail(
|
|
|
56
55
|
const payload = parsed.value;
|
|
57
56
|
const body = null;
|
|
58
57
|
|
|
59
|
-
const baseURL = options?.serverURL
|
|
60
|
-
|| pathToFunc(GetUserDetailServerList[0], { charEncoding: "percent" })({
|
|
61
|
-
store_id: "x2yh61zw4k",
|
|
62
|
-
});
|
|
63
|
-
|
|
64
58
|
const pathParams = {
|
|
65
59
|
id: encodeSimple("id", payload.id, {
|
|
66
60
|
explode: false,
|
|
@@ -94,7 +88,7 @@ export async function authGetUserDetail(
|
|
|
94
88
|
const requestRes = client._createRequest(context, {
|
|
95
89
|
security: requestSecurity,
|
|
96
90
|
method: "GET",
|
|
97
|
-
baseURL:
|
|
91
|
+
baseURL: options?.serverURL,
|
|
98
92
|
path: path,
|
|
99
93
|
headers: headers,
|
|
100
94
|
body: body,
|
|
@@ -20,7 +20,6 @@ import {
|
|
|
20
20
|
} from "../models/errors/httpclienterrors.js";
|
|
21
21
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
22
22
|
import * as operations from "../models/operations/index.js";
|
|
23
|
-
import { LoginWithEmailServerList } from "../models/operations/loginwithemail.js";
|
|
24
23
|
import { Result } from "../types/fp.js";
|
|
25
24
|
|
|
26
25
|
/**
|
|
@@ -56,11 +55,6 @@ export async function authLoginWithEmail(
|
|
|
56
55
|
const payload = parsed.value;
|
|
57
56
|
const body = encodeJSON("body", payload, { explode: true });
|
|
58
57
|
|
|
59
|
-
const baseURL = options?.serverURL
|
|
60
|
-
|| pathToFunc(LoginWithEmailServerList[0], { charEncoding: "percent" })({
|
|
61
|
-
store_id: "x2yh61zw4k",
|
|
62
|
-
});
|
|
63
|
-
|
|
64
58
|
const path = pathToFunc("/auth/login/email")();
|
|
65
59
|
|
|
66
60
|
const headers = new Headers(compactMap({
|
|
@@ -88,7 +82,7 @@ export async function authLoginWithEmail(
|
|
|
88
82
|
const requestRes = client._createRequest(context, {
|
|
89
83
|
security: requestSecurity,
|
|
90
84
|
method: "POST",
|
|
91
|
-
baseURL:
|
|
85
|
+
baseURL: options?.serverURL,
|
|
92
86
|
path: path,
|
|
93
87
|
headers: headers,
|
|
94
88
|
body: body,
|
|
@@ -20,7 +20,6 @@ import {
|
|
|
20
20
|
} from "../models/errors/httpclienterrors.js";
|
|
21
21
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
22
22
|
import * as operations from "../models/operations/index.js";
|
|
23
|
-
import { LoginWithPhoneServerList } from "../models/operations/loginwithphone.js";
|
|
24
23
|
import { Result } from "../types/fp.js";
|
|
25
24
|
|
|
26
25
|
/**
|
|
@@ -56,11 +55,6 @@ export async function authLoginWithPhone(
|
|
|
56
55
|
const payload = parsed.value;
|
|
57
56
|
const body = encodeJSON("body", payload, { explode: true });
|
|
58
57
|
|
|
59
|
-
const baseURL = options?.serverURL
|
|
60
|
-
|| pathToFunc(LoginWithPhoneServerList[0], { charEncoding: "percent" })({
|
|
61
|
-
store_id: "x2yh61zw4k",
|
|
62
|
-
});
|
|
63
|
-
|
|
64
58
|
const path = pathToFunc("/auth/login/phone")();
|
|
65
59
|
|
|
66
60
|
const headers = new Headers(compactMap({
|
|
@@ -88,7 +82,7 @@ export async function authLoginWithPhone(
|
|
|
88
82
|
const requestRes = client._createRequest(context, {
|
|
89
83
|
security: requestSecurity,
|
|
90
84
|
method: "POST",
|
|
91
|
-
baseURL:
|
|
85
|
+
baseURL: options?.serverURL,
|
|
92
86
|
path: path,
|
|
93
87
|
headers: headers,
|
|
94
88
|
body: body,
|
|
@@ -20,7 +20,6 @@ import {
|
|
|
20
20
|
} from "../models/errors/httpclienterrors.js";
|
|
21
21
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
22
22
|
import * as operations from "../models/operations/index.js";
|
|
23
|
-
import { LoginWithWhatsappServerList } from "../models/operations/loginwithwhatsapp.js";
|
|
24
23
|
import { Result } from "../types/fp.js";
|
|
25
24
|
|
|
26
25
|
/**
|
|
@@ -57,11 +56,6 @@ export async function authLoginWithWhatsapp(
|
|
|
57
56
|
const payload = parsed.value;
|
|
58
57
|
const body = encodeJSON("body", payload, { explode: true });
|
|
59
58
|
|
|
60
|
-
const baseURL = options?.serverURL
|
|
61
|
-
|| pathToFunc(LoginWithWhatsappServerList[0], { charEncoding: "percent" })({
|
|
62
|
-
store_id: "x2yh61zw4k",
|
|
63
|
-
});
|
|
64
|
-
|
|
65
59
|
const path = pathToFunc("/auth/login/whatsapp")();
|
|
66
60
|
|
|
67
61
|
const headers = new Headers(compactMap({
|
|
@@ -89,7 +83,7 @@ export async function authLoginWithWhatsapp(
|
|
|
89
83
|
const requestRes = client._createRequest(context, {
|
|
90
84
|
security: requestSecurity,
|
|
91
85
|
method: "POST",
|
|
92
|
-
baseURL:
|
|
86
|
+
baseURL: options?.serverURL,
|
|
93
87
|
path: path,
|
|
94
88
|
headers: headers,
|
|
95
89
|
body: body,
|
package/src/funcs/authLogout.ts
CHANGED
|
@@ -18,7 +18,6 @@ import {
|
|
|
18
18
|
} from "../models/errors/httpclienterrors.js";
|
|
19
19
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
20
20
|
import * as operations from "../models/operations/index.js";
|
|
21
|
-
import { LogoutServerList } from "../models/operations/logout.js";
|
|
22
21
|
import { Result } from "../types/fp.js";
|
|
23
22
|
|
|
24
23
|
/**
|
|
@@ -42,11 +41,6 @@ export async function authLogout(
|
|
|
42
41
|
| ConnectionError
|
|
43
42
|
>
|
|
44
43
|
> {
|
|
45
|
-
const baseURL = options?.serverURL
|
|
46
|
-
|| pathToFunc(LogoutServerList[0], { charEncoding: "percent" })({
|
|
47
|
-
store_id: "x2yh61zw4k",
|
|
48
|
-
});
|
|
49
|
-
|
|
50
44
|
const path = pathToFunc("/auth/logout")();
|
|
51
45
|
|
|
52
46
|
const headers = new Headers(compactMap({
|
|
@@ -73,7 +67,7 @@ export async function authLogout(
|
|
|
73
67
|
const requestRes = client._createRequest(context, {
|
|
74
68
|
security: requestSecurity,
|
|
75
69
|
method: "POST",
|
|
76
|
-
baseURL:
|
|
70
|
+
baseURL: options?.serverURL,
|
|
77
71
|
path: path,
|
|
78
72
|
headers: headers,
|
|
79
73
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
@@ -20,7 +20,6 @@ import {
|
|
|
20
20
|
} from "../models/errors/httpclienterrors.js";
|
|
21
21
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
22
22
|
import * as operations from "../models/operations/index.js";
|
|
23
|
-
import { RefreshTokenServerList } from "../models/operations/refreshtoken.js";
|
|
24
23
|
import { Result } from "../types/fp.js";
|
|
25
24
|
|
|
26
25
|
/**
|
|
@@ -56,11 +55,6 @@ export async function authRefreshToken(
|
|
|
56
55
|
const payload = parsed.value;
|
|
57
56
|
const body = encodeJSON("body", payload, { explode: true });
|
|
58
57
|
|
|
59
|
-
const baseURL = options?.serverURL
|
|
60
|
-
|| pathToFunc(RefreshTokenServerList[0], { charEncoding: "percent" })({
|
|
61
|
-
store_id: "x2yh61zw4k",
|
|
62
|
-
});
|
|
63
|
-
|
|
64
58
|
const path = pathToFunc("/auth/refresh-token")();
|
|
65
59
|
|
|
66
60
|
const headers = new Headers(compactMap({
|
|
@@ -88,7 +82,7 @@ export async function authRefreshToken(
|
|
|
88
82
|
const requestRes = client._createRequest(context, {
|
|
89
83
|
security: requestSecurity,
|
|
90
84
|
method: "POST",
|
|
91
|
-
baseURL:
|
|
85
|
+
baseURL: options?.serverURL,
|
|
92
86
|
path: path,
|
|
93
87
|
headers: headers,
|
|
94
88
|
body: body,
|
|
@@ -20,7 +20,6 @@ import {
|
|
|
20
20
|
} from "../models/errors/httpclienterrors.js";
|
|
21
21
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
22
22
|
import * as operations from "../models/operations/index.js";
|
|
23
|
-
import { UpdateNotificationPreferencesServerList } from "../models/operations/updatenotificationpreferences.js";
|
|
24
23
|
import { Result } from "../types/fp.js";
|
|
25
24
|
|
|
26
25
|
/**
|
|
@@ -59,13 +58,6 @@ export async function authUpdateNotificationPreferences(
|
|
|
59
58
|
const payload = parsed.value;
|
|
60
59
|
const body = encodeJSON("body", payload.RequestBody, { explode: true });
|
|
61
60
|
|
|
62
|
-
const baseURL = options?.serverURL
|
|
63
|
-
|| pathToFunc(UpdateNotificationPreferencesServerList[0], {
|
|
64
|
-
charEncoding: "percent",
|
|
65
|
-
})({
|
|
66
|
-
store_id: "x2yh61zw4k",
|
|
67
|
-
});
|
|
68
|
-
|
|
69
61
|
const pathParams = {
|
|
70
62
|
id: encodeSimple("id", payload.id, {
|
|
71
63
|
explode: false,
|
|
@@ -102,7 +94,7 @@ export async function authUpdateNotificationPreferences(
|
|
|
102
94
|
const requestRes = client._createRequest(context, {
|
|
103
95
|
security: requestSecurity,
|
|
104
96
|
method: "PUT",
|
|
105
|
-
baseURL:
|
|
97
|
+
baseURL: options?.serverURL,
|
|
106
98
|
path: path,
|
|
107
99
|
headers: headers,
|
|
108
100
|
body: body,
|
|
@@ -20,7 +20,6 @@ import {
|
|
|
20
20
|
} from "../models/errors/httpclienterrors.js";
|
|
21
21
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
22
22
|
import * as operations from "../models/operations/index.js";
|
|
23
|
-
import { UpdateUserServerList } from "../models/operations/updateuser.js";
|
|
24
23
|
import { Result } from "../types/fp.js";
|
|
25
24
|
|
|
26
25
|
/**
|
|
@@ -56,11 +55,6 @@ export async function authUpdateUser(
|
|
|
56
55
|
const payload = parsed.value;
|
|
57
56
|
const body = encodeJSON("body", payload.User, { explode: true });
|
|
58
57
|
|
|
59
|
-
const baseURL = options?.serverURL
|
|
60
|
-
|| pathToFunc(UpdateUserServerList[0], { charEncoding: "percent" })({
|
|
61
|
-
store_id: "x2yh61zw4k",
|
|
62
|
-
});
|
|
63
|
-
|
|
64
58
|
const pathParams = {
|
|
65
59
|
id: encodeSimple("id", payload.id, {
|
|
66
60
|
explode: false,
|
|
@@ -95,7 +89,7 @@ export async function authUpdateUser(
|
|
|
95
89
|
const requestRes = client._createRequest(context, {
|
|
96
90
|
security: requestSecurity,
|
|
97
91
|
method: "PUT",
|
|
98
|
-
baseURL:
|
|
92
|
+
baseURL: options?.serverURL,
|
|
99
93
|
path: path,
|
|
100
94
|
headers: headers,
|
|
101
95
|
body: body,
|
|
@@ -20,7 +20,6 @@ import {
|
|
|
20
20
|
} from "../models/errors/httpclienterrors.js";
|
|
21
21
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
22
22
|
import * as operations from "../models/operations/index.js";
|
|
23
|
-
import { VerifyOtpServerList } from "../models/operations/verifyotp.js";
|
|
24
23
|
import { Result } from "../types/fp.js";
|
|
25
24
|
|
|
26
25
|
/**
|
|
@@ -56,11 +55,6 @@ export async function authVerifyOtp(
|
|
|
56
55
|
const payload = parsed.value;
|
|
57
56
|
const body = encodeJSON("body", payload, { explode: true });
|
|
58
57
|
|
|
59
|
-
const baseURL = options?.serverURL
|
|
60
|
-
|| pathToFunc(VerifyOtpServerList[0], { charEncoding: "percent" })({
|
|
61
|
-
store_id: "x2yh61zw4k",
|
|
62
|
-
});
|
|
63
|
-
|
|
64
58
|
const path = pathToFunc("/auth/verify-otp")();
|
|
65
59
|
|
|
66
60
|
const headers = new Headers(compactMap({
|
|
@@ -88,7 +82,7 @@ export async function authVerifyOtp(
|
|
|
88
82
|
const requestRes = client._createRequest(context, {
|
|
89
83
|
security: requestSecurity,
|
|
90
84
|
method: "POST",
|
|
91
|
-
baseURL:
|
|
85
|
+
baseURL: options?.serverURL,
|
|
92
86
|
path: path,
|
|
93
87
|
headers: headers,
|
|
94
88
|
body: body,
|
|
@@ -20,7 +20,6 @@ import {
|
|
|
20
20
|
} from "../models/errors/httpclienterrors.js";
|
|
21
21
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
22
22
|
import * as operations from "../models/operations/index.js";
|
|
23
|
-
import { SubscribeNewsletterServerList } from "../models/operations/subscribenewsletter.js";
|
|
24
23
|
import { Result } from "../types/fp.js";
|
|
25
24
|
|
|
26
25
|
/**
|
|
@@ -57,13 +56,6 @@ export async function campaignsSubscribeNewsletter(
|
|
|
57
56
|
const payload = parsed.value;
|
|
58
57
|
const body = encodeJSON("body", payload, { explode: true });
|
|
59
58
|
|
|
60
|
-
const baseURL = options?.serverURL
|
|
61
|
-
|| pathToFunc(SubscribeNewsletterServerList[0], {
|
|
62
|
-
charEncoding: "percent",
|
|
63
|
-
})({
|
|
64
|
-
store_id: "x2yh61zw4k",
|
|
65
|
-
});
|
|
66
|
-
|
|
67
59
|
const path = pathToFunc("/campaigns/newsletter-subscribe")();
|
|
68
60
|
|
|
69
61
|
const headers = new Headers(compactMap({
|
|
@@ -91,7 +83,7 @@ export async function campaignsSubscribeNewsletter(
|
|
|
91
83
|
const requestRes = client._createRequest(context, {
|
|
92
84
|
security: requestSecurity,
|
|
93
85
|
method: "POST",
|
|
94
|
-
baseURL:
|
|
86
|
+
baseURL: options?.serverURL,
|
|
95
87
|
path: path,
|
|
96
88
|
headers: headers,
|
|
97
89
|
body: body,
|
|
@@ -20,7 +20,6 @@ import {
|
|
|
20
20
|
} from "../models/errors/httpclienterrors.js";
|
|
21
21
|
import * as errors from "../models/errors/index.js";
|
|
22
22
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
23
|
-
import { ApplyCouponServerList } from "../models/operations/applycoupon.js";
|
|
24
23
|
import * as operations from "../models/operations/index.js";
|
|
25
24
|
import { Result } from "../types/fp.js";
|
|
26
25
|
|
|
@@ -59,11 +58,6 @@ export async function cartsApplyCoupon(
|
|
|
59
58
|
const payload = parsed.value;
|
|
60
59
|
const body = encodeJSON("body", payload.RequestBody, { explode: true });
|
|
61
60
|
|
|
62
|
-
const baseURL = options?.serverURL
|
|
63
|
-
|| pathToFunc(ApplyCouponServerList[0], { charEncoding: "percent" })({
|
|
64
|
-
store_id: "x2yh61zw4k",
|
|
65
|
-
});
|
|
66
|
-
|
|
67
61
|
const pathParams = {
|
|
68
62
|
id: encodeSimple("id", payload.id, {
|
|
69
63
|
explode: false,
|
|
@@ -98,7 +92,7 @@ export async function cartsApplyCoupon(
|
|
|
98
92
|
const requestRes = client._createRequest(context, {
|
|
99
93
|
security: requestSecurity,
|
|
100
94
|
method: "POST",
|
|
101
|
-
baseURL:
|
|
95
|
+
baseURL: options?.serverURL,
|
|
102
96
|
path: path,
|
|
103
97
|
headers: headers,
|
|
104
98
|
body: body,
|
|
@@ -19,7 +19,6 @@ import {
|
|
|
19
19
|
UnexpectedClientError,
|
|
20
20
|
} from "../models/errors/httpclienterrors.js";
|
|
21
21
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
22
|
-
import { CreateCartServerList } from "../models/operations/createcart.js";
|
|
23
22
|
import * as operations from "../models/operations/index.js";
|
|
24
23
|
import { Result } from "../types/fp.js";
|
|
25
24
|
|
|
@@ -56,11 +55,6 @@ export async function cartsCreateCart(
|
|
|
56
55
|
const payload = parsed.value;
|
|
57
56
|
const body = encodeJSON("body", payload, { explode: true });
|
|
58
57
|
|
|
59
|
-
const baseURL = options?.serverURL
|
|
60
|
-
|| pathToFunc(CreateCartServerList[0], { charEncoding: "percent" })({
|
|
61
|
-
store_id: "x2yh61zw4k",
|
|
62
|
-
});
|
|
63
|
-
|
|
64
58
|
const path = pathToFunc("/carts")();
|
|
65
59
|
|
|
66
60
|
const headers = new Headers(compactMap({
|
|
@@ -88,7 +82,7 @@ export async function cartsCreateCart(
|
|
|
88
82
|
const requestRes = client._createRequest(context, {
|
|
89
83
|
security: requestSecurity,
|
|
90
84
|
method: "POST",
|
|
91
|
-
baseURL:
|
|
85
|
+
baseURL: options?.serverURL,
|
|
92
86
|
path: path,
|
|
93
87
|
headers: headers,
|
|
94
88
|
body: body,
|
|
@@ -20,7 +20,6 @@ import {
|
|
|
20
20
|
} from "../models/errors/httpclienterrors.js";
|
|
21
21
|
import * as errors from "../models/errors/index.js";
|
|
22
22
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
23
|
-
import { CreateCartAddressServerList } from "../models/operations/createcartaddress.js";
|
|
24
23
|
import * as operations from "../models/operations/index.js";
|
|
25
24
|
import { Result } from "../types/fp.js";
|
|
26
25
|
|
|
@@ -60,11 +59,6 @@ export async function cartsCreateCartAddress(
|
|
|
60
59
|
const payload = parsed.value;
|
|
61
60
|
const body = encodeJSON("body", payload.RequestBody, { explode: true });
|
|
62
61
|
|
|
63
|
-
const baseURL = options?.serverURL
|
|
64
|
-
|| pathToFunc(CreateCartAddressServerList[0], { charEncoding: "percent" })({
|
|
65
|
-
store_id: "x2yh61zw4k",
|
|
66
|
-
});
|
|
67
|
-
|
|
68
62
|
const pathParams = {
|
|
69
63
|
id: encodeSimple("id", payload.id, {
|
|
70
64
|
explode: false,
|
|
@@ -99,7 +93,7 @@ export async function cartsCreateCartAddress(
|
|
|
99
93
|
const requestRes = client._createRequest(context, {
|
|
100
94
|
security: requestSecurity,
|
|
101
95
|
method: "POST",
|
|
102
|
-
baseURL:
|
|
96
|
+
baseURL: options?.serverURL,
|
|
103
97
|
path: path,
|
|
104
98
|
headers: headers,
|
|
105
99
|
body: body,
|
|
@@ -20,7 +20,6 @@ import {
|
|
|
20
20
|
} from "../models/errors/httpclienterrors.js";
|
|
21
21
|
import * as errors from "../models/errors/index.js";
|
|
22
22
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
23
|
-
import { DeleteCartServerList } from "../models/operations/deletecart.js";
|
|
24
23
|
import * as operations from "../models/operations/index.js";
|
|
25
24
|
import { Result } from "../types/fp.js";
|
|
26
25
|
|
|
@@ -59,11 +58,6 @@ export async function cartsDeleteCart(
|
|
|
59
58
|
const payload = parsed.value;
|
|
60
59
|
const body = null;
|
|
61
60
|
|
|
62
|
-
const baseURL = options?.serverURL
|
|
63
|
-
|| pathToFunc(DeleteCartServerList[0], { charEncoding: "percent" })({
|
|
64
|
-
store_id: "x2yh61zw4k",
|
|
65
|
-
});
|
|
66
|
-
|
|
67
61
|
const pathParams = {
|
|
68
62
|
id: encodeSimple("id", payload.id, {
|
|
69
63
|
explode: false,
|
|
@@ -97,7 +91,7 @@ export async function cartsDeleteCart(
|
|
|
97
91
|
const requestRes = client._createRequest(context, {
|
|
98
92
|
security: requestSecurity,
|
|
99
93
|
method: "DELETE",
|
|
100
|
-
baseURL:
|
|
94
|
+
baseURL: options?.serverURL,
|
|
101
95
|
path: path,
|
|
102
96
|
headers: headers,
|
|
103
97
|
body: body,
|
|
@@ -20,7 +20,6 @@ import {
|
|
|
20
20
|
} from "../models/errors/httpclienterrors.js";
|
|
21
21
|
import * as errors from "../models/errors/index.js";
|
|
22
22
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
23
|
-
import { GetCartServerList } from "../models/operations/getcart.js";
|
|
24
23
|
import * as operations from "../models/operations/index.js";
|
|
25
24
|
import { Result } from "../types/fp.js";
|
|
26
25
|
|
|
@@ -59,11 +58,6 @@ export async function cartsGetCart(
|
|
|
59
58
|
const payload = parsed.value;
|
|
60
59
|
const body = null;
|
|
61
60
|
|
|
62
|
-
const baseURL = options?.serverURL
|
|
63
|
-
|| pathToFunc(GetCartServerList[0], { charEncoding: "percent" })({
|
|
64
|
-
store_id: "x2yh61zw4k",
|
|
65
|
-
});
|
|
66
|
-
|
|
67
61
|
const pathParams = {
|
|
68
62
|
id: encodeSimple("id", payload.id, {
|
|
69
63
|
explode: false,
|
|
@@ -97,7 +91,7 @@ export async function cartsGetCart(
|
|
|
97
91
|
const requestRes = client._createRequest(context, {
|
|
98
92
|
security: requestSecurity,
|
|
99
93
|
method: "GET",
|
|
100
|
-
baseURL:
|
|
94
|
+
baseURL: options?.serverURL,
|
|
101
95
|
path: path,
|
|
102
96
|
headers: headers,
|
|
103
97
|
body: body,
|