UNPKG

@vtex/vtexis-compatibility-layer

Version:

Compatibility layer between intelligent search and VTEX

889 lines (888 loc) 107 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.searchOffersMock = void 0; exports.searchOffersMock = { '326782298': { SkuId: '326782298', RealTimeCalculated: false, ErrorsDuringGetSkuCommercialContainer: false, SkuSellers: [ { SellerId: '38900', SellerType: 1, SellerName: 'YR VARIEDADES', AvailableSalesChannels: [1], StockKeepingUnitId: 326782298, SellerStockKeepingUnitId: 'Ip-11-R-00', ProductCommissionPercentage: 0.0, FreightCommissionPercentage: 0.0, SkuCommercialOffer: { Price: 2180, ListPrice: 2180, PriceWithoutDiscount: 2180, RewardValue: 0, PriceValidUntil: null, AvailableQuantity: 15, IsAvailable: true, Tax: 0, DeliverySlaSamples: [ { Region: null, }, ], GetInfoErrorMessage: null, CacheVersionUsedToCallCheckout: '_', RatesAndBenefitsData: { RateAndBenefitsIdentifiers: [], Teaser: [], }, PaymentOptions: { UpdateStatus: null, InstallmentOptions: [ { PaymentSystem: '1', Bin: null, PaymentName: 'American Express', PaymentGroupName: 'creditCardPaymentGroup', Value: 2180, ValueAsInt: 218000, Installments: [ { Count: 1, HasInterestRate: false, InterestRateAsInt: 0, Value: 2180, ValueAsInt: 218000, Total: 2180, TotalAsInt: 218000, SellerMerchantInstallments: [ { Id: 'CARREFOURBR', Count: 1, Value: 2180, HasInterestRate: false, InterestRateAsInt: 0, ValueAsInt: 218000, Total: 2180, TotalAsInt: 218000, }, ], }, { Count: 2, HasInterestRate: false, InterestRateAsInt: 0, Value: 1090, ValueAsInt: 109000, Total: 2180, TotalAsInt: 218000, SellerMerchantInstallments: [ { Id: 'CARREFOURBR', Count: 2, Value: 1090, HasInterestRate: false, InterestRateAsInt: 0, ValueAsInt: 109000, Total: 2180, TotalAsInt: 218000, }, ], }, { Count: 3, HasInterestRate: false, InterestRateAsInt: 0, Value: 726.66, ValueAsInt: 72666, Total: 2180, TotalAsInt: 218000, SellerMerchantInstallments: [ { Id: 'CARREFOURBR', Count: 3, Value: 726.66, HasInterestRate: false, InterestRateAsInt: 0, ValueAsInt: 72666, Total: 2180, TotalAsInt: 218000, }, ], }, { Count: 4, HasInterestRate: false, InterestRateAsInt: 0, Value: 545, ValueAsInt: 54500, Total: 2180, TotalAsInt: 218000, SellerMerchantInstallments: [ { Id: 'CARREFOURBR', Count: 4, Value: 545, HasInterestRate: false, InterestRateAsInt: 0, ValueAsInt: 54500, Total: 2180, TotalAsInt: 218000, }, ], }, { Count: 5, HasInterestRate: false, InterestRateAsInt: 0, Value: 436, ValueAsInt: 43600, Total: 2180, TotalAsInt: 218000, SellerMerchantInstallments: [ { Id: 'CARREFOURBR', Count: 5, Value: 436, HasInterestRate: false, InterestRateAsInt: 0, ValueAsInt: 43600, Total: 2180, TotalAsInt: 218000, }, ], }, { Count: 6, HasInterestRate: false, InterestRateAsInt: 0, Value: 363.33, ValueAsInt: 36333, Total: 2180, TotalAsInt: 218000, SellerMerchantInstallments: [ { Id: 'CARREFOURBR', Count: 6, Value: 363.33, HasInterestRate: false, InterestRateAsInt: 0, ValueAsInt: 36333, Total: 2180, TotalAsInt: 218000, }, ], }, { Count: 7, HasInterestRate: false, InterestRateAsInt: 0, Value: 311.42, ValueAsInt: 31142, Total: 2180, TotalAsInt: 218000, SellerMerchantInstallments: [ { Id: 'CARREFOURBR', Count: 7, Value: 311.42, HasInterestRate: false, InterestRateAsInt: 0, ValueAsInt: 31142, Total: 2180, TotalAsInt: 218000, }, ], }, { Count: 8, HasInterestRate: false, InterestRateAsInt: 0, Value: 272.5, ValueAsInt: 27250, Total: 2180, TotalAsInt: 218000, SellerMerchantInstallments: [ { Id: 'CARREFOURBR', Count: 8, Value: 272.5, HasInterestRate: false, InterestRateAsInt: 0, ValueAsInt: 27250, Total: 2180, TotalAsInt: 218000, }, ], }, { Count: 9, HasInterestRate: false, InterestRateAsInt: 0, Value: 242.22, ValueAsInt: 24222, Total: 2180, TotalAsInt: 218000, SellerMerchantInstallments: [ { Id: 'CARREFOURBR', Count: 9, Value: 242.22, HasInterestRate: false, InterestRateAsInt: 0, ValueAsInt: 24222, Total: 2180, TotalAsInt: 218000, }, ], }, { Count: 10, HasInterestRate: false, InterestRateAsInt: 0, Value: 218, ValueAsInt: 21800, Total: 2180, TotalAsInt: 218000, SellerMerchantInstallments: [ { Id: 'CARREFOURBR', Count: 10, Value: 218, HasInterestRate: false, InterestRateAsInt: 0, ValueAsInt: 21800, Total: 2180, TotalAsInt: 218000, }, ], }, ], }, { PaymentSystem: '2', Bin: null, PaymentName: 'Visa', PaymentGroupName: 'creditCardPaymentGroup', Value: 2180, ValueAsInt: 218000, Installments: [ { Count: 1, HasInterestRate: false, InterestRateAsInt: 0, Value: 2180, ValueAsInt: 218000, Total: 2180, TotalAsInt: 218000, SellerMerchantInstallments: [ { Id: 'CARREFOURBR', Count: 1, Value: 2180, HasInterestRate: false, InterestRateAsInt: 0, ValueAsInt: 218000, Total: 2180, TotalAsInt: 218000, }, ], }, { Count: 2, HasInterestRate: false, InterestRateAsInt: 0, Value: 1090, ValueAsInt: 109000, Total: 2180, TotalAsInt: 218000, SellerMerchantInstallments: [ { Id: 'CARREFOURBR', Count: 2, Value: 1090, HasInterestRate: false, InterestRateAsInt: 0, ValueAsInt: 109000, Total: 2180, TotalAsInt: 218000, }, ], }, { Count: 3, HasInterestRate: false, InterestRateAsInt: 0, Value: 726.66, ValueAsInt: 72666, Total: 2180, TotalAsInt: 218000, SellerMerchantInstallments: [ { Id: 'CARREFOURBR', Count: 3, Value: 726.66, HasInterestRate: false, InterestRateAsInt: 0, ValueAsInt: 72666, Total: 2180, TotalAsInt: 218000, }, ], }, { Count: 4, HasInterestRate: false, InterestRateAsInt: 0, Value: 545, ValueAsInt: 54500, Total: 2180, TotalAsInt: 218000, SellerMerchantInstallments: [ { Id: 'CARREFOURBR', Count: 4, Value: 545, HasInterestRate: false, InterestRateAsInt: 0, ValueAsInt: 54500, Total: 2180, TotalAsInt: 218000, }, ], }, { Count: 5, HasInterestRate: false, InterestRateAsInt: 0, Value: 436, ValueAsInt: 43600, Total: 2180, TotalAsInt: 218000, SellerMerchantInstallments: [ { Id: 'CARREFOURBR', Count: 5, Value: 436, HasInterestRate: false, InterestRateAsInt: 0, ValueAsInt: 43600, Total: 2180, TotalAsInt: 218000, }, ], }, { Count: 6, HasInterestRate: false, InterestRateAsInt: 0, Value: 363.33, ValueAsInt: 36333, Total: 2180, TotalAsInt: 218000, SellerMerchantInstallments: [ { Id: 'CARREFOURBR', Count: 6, Value: 363.33, HasInterestRate: false, InterestRateAsInt: 0, ValueAsInt: 36333, Total: 2180, TotalAsInt: 218000, }, ], }, { Count: 7, HasInterestRate: false, InterestRateAsInt: 0, Value: 311.42, ValueAsInt: 31142, Total: 2180, TotalAsInt: 218000, SellerMerchantInstallments: [ { Id: 'CARREFOURBR', Count: 7, Value: 311.42, HasInterestRate: false, InterestRateAsInt: 0, ValueAsInt: 31142, Total: 2180, TotalAsInt: 218000, }, ], }, { Count: 8, HasInterestRate: false, InterestRateAsInt: 0, Value: 272.5, ValueAsInt: 27250, Total: 2180, TotalAsInt: 218000, SellerMerchantInstallments: [ { Id: 'CARREFOURBR', Count: 8, Value: 272.5, HasInterestRate: false, InterestRateAsInt: 0, ValueAsInt: 27250, Total: 2180, TotalAsInt: 218000, }, ], }, { Count: 9, HasInterestRate: false, InterestRateAsInt: 0, Value: 242.22, ValueAsInt: 24222, Total: 2180, TotalAsInt: 218000, SellerMerchantInstallments: [ { Id: 'CARREFOURBR', Count: 9, Value: 242.22, HasInterestRate: false, InterestRateAsInt: 0, ValueAsInt: 24222, Total: 2180, TotalAsInt: 218000, }, ], }, { Count: 10, HasInterestRate: false, InterestRateAsInt: 0, Value: 218, ValueAsInt: 21800, Total: 2180, TotalAsInt: 218000, SellerMerchantInstallments: [ { Id: 'CARREFOURBR', Count: 10, Value: 218, HasInterestRate: false, InterestRateAsInt: 0, ValueAsInt: 21800, Total: 2180, TotalAsInt: 218000, }, ], }, ], }, { PaymentSystem: '3', Bin: null, PaymentName: 'Diners', PaymentGroupName: 'creditCardPaymentGroup', Value: 2180, ValueAsInt: 218000, Installments: [ { Count: 1, HasInterestRate: false, InterestRateAsInt: 0, Value: 2180, ValueAsInt: 218000, Total: 2180, TotalAsInt: 218000, SellerMerchantInstallments: [ { Id: 'CARREFOURBR', Count: 1, Value: 2180, HasInterestRate: false, InterestRateAsInt: 0, ValueAsInt: 218000, Total: 2180, TotalAsInt: 218000, }, ], }, { Count: 2, HasInterestRate: false, InterestRateAsInt: 0, Value: 1090, ValueAsInt: 109000, Total: 2180, TotalAsInt: 218000, SellerMerchantInstallments: [ { Id: 'CARREFOURBR', Count: 2, Value: 1090, HasInterestRate: false, InterestRateAsInt: 0, ValueAsInt: 109000, Total: 2180, TotalAsInt: 218000, }, ], }, { Count: 3, HasInterestRate: false, InterestRateAsInt: 0, Value: 726.66, ValueAsInt: 72666, Total: 2180, TotalAsInt: 218000, SellerMerchantInstallments: [ { Id: 'CARREFOURBR', Count: 3, Value: 726.66, HasInterestRate: false, InterestRateAsInt: 0, ValueAsInt: 72666, Total: 2180, TotalAsInt: 218000, }, ], }, { Count: 4, HasInterestRate: false, InterestRateAsInt: 0, Value: 545, ValueAsInt: 54500, Total: 2180, TotalAsInt: 218000, SellerMerchantInstallments: [ { Id: 'CARREFOURBR', Count: 4, Value: 545, HasInterestRate: false, InterestRateAsInt: 0, ValueAsInt: 54500, Total: 2180, TotalAsInt: 218000, }, ], }, { Count: 5, HasInterestRate: false, InterestRateAsInt: 0, Value: 436, ValueAsInt: 43600, Total: 2180, TotalAsInt: 218000, SellerMerchantInstallments: [ { Id: 'CARREFOURBR', Count: 5, Value: 436, HasInterestRate: false, InterestRateAsInt: 0, ValueAsInt: 43600, Total: 2180, TotalAsInt: 218000, }, ], }, { Count: 6, HasInterestRate: false, InterestRateAsInt: 0, Value: 363.33, ValueAsInt: 36333, Total: 2180, TotalAsInt: 218000, SellerMerchantInstallments: [ { Id: 'CARREFOURBR', Count: 6, Value: 363.33, HasInterestRate: false, InterestRateAsInt: 0, ValueAsInt: 36333, Total: 2180, TotalAsInt: 218000, }, ], }, { Count: 7, HasInterestRate: false, InterestRateAsInt: 0, Value: 311.42, ValueAsInt: 31142, Total: 2180, TotalAsInt: 218000, SellerMerchantInstallments: [ { Id: 'CARREFOURBR', Count: 7, Value: 311.42, HasInterestRate: false, InterestRateAsInt: 0, ValueAsInt: 31142, Total: 2180, TotalAsInt: 218000, }, ], }, { Count: 8, HasInterestRate: false, InterestRateAsInt: 0, Value: 272.5, ValueAsInt: 27250, Total: 2180, TotalAsInt: 218000, SellerMerchantInstallments: [ { Id: 'CARREFOURBR', Count: 8, Value: 272.5, HasInterestRate: false, InterestRateAsInt: 0, ValueAsInt: 27250, Total: 2180, TotalAsInt: 218000, }, ], }, { Count: 9, HasInterestRate: false, InterestRateAsInt: 0, Value: 242.22, ValueAsInt: 24222, Total: 2180, TotalAsInt: 218000, SellerMerchantInstallments: [ { Id: 'CARREFOURBR', Count: 9, Value: 242.22, HasInterestRate: false, InterestRateAsInt: 0, ValueAsInt: 24222, Total: 2180, TotalAsInt: 218000, }, ], }, { Count: 10, HasInterestRate: false, InterestRateAsInt: 0, Value: 218, ValueAsInt: 21800, Total: 2180, TotalAsInt: 218000, SellerMerchantInstallments: [ { Id: 'CARREFOURBR', Count: 10, Value: 218, HasInterestRate: false, InterestRateAsInt: 0, ValueAsInt: 21800, Total: 2180, TotalAsInt: 218000, }, ], }, ], }, { PaymentSystem: '4', Bin: null, PaymentName: 'Mastercard', PaymentGroupName: 'creditCardPaymentGroup', Value: 2180, ValueAsInt: 218000, Installments: [ { Count: 1, HasInterestRate: false, InterestRateAsInt: 0, Value: 2180, ValueAsInt: 218000, Total: 2180, TotalAsInt: 218000, SellerMerchantInstallments: [ { Id: 'CARREFOURBR', Count: 1, Value: 2180, HasInterestRate: false, InterestRateAsInt: 0, ValueAsInt: 218000, Total: 2180, TotalAsInt: 218000, }, ], }, { Count: 2, HasInterestRate: false, InterestRateAsInt: 0, Value: 1090, ValueAsInt: 109000, Total: 2180, TotalAsInt: 218000, SellerMerchantInstallments: [ { Id: 'CARREFOURBR', Count: 2, Value: 1090, HasInterestRate: false, InterestRateAsInt: 0, ValueAsInt: 109000, Total: 2180, TotalAsInt: 218000, }, ], }, { Count: 3, HasInterestRate: false, InterestRateAsInt: 0, Value: 726.66, ValueAsInt: 72666, Total: 2180, TotalAsInt: 218000, SellerMerchantInstallments: [ { Id: 'CARREFOURBR', Count: 3, Value: 726.66, HasInterestRate: false, InterestRateAsInt: 0, ValueAsInt: 72666, Total: 2180, TotalAsInt: 218000, }, ], }, { Count: 4, HasInterestRate: false, InterestRateAsInt: 0, Value: 545, ValueAsInt: 54500, Total: 2180, TotalAsInt: 218000, SellerMerchantInstallments: [ { Id: 'CARREFOURBR', Count: 4, Value: 545, HasInterestRate: false, InterestRateAsInt: 0, ValueAsInt: 54500, Total: 2180, TotalAsInt: 218000, }, ], }, { Count: 5, HasInterestRate: false, InterestRateAsInt: 0, Value: 436, ValueAsInt: 43600, Total: 2180, TotalAsInt: 218000, SellerMerchantInstallments: [ { Id: 'CARREFOURBR', Count: 5, Value: 436, HasInterestRate: false, InterestRateAsInt: 0, ValueAsInt: 43600, Total: 2180, TotalAsInt: 218000, }, ], }, { Count: 6, HasInterestRate: false, InterestRateAsInt: 0, Value: 363.33, ValueAsInt: 36333, Total: 2180, TotalAsInt: 218000, SellerMerchantInstallments: [ { Id: 'CARREFOURBR', Count: 6, Value: 363.33, HasInterestRate: false, InterestRateAsInt: 0, ValueAsInt: 36333, Total: 2180, TotalAsInt: 218000, }, ], }, { Count: 7, HasInterestRate: false, InterestRateAsInt: 0, Value: 311.42, ValueAsInt: 31142, Total: 2180, TotalAsInt: 218000, SellerMerchantInstallments: [ { Id: 'CARREFOURBR', Count: 7, Value: 311.42, HasInterestRate: false, InterestRateAsInt: 0, ValueAsInt: 31142, Total: 2180, TotalAsInt: 218000, }, ], }, { Count: 8, HasInterestRate: false, InterestRateAsInt: 0, Value: 272.5, ValueAsInt: 27250, Total: 2180, TotalAsInt: 218000, SellerMerchantInstallments: [ { Id: 'CARREFOURBR', Count: 8, Value: 272.5, HasInterestRate: false, InterestRateAsInt: 0, ValueAsInt: 27250, Total: 2180, TotalAsInt: 218000, }, ], }, { Count: 9, HasInterestRate: false, InterestRateAsInt: 0, Value: 242.22, ValueAsInt: 24222, Total: 2180, TotalAsInt: 218000, SellerMerchantInstallments: [ { Id: 'CARREFOURBR',