import { FieldMaskInterface } from './field-mask.interface'; import { PricingInterface } from './package.interface'; import * as e from '../enums'; export interface AddToStoreRequestInterface { storeId?: StoreIdentifierInterface; appId?: string; } export interface AddToStoresRequestInterface { partnerId?: string; storeIds?: string[]; itemId?: string; } export interface CategoryInterface { storeId?: StoreIdentifierInterface; categoryId?: string; categoryName?: string; visibleInStore?: boolean; packageIds?: string[]; } export interface CheckProductVisibilityRequestInterface { partnerId?: string; marketIds?: string[]; productReferenceId?: string; } export interface CheckProductVisibilityResponseInterface { productVisibilty?: { [key: string]: boolean; }; } export interface CreateStoreCategoryRequestInterface { storeId?: StoreIdentifierInterface; name?: string; } export interface CreateStoreCategoryResponseInterface { category?: CategoryInterface; } export interface DeleteStoreCategoryRequestInterface { storeId?: StoreIdentifierInterface; categoryId?: string; } export interface EnableCustomCategoriesForStoreRequestInterface { storeId?: StoreIdentifierInterface; } export interface EnableCustomCategoriesForStoreResponseInterface { categories?: CategoryInterface[]; } export interface GetCategoriesForStoreRequestInterface { storeId?: StoreIdentifierInterface; } export interface GetCategoriesForStoreResponseInterface { categories?: CategoryInterface[]; } export interface GetMultiStorePricePreviewsRequestInterface { partnerId?: string; productIds?: string[]; } export interface GetMultiStorePricePreviewsResponseInterface { productPreviews?: ProductPricePreviewsInterface[]; } export interface GetPublicStoreThemeRequestInterface { storeId?: StoreIdentifierInterface; } export interface GetPublicStoreThemeResponseInterface { publicStoreTheme?: PublicStoreThemeInterface; } export interface GetStoreRequestInterface { storeId?: StoreIdentifierInterface; } export interface GetStoreResponseInterface { storeId?: StoreIdentifierInterface; publicStoreSalesPersonId?: string; useCustomCategories?: boolean; categoryOrder?: string[]; } export interface GetStoreWithCategoriesRequestInterface { storeId?: StoreIdentifierInterface; bypassCache?: boolean; getLegacyLmiCategories?: boolean; } export interface GetStoreWithCategoriesResponseInterface { categories?: CategoryInterface[]; publicStoreSalesPersonId?: string; } export interface HasPartnerSetStoreOrderRequestInterface { partnerId?: string; } export interface HasPartnerSetStoreOrderResponseInterface { result?: boolean; } export interface ListCategoriesForPackageRequestInterface { storeId?: StoreIdentifierInterface; packageId?: string; } export interface ListCategoriesForPackageResponseInterface { categories?: CategoryInterface[]; } export interface ListProductsInStoreFiltersInterface { searchTerm?: string; } export interface ListProductsInStoreRequestInterface { storeId?: StoreIdentifierInterface; cursor?: string; pageSize?: number; filters?: ListProductsInStoreFiltersInterface; } export interface ListProductsInStoreResponseInterface { storeProducts?: StoreProductInterface[]; nextCursor?: string; hasMore?: boolean; } export interface ListStorePricePreviewsRequestInterface { partnerId?: string; productId?: string; } export interface ListStorePricePreviewsResponseInterface { previews?: StorePricePreviewsInterface[]; } export interface ListStoreProductVisibilitySummariesRequestInterface { partnerId?: string; } export interface ListStoreProductVisibilitySummariesResponseInterface { summaries?: { [key: string]: ListStoreProductVisibilitySummariesResponseStoreProductVisibilitySummaryInterface; }; } export interface ListVisibleAddonsForProductRequestInterface { appId?: string; storeId?: StoreIdentifierInterface; cursor?: string; pageSize?: number; } export interface ListVisibleAddonsForProductResponseInterface { storeProducts?: StoreProductInterface[]; nextCursor?: string; hasMore?: boolean; } export interface ProductPricePreviewsInterface { productId?: string; productName?: string; storePreviews?: StorePricePreviewsInterface[]; } export interface CheckProductVisibilityResponseProductVisibiltyEntryInterface { key?: string; value?: boolean; } export interface PublicStoreThemeInterface { logoBarColor?: string; backgroundColor?: string; primaryFontColor?: string; secondaryFontColor?: string; accentColor?: string; primaryCategoryColor?: string; secondaryCategoryColor?: string; } export interface RemoveFromStoreRequestInterface { storeId?: StoreIdentifierInterface; productReferenceId?: string; } export interface SetCategoriesForPackageRequestInterface { storeId?: StoreIdentifierInterface; packageId?: string; categoryIds?: string[]; } export interface SetPackagesInCategoryRequestInterface { storeId?: StoreIdentifierInterface; packageIds?: string[]; categoryId?: string; } export interface SetStoreCategoryOrderRequestInterface { storeId?: StoreIdentifierInterface; orderedCategoryIds?: string[]; } export interface StoreIdentifierInterface { partnerId?: string; marketId?: string; } export interface StorePricePreviewInterface { editionId?: string; editionName?: string; price?: number; frequency?: e.FrequenciesFrequency; } export interface StorePricePreviewsInterface { storeId?: StoreIdentifierInterface; storeName?: string; prices?: StorePricePreviewInterface[]; currency?: e.CurrenciesCurrency; } export interface StoreProductInterface { storeId?: StoreIdentifierInterface; name?: string; tagline?: string; iconUrl?: string; headerImageUrl?: string; pricing?: PricingInterface; appId?: string; packageId?: string; lmiCategories?: e.LmiCategories[]; } export interface ListStoreProductVisibilitySummariesResponseStoreProductVisibilitySummaryInterface { productId?: string; numStoresVisible?: number; } export interface ListStoreProductVisibilitySummariesResponseSummariesEntryInterface { key?: string; value?: ListStoreProductVisibilitySummariesResponseStoreProductVisibilitySummaryInterface; } export interface UpdatePublicStoreThemeRequestInterface { storeId?: StoreIdentifierInterface; publicStoreTheme?: PublicStoreThemeInterface; } export interface UpdateStoreCategoryRequestInterface { storeId?: StoreIdentifierInterface; categoryId?: string; name?: string; visibleInStore?: boolean; fieldMask?: FieldMaskInterface; } export interface UpdateStoreRequestInterface { storeId?: StoreIdentifierInterface; publicStoreSalesPersonId?: string; useCustomCategories?: boolean; fieldMask?: FieldMaskInterface; }