|
1 | 1 | import { CustomQuery } from '@vue-storefront/core/lib/src/types'; |
| 2 | +import {FacetSearchResult} from "@vue-storefront/core"; |
| 3 | +import {FacetResultsData, Filter} from "@vue-storefront/magento"; |
2 | 4 |
|
3 | 5 | export declare type ComposableFunctionArgs<T> = T & { |
4 | 6 | customQuery?: CustomQuery; |
@@ -2320,6 +2322,11 @@ export interface CustomerAddress { |
2320 | 2322 | telephone?: Maybe<Scalars['String']>; |
2321 | 2323 | /** The customer's Value-added tax (VAT) number (for corporate customers) */ |
2322 | 2324 | vat_id?: Maybe<Scalars['String']>; |
| 2325 | + /** The customer's email **/ |
| 2326 | + email: Scalars['String'] |
| 2327 | + /** The customer's phone **/ |
| 2328 | + phone: Maybe<Scalars['String']> |
| 2329 | + |
2323 | 2330 | } |
2324 | 2331 | export interface CustomerAddressAttribute { |
2325 | 2332 | /** Attribute code */ |
@@ -51444,3 +51451,55 @@ export declare type WishlistQuery = { |
51444 | 51451 | } | null | undefined>; |
51445 | 51452 | } | null | undefined; |
51446 | 51453 | }; |
| 51454 | + |
| 51455 | +export declare type Category = CategoryTree | CategorySearchQuery['categoryList'][0]; |
| 51456 | +export interface Product extends ProductInterface, ConfigurableProduct, Omit<BundleProduct, 'items'>, Omit<GroupedProduct, 'items'>, Omit<DownloadableProduct, 'items'>, Omit<VirtualProduct, 'items'> { |
| 51457 | +} |
| 51458 | +export declare type Countries = CountriesListQuery['countries'][0]; |
| 51459 | + |
| 51460 | +export interface TransformedCustomerAddress extends CustomerAddress { |
| 51461 | + street: string, |
| 51462 | + apartment: string, |
| 51463 | + neighborhood: string, |
| 51464 | + extra: string, |
| 51465 | +} |
| 51466 | + |
| 51467 | +export interface AddressGetter { |
| 51468 | + countriesList(countries: Countries[]): { |
| 51469 | + id: string; |
| 51470 | + label: string; |
| 51471 | + englishLabel: string; |
| 51472 | + abbreviation: string; |
| 51473 | + }[]; |
| 51474 | + regionList(country: Country): { |
| 51475 | + id: number; |
| 51476 | + label: string; |
| 51477 | + abbreviation: string; |
| 51478 | + }[]; |
| 51479 | +} |
| 51480 | + |
| 51481 | +export declare type CartItem = CartItemInterface; |
| 51482 | + |
| 51483 | +export interface AgnosticPaymentMethod { |
| 51484 | + label: string; |
| 51485 | + value: string; |
| 51486 | +} |
| 51487 | + |
| 51488 | +export declare type ShippingMethod = AvailableShippingMethod; |
| 51489 | + |
| 51490 | +export declare type SearchData = FacetSearchResult<FacetResultsData>; |
| 51491 | +export declare type ReviewMetadata = ProductReviewRatingsMetadataQuery['productReviewRatingsMetadata']['items'][0]; |
| 51492 | +export interface AgnosticReviewMetadata { |
| 51493 | + id: string; |
| 51494 | + name: string; |
| 51495 | + values: { |
| 51496 | + label: string | number; |
| 51497 | + id: string; |
| 51498 | + }[]; |
| 51499 | +} |
| 51500 | + |
| 51501 | +export declare type AvailableStores = AvailableStoresQuery['availableStores']; |
| 51502 | + |
| 51503 | +export interface ReviewsGetter { |
| 51504 | + reviews: Array<ProductReviews> |
| 51505 | +} |
0 commit comments