@shopware-pwa/api-client
Advanced tools
Comparing version 0.1.20 to 0.2.0
@@ -7,3 +7,3 @@ import { AxiosInstance, AxiosResponse } from 'axios'; | ||
*/ | ||
declare type ClientSettings = { | ||
type ClientSettings = { | ||
/** | ||
@@ -301,2 +301,12 @@ * shopware URL | ||
}>; | ||
/** | ||
* Checking if user is newsletter subscriber | ||
* | ||
* @throws ClientApiError | ||
* @public | ||
*/ | ||
declare function isNewsletterSubscriber(contextInstance?: ShopwareApiInstance): Promise<{ | ||
status: string; | ||
apiAlias: string; | ||
}>; | ||
@@ -834,2 +844,6 @@ /** | ||
*/ | ||
declare const getNewsletterRecipientEndpoint: () => string; | ||
/** | ||
* @public | ||
*/ | ||
declare const getPageResolverEndpoint: () => string; | ||
@@ -901,2 +915,2 @@ /** | ||
export { ClientSettings, ConfigChangedArgs, ContactFormData, CustomerRegisterResponse, CustomerResetPasswordParam, CustomerUpdateEmailParam, CustomerUpdatePasswordParam, CustomerUpdateProfileParam, GetStoreNavigationParams, NewsletterSubscribeData, ShopwareApiInstance, addCartItems, addProductReview, addProductToCart, addPromotionCode, addWishlistProduct, cancelOrder, changeCartItemQuantity, changeOrderPaymentMethod, clearCart, config, confirmAccountRegistration, confirmPasswordReset, createCustomerAddress, createInstance, createOrder, deleteCustomerAddress, getAddWishlistProductEndpoint, getAvailableCountries, getAvailableCurrencies, getAvailableLanguages, getAvailablePaymentMethods, getAvailableSalutations, getAvailableShippingMethods, getCancelOrderEndpoint, getCart, getCategories, getCategory, getCategoryDetailsEndpoint, getCategoryEndpoint, getCategoryProducts, getChangeOrderPaymentMethodEndpoint, getCheckoutCartEndpoint, getCheckoutCartLineItemEndpoint, getCheckoutOrderEndpoint, getCmsPage, getConfirmPasswordResetEndpoint, getContactFormEndpoint, getContextCountryEndpoint, getContextCurrencyEndpoint, getContextEndpoint, getContextLanguageEndpoint, getContextPaymentMethodEndpoint, getContextSalutationEndpoint, getContextShippingMethodEndpoint, getCustomer, getCustomerAccountConfirmEndpoint, getCustomerAddAddressEndpoint, getCustomerAddress, getCustomerAddressEndpoint, getCustomerAddresses, getCustomerDefaultBillingAddressEndpoint, getCustomerDefaultShippingAddressEndpoint, getCustomerDetailsUpdateEndpoint, getCustomerEndpoint, getCustomerLoginEndpoint, getCustomerLogoutEndpoint, getCustomerOrderEndpoint, getCustomerOrders, getCustomerRegisterEndpoint, getCustomerResetPasswordEndpoint, getCustomerUpdateEmailEndpoint, getCustomerUpdatePasswordEndpoint, getCustomerUpdatePaymentMethodEndpoint, getGetWishlistProductsEndpoint, getLandingPage, getLandingPageDetailsEndpoint, getMergeWishlistProductsEndpoint, getNewsletterSubscribeEndpoint, getNewsletterUnsubscribeEndpoint, getOrderDetails, getPageResolverEndpoint, getPaymentMethodDetails, getProduct, getProductDetailsEndpoint, getProductEndpoint, getProductListingEndpoint, getProductReviews, getProductReviewsEndpoint, getProducts, getRemoveWishlistProductEndpoint, getSearchEndpoint, getSeoUrl, getSeoUrlEndpoint, getSeoUrls, getSessionContext, getShippingMethodDetails, getStoreNavigation, getStoreNavigationEndpoint, getStoreNewsletterConfirmEndpoint, getStoreNewsletterSubscribeEndpoint, getStoreNewsletterUnsubscribeEndpoint, getSuggestSearchEndpoint, getUserCountry, getUserSalutation, getWishlistProducts, handlePayment, handlePaymentEndpoint, invokeGet, invokePost, login, logout, mergeWishlistProducts, newsletterSubscribe, newsletterUnsubscribe, onConfigChange, register, removeCartItem, removeWishlistProduct, resetPassword, searchProducts, searchSuggestedProducts, sendContactForm, setCurrentBillingAddress, setCurrentCurrency, setCurrentLanguage, setCurrentPaymentMethod, setCurrentShippingAddress, setCurrentShippingMethod, setDefaultCustomerBillingAddress, setDefaultCustomerPaymentMethod, setDefaultCustomerShippingAddress, setup, update, updateCustomerAddress, updateEmail, updatePassword, updateProfile }; | ||
export { ClientSettings, ConfigChangedArgs, ContactFormData, CustomerRegisterResponse, CustomerResetPasswordParam, CustomerUpdateEmailParam, CustomerUpdatePasswordParam, CustomerUpdateProfileParam, GetStoreNavigationParams, NewsletterSubscribeData, ShopwareApiInstance, addCartItems, addProductReview, addProductToCart, addPromotionCode, addWishlistProduct, cancelOrder, changeCartItemQuantity, changeOrderPaymentMethod, clearCart, config, confirmAccountRegistration, confirmPasswordReset, createCustomerAddress, createInstance, createOrder, deleteCustomerAddress, getAddWishlistProductEndpoint, getAvailableCountries, getAvailableCurrencies, getAvailableLanguages, getAvailablePaymentMethods, getAvailableSalutations, getAvailableShippingMethods, getCancelOrderEndpoint, getCart, getCategories, getCategory, getCategoryDetailsEndpoint, getCategoryEndpoint, getCategoryProducts, getChangeOrderPaymentMethodEndpoint, getCheckoutCartEndpoint, getCheckoutCartLineItemEndpoint, getCheckoutOrderEndpoint, getCmsPage, getConfirmPasswordResetEndpoint, getContactFormEndpoint, getContextCountryEndpoint, getContextCurrencyEndpoint, getContextEndpoint, getContextLanguageEndpoint, getContextPaymentMethodEndpoint, getContextSalutationEndpoint, getContextShippingMethodEndpoint, getCustomer, getCustomerAccountConfirmEndpoint, getCustomerAddAddressEndpoint, getCustomerAddress, getCustomerAddressEndpoint, getCustomerAddresses, getCustomerDefaultBillingAddressEndpoint, getCustomerDefaultShippingAddressEndpoint, getCustomerDetailsUpdateEndpoint, getCustomerEndpoint, getCustomerLoginEndpoint, getCustomerLogoutEndpoint, getCustomerOrderEndpoint, getCustomerOrders, getCustomerRegisterEndpoint, getCustomerResetPasswordEndpoint, getCustomerUpdateEmailEndpoint, getCustomerUpdatePasswordEndpoint, getCustomerUpdatePaymentMethodEndpoint, getGetWishlistProductsEndpoint, getLandingPage, getLandingPageDetailsEndpoint, getMergeWishlistProductsEndpoint, getNewsletterRecipientEndpoint, getNewsletterSubscribeEndpoint, getNewsletterUnsubscribeEndpoint, getOrderDetails, getPageResolverEndpoint, getPaymentMethodDetails, getProduct, getProductDetailsEndpoint, getProductEndpoint, getProductListingEndpoint, getProductReviews, getProductReviewsEndpoint, getProducts, getRemoveWishlistProductEndpoint, getSearchEndpoint, getSeoUrl, getSeoUrlEndpoint, getSeoUrls, getSessionContext, getShippingMethodDetails, getStoreNavigation, getStoreNavigationEndpoint, getStoreNewsletterConfirmEndpoint, getStoreNewsletterSubscribeEndpoint, getStoreNewsletterUnsubscribeEndpoint, getSuggestSearchEndpoint, getUserCountry, getUserSalutation, getWishlistProducts, handlePayment, handlePaymentEndpoint, invokeGet, invokePost, isNewsletterSubscriber, login, logout, mergeWishlistProducts, newsletterSubscribe, newsletterUnsubscribe, onConfigChange, register, removeCartItem, removeWishlistProduct, resetPassword, searchProducts, searchSuggestedProducts, sendContactForm, setCurrentBillingAddress, setCurrentCurrency, setCurrentLanguage, setCurrentPaymentMethod, setCurrentShippingAddress, setCurrentShippingMethod, setDefaultCustomerBillingAddress, setDefaultCustomerPaymentMethod, setDefaultCustomerShippingAddress, setup, update, updateCustomerAddress, updateEmail, updatePassword, updateProfile }; |
{ | ||
"name": "@shopware-pwa/api-client", | ||
"version": "0.1.20", | ||
"version": "0.2.0", | ||
"module": "./dist/index.mjs", | ||
@@ -15,6 +15,6 @@ "types": "./dist/index.d.ts", | ||
"@faker-js/faker": "^7.6.0", | ||
"@vitest/coverage-c8": "^0.23.4", | ||
"@vitest/coverage-c8": "^0.25.2", | ||
"eslint-config-shopware": "0.0.0", | ||
"tsconfig": "0.0.0", | ||
"vitest": "^0.23.4" | ||
"vitest": "^0.25.2" | ||
}, | ||
@@ -21,0 +21,0 @@ "dependencies": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
59964
1674