This commit is contained in:
Bivekich
2025-07-30 13:57:27 +03:00
parent d22eacb30c
commit 28312830a4
6 changed files with 343 additions and 13 deletions

View File

@ -1334,3 +1334,32 @@ export const SAVE_WB_WAREHOUSE_CACHE = gql`
}
}
`;
// Мутации для кеша статистики продаж
export const SAVE_SELLER_STATS_CACHE = gql`
mutation SaveSellerStatsCache($input: SellerStatsCacheInput!) {
saveSellerStatsCache(input: $input) {
success
message
cache {
id
organizationId
cacheDate
period
dateFrom
dateTo
productsData
productsTotalSales
productsTotalOrders
productsCount
advertisingData
advertisingTotalCost
advertisingTotalViews
advertisingTotalClicks
expiresAt
createdAt
updatedAt
}
}
}
`;