// Response de API import type { ApiResponse, ApiStatus, ApiMethod, ApiContext, ApiError, ApiErrorData, } from './context/api-config.types'; import type { ApiParams, ApiParamsCondition, ApiParamsConditionGroup, ApiParamsMeta, ApiParamsOrder, } from './context/api-params.types'; import type { Attribute, AttributeValue, Combination, ValueList, Variations, CurrentAttribute, } from './endpoints/attribute/attribute.interfaces'; import type { Banner, Banners } from './endpoints/banner/banner.interfaces'; import type { BrandFields, BrandConditions, BrandOrders, } from './endpoints/brand/brand-field.types'; import type { Brand, BrandItem } from './endpoints/brand/brand.interfaces'; import type { CartCustomer, CartResponse, DeleteCartRequest, UpsertCartRequest, UpsertCartItem, AddressToCartRequest, AddressesToCartRequest, AddressToCartResponse, BuyCartRequest, BuyCartResponse, PaymentTokenCartRequest, PaymentTokenCartResponse, } from './endpoints/cart/cart.interfaces'; import type { AddressToCartType, CartErrorCode, } from './endpoints/cart/cart.types'; import type { CategoryTree, CategoryTreeItem, CategoryTreeNode, } from './endpoints/category/category.interfaces'; import type { CountryResponse } from './endpoints/common/common.interfaces'; import type { ContextType } from './endpoints/context/context.types'; import type { CountryAlpha2, CountryAlpha3, CountryName, CountryPhoneCode, StateCode, StateName, } from './endpoints/country/country.types'; import type { AddCouponRequest, Coupon, } from './endpoints/coupon/coupon.interfaces'; import type { CustomerErrorCode } from './endpoints/customer/customer-erros'; import type { CustomerConditionFields, CustomerFields, CustomerSortFields, CustomerOrderGroupConditionFields, CustomerOrderGroupFields, CustomerOrderGroupSortFields, CustomerOrderItemHistoryConditionFields, CustomerOrderItemHistorySortFields, CustomerHistoryConditionFields, CustomerHistorySortFields, CustomerWishlistConditionFields, CustomerWishlistSortFields } from './endpoints/customer/customer-obsearch'; import type { UpdateCustomer, ChangePasswordCustomerAuthenticated, ChangePasswordCustomerByCode, CheckCustomer, CheckCustomerResponse, PasswordRecoveryCustomer, CustomerResponse, SigninCustomerByDocument, SigninCustomerByEmail, SignupCustomer, ResponseSigninCustomer, CustomerDocument, UpsertCustomerAddressRequest, CustomerAddressResponse, CustomerAddressesResponse, CustomerOrderPayment, CustomerOrderResponse, CustomerOrderItem, CustomerOrderItemHistoriesResponse, CustomerOrderItemHistoryResponse, CustomerOrdersResponse, CustomerHistory, CustomerHistoryResponse, AddCustomerToNewsletterRequest, AddCustomerToNewsletterResponse, UpdateCustomerDocument, UpdateCustomerDocumentResponse, CustomerDetailWishlistResponse, CustomerListWishlistResponse, AddProductToWishlistRequest, AfterPointSystem, Wishlist } from './endpoints/customer/customer.interfaces'; import type { CustomerGender, CustomerOrigin, } from './endpoints/customer/customer.types'; import type { Descriptions } from './endpoints/description/description.interfaces'; import type { Discount } from './endpoints/discounts/discounts.interfaces'; import type { DiscountType } from './endpoints/discounts/discounts.types'; import type { TypeFilter } from './endpoints/filters/filter.type'; import type { Filter, PriceFilter, FilterValue, } from './endpoints/filters/filters.interfaces'; import type { InterestType, RequestInterest, ResponseInterest, } from './endpoints/interest/interest.interfaces'; import type { Media } from './endpoints/media/media.interfaces'; import type { Target, Type } from './endpoints/menu/menu.enums'; import type { Menu, MenuItem } from './endpoints/menu/menu.interfaces'; import type { Order, OrderItem } from './endpoints/order/order.interfaces'; import type { Page } from './endpoints/page/page.interfaces'; import type { Pagination } from './endpoints/pagination/pagination.interfaces'; import type { PairOffer, PairOfferResponse, } from './endpoints/pair-offer/pair-offer.interfaces'; import type { PromotionalForecastPointSystem, PromotionalForecastResponse, } from './endpoints/promotional-forecast/promotional-forecast.interfaces'; import type { Payment, PaymentConfiguration, PaymentOption, PaymentResponse, PaymentType, CardFlags, PaymentConditionsRequest, PaymentConditionsResponse, } from './endpoints/payment/payment.interfaces'; import type { ConfigurationCode, PaymentCode, } from './endpoints/payment/payment.types'; import type { ProductFields, ProductConditionFields, ProductSortFields, } from './endpoints/product/product-obsearch.types'; import type { Product, ProductCategory, ProductDimension, ProductFlags, ProductPrice, Stock, ProductInstallment, ProductRestriction } from './endpoints/product/product.interfaces'; import type { ProductStatus, ProductType, } from './endpoints/product/product.types'; import type { ProductCommentConditionFields, ProductCommentFields, ProductCommentSortFields, } from './endpoints/product-comment/product-comment-obsearch.types'; import type { ProductComment, CreateProductComment, ProductCommentsResponse, } from './endpoints/product-comment/product-comment.interfaces'; import type { Redirect } from './endpoints/redirect/redirect.interfaces'; import type { ReviewConditionFields, ReviewSortFields, ReviewFields, } from './endpoints/review/review-obsearch.types'; import type { ProductReviewRequest, ProductReviewResponse, ProductReview, CreateProductReviewResponse, CreateProductReviewMediaResponse, StoreReviewRequest } from './endpoints/review/review.interfaces'; import type { Seal, SealSetting } from './endpoints/seal/seal.interfaces'; import type { Seals } from './endpoints/seal/seal.types'; import type { Search } from './endpoints/search/search.interfaces'; import type { Seo } from './endpoints/seo/seo.interfaces'; import type { ShippingOption, QuoteGroupProduct, ShippingOptionProduct, QuoteGroupProductItem, ShipmentQuoteCartRequest, ShipmentQuoteProductRequest, ShipmentQuoteProductResponse, SelectShipimentRequest, PickupPoint } from './endpoints/shipment/shipment.interfaces'; import type { TitleType } from './endpoints/showcase/showcase.enums'; import type { Showcase } from './endpoints/showcase/showcase.interfaces'; import type { SimpleProduct } from './endpoints/simple-product/simple-product.interfaces'; import type { Storage } from './endpoints/storage/storage.interfaces'; import type { UrlBrand, UrlListing, UrlMenu, UrlPage, UrlProduct, } from './endpoints/url/url.interfaces'; import type { WalletConditionFields, WalletSortFields, } from './endpoints/wallet/wallet-obsearch'; import type { WalletTransaction, WalletTransactionResponse, ClaimGiftCardRequest, ClaimGiftCardResponse, } from './endpoints/wallet/wallet.interfaces'; import type { ZipcodeResponse } from './endpoints/zipcode/zipcode.interfaces'; import type { TemplateResponse } from './endpoints/template/template.interfaces'; import type { UpsellResponse, Upsell } from './endpoints/upsell/upsell.interfaces'; import type { PriceRule } from './endpoints/price/price.interfaces'; import type { RedirectRequest, OauthType } from './endpoints/third-party/oauth.interfaces'; import type { MFAOption, RequestSendMFA, RequestConfirmMFA, MFAAPPSettings, MFAEmailSettings, MFAPhoneSettings, RequestLoginMFA, CustomerMFAErrorCode, RequestMFASetup, ResponseMFASetup } from './endpoints/mfa/mfa.interfaces'; export type { // Config da useApi ApiResponse, ApiStatus, ApiMethod, ApiError, ApiErrorData, ApiContext, ApiParams, ApiParamsCondition, ApiParamsConditionGroup, ApiParamsMeta, ApiParamsOrder, // Endpoints TemplateResponse, // TODO organizar por modulos ContextType, DiscountType, Discount, // Types Target, Type, ProductStatus, ProductType, TitleType, // Interfaces // Atributos Attribute, AttributeValue, Combination, ValueList, Variations, CurrentAttribute, WalletConditionFields, WalletSortFields, WalletTransaction, WalletTransactionResponse, ClaimGiftCardRequest, ClaimGiftCardResponse, RedirectRequest, OauthType, // banner Banner, Banners, Seo, Media, Menu, MenuItem, Descriptions, Showcase, // Marcas Brand, BrandItem, BrandFields, BrandConditions, BrandOrders, // Categorias CategoryTree, CategoryTreeItem, CategoryTreeNode, // Pagination Pagination, // Selos Seal, SealSetting, Seals, // Shipment ShippingOption, QuoteGroupProduct, ShippingOptionProduct, QuoteGroupProductItem, ShipmentQuoteCartRequest, ShipmentQuoteProductRequest, ShipmentQuoteProductResponse, SelectShipimentRequest, PickupPoint, // Avise-me/Sobconsulta = Interests InterestType, RequestInterest, ResponseInterest, // Compre junto PairOffer, PairOfferResponse, // Previsão de promocional/pontos por produto PromotionalForecastPointSystem, PromotionalForecastResponse, // Avaliaçoes ProductReviewRequest, CreateProductReviewResponse, CreateProductReviewMediaResponse, ProductReviewResponse, ProductReview, ReviewConditionFields, ReviewSortFields, ReviewFields, StoreReviewRequest, // Filtros de listagem TypeFilter, Filter, PriceFilter, FilterValue, // Institutional page Page, // Redirects Redirect, // Product ProductFields, ProductConditionFields, ProductSortFields, Product, ProductCategory, ProductDimension, ProductFlags, ProductPrice, ProductInstallment, ProductRestriction, Stock, SimpleProduct, // Product comment ProductComment, CreateProductComment, ProductCommentsResponse, ProductCommentConditionFields, ProductCommentFields, ProductCommentSortFields, // Request das páginas UrlMenu, UrlBrand, UrlListing, UrlPage, UrlProduct, // Busca de produto Search, // Cart CartCustomer, CartResponse, DeleteCartRequest, UpsertCartRequest, UpsertCartItem, AddressToCartRequest, AddressesToCartRequest, AddressToCartType, CartErrorCode, AddressToCartResponse, BuyCartRequest, BuyCartResponse, PaymentTokenCartRequest, PaymentTokenCartResponse, // Payment ConfigurationCode, PaymentCode, Payment, PaymentConfiguration, PaymentOption, PaymentResponse, PaymentType, CardFlags, PaymentConditionsRequest, PaymentConditionsResponse, // Customer UpdateCustomer, ChangePasswordCustomerAuthenticated, ChangePasswordCustomerByCode, CheckCustomer, CheckCustomerResponse, PasswordRecoveryCustomer, CustomerResponse, SigninCustomerByDocument, SigninCustomerByEmail, ResponseSigninCustomer, CustomerDocument, SignupCustomer, CustomerGender, CustomerOrigin, CustomerConditionFields, CustomerFields, CustomerSortFields, CustomerOrderGroupConditionFields, CustomerOrderGroupFields, CustomerOrderGroupSortFields, CustomerOrderItemHistoryConditionFields, CustomerOrderItemHistorySortFields, CustomerHistoryConditionFields, CustomerHistorySortFields, CustomerWishlistConditionFields, CustomerWishlistSortFields, CustomerErrorCode, UpsertCustomerAddressRequest, CustomerAddressResponse, CustomerAddressesResponse, CustomerOrderPayment, CustomerOrderResponse, CustomerOrderItem, CustomerOrderItemHistoriesResponse, CustomerOrderItemHistoryResponse, CustomerOrdersResponse, CustomerHistory, CustomerHistoryResponse, AddCustomerToNewsletterRequest, AddCustomerToNewsletterResponse, UpdateCustomerDocument, UpdateCustomerDocumentResponse, CustomerDetailWishlistResponse, CustomerListWishlistResponse, AddProductToWishlistRequest, AfterPointSystem, Wishlist, MFAOption, RequestSendMFA, RequestConfirmMFA, MFAAPPSettings, MFAEmailSettings, MFAPhoneSettings, RequestLoginMFA, CustomerMFAErrorCode, RequestMFASetup, ResponseMFASetup, // Order Order, OrderItem, Storage, // COUNTRY TYPES CountryAlpha2, CountryAlpha3, CountryName, CountryPhoneCode, StateCode, StateName, ZipcodeResponse, CountryResponse, AddCouponRequest, Coupon, UpsellResponse, Upsell, PriceRule };