@snabcentr/client-core 4.14.3 → 4.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3464,25 +3464,6 @@ class ScCatalogService {
3464
3464
  return data.map((item, index) => new ScProduct(item, index));
3465
3465
  }));
3466
3466
  }
3467
- /**
3468
- * Создает запрос получения списка товаров, созданных за указанный период (с пагинацией).
3469
- *
3470
- * @deprecated Используйте {@link getProducts$} с фильтром `created`. Удалить после перевода всех веток.
3471
- *
3472
- * @param params Параметры запроса товаров за период.
3473
- */
3474
- getNewProducts$(params) {
3475
- return this.http
3476
- .get(`${this.urls.apiUrl}/catalog/products/new`, {
3477
- // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
3478
- params: this.convertersService.toHttpParams({ ...params }, { nonNullable: true }),
3479
- })
3480
- .pipe(map$1((data) => {
3481
- const cloneData = structuredClone(data);
3482
- cloneData.data = cloneData.data.map((item) => new ScProduct(item));
3483
- return cloneData;
3484
- }));
3485
- }
3486
3467
  /**
3487
3468
  * Создает запрос получения списка товаров категории и кэширует его.
3488
3469
  *