daytona-wildberries-typescript-sdk 3.9.1 → 3.9.2

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.
Files changed (2) hide show
  1. package/README.md +20 -18
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -34,20 +34,21 @@ Transform 11 OpenAPI specifications into a production-ready SDK with 13 modules,
34
34
  - **🔄 Smart Retry Logic** - Exponential backoff retry mechanism for transient failures with per-request timeout support
35
35
  - **🛡️ Rich Error Handling** - Typed error hierarchy with detailed recovery guidance
36
36
  - **📦 Tree-Shakeable** - Dual ESM/CommonJS builds, import only what you need (<100KB gzipped)
37
- - **✅ Battle-Tested** - 2,112 tests passing across all modules
37
+ - **✅ Battle-Tested** - 2,129 tests passing across all modules
38
38
  - **🎯 100% API Coverage** - All YAML endpoints implemented including v1 Finance Reports and Acquiring Reports
39
39
  - **📚 Comprehensive Documentation** - Complete API reference, 44 guides, tutorials, and working examples in English and Russian
40
40
  - **🔧 Zero Configuration** - Works out of the box with sensible defaults, configurable for advanced use
41
41
  - **💰 Finance v1 Reports** - Sales Reports and Acquiring Reports with `parseMoneyAmount()` helper and field union types for autocomplete
42
42
  - **🔔 Deprecation Utilities** - `warnOnce()` and `resetDeprecationWarnings()` for clean migration workflows
43
43
 
44
- ## 🆕 What's New in v3.9.0
44
+ ## 🆕 What's New in v3.9.2
45
45
 
46
- - **Mandatory product characteristics** -- `SubjectCharacteristic` interface with `isRequiredForCreate` field for WB's upcoming mandatory characteristic enforcement (deadline: Apr 29, 2026)
47
- - **Characteristic input/output types** -- `CardCharacteristicInput` (accepts `string | number | string[]` value) and `CardCharacteristicOutput` for typed card characteristic handling
48
- - **DRY refactor** -- 9 inline type duplications replaced with named interfaces in Products types
49
- - **New guide** -- EN+RU "Mandatory Product Characteristics" guide covering 10 affected categories with code examples
50
- - **v3.8.0** -- Field union types for Finance Reports, `warnOnce()`/`resetDeprecationWarnings()` utilities, documentation overhaul
46
+ - **`isVariable` field on `SubjectCharacteristic`** -- indicates whether merged card variants can differ on this characteristic (returned by `getObjectCharc()`)
47
+ - **`validateMergedCardVariants()` helper** -- pure client-side validator detecting divergent fixed characteristics, identical variable characteristics, and duplicate variants before submission
48
+ - **New types** -- `MergedCardVariant`, `MergedCardValidationResult` exported from main SDK
49
+ - **Updated guides** -- EN+RU "Mandatory Product Characteristics" and "Product Card Merging" guides with new variable/fixed section and pre-flight check examples
50
+ - **v3.9.1** -- `validateRequiredCharacteristics()` helper for required-field pre-flight checks
51
+ - **v3.9.0** -- Mandatory product characteristics support (`isRequiredForCreate`), characteristic input/output types, DRY refactor
51
52
 
52
53
  See [CHANGELOG.md](CHANGELOG.md) for the complete release history.
53
54
 
@@ -158,7 +159,7 @@ const reportFile = await longTimeoutSdk.analytics.getDownloadsFile(downloadId);
158
159
 
159
160
  ## 📊 Project Status & Development
160
161
 
161
- **Current Status:** 🟢 Production Ready | **SDK Version:** 3.9.0
162
+ **Current Status:** 🟢 Production Ready | **SDK Version:** 3.9.2
162
163
 
163
164
  **📖 [Project Status Summary](PROJECT_STATUS_SUMMARY.md)** — Comprehensive overview of all epics, stories, and implementation status.
164
165
 
@@ -168,7 +169,7 @@ const reportFile = await longTimeoutSdk.analytics.getDownloadsFile(downloadId);
168
169
  |--------|-------|
169
170
  | **API Modules** | 13 (100%) |
170
171
  | **API Endpoints** | 240+ implemented |
171
- | **Test Suite** | 2,112 tests passing (100%) |
172
+ | **Test Suite** | 2,129 tests passing (100%) |
172
173
  | **Documentation** | 44 guides, 22 examples |
173
174
  | **Bundle Size** | ~91KB gzipped (ESM) |
174
175
 
@@ -261,20 +262,21 @@ This is an unofficial SDK. It is not affiliated with, officially maintained by,
261
262
  - **🔄 Умная Логика Повторов** - Экспоненциальная задержка для временных сбоев с поддержкой таймаута для каждого запроса
262
263
  - **🛡️ Богатая Обработка Ошибок** - Типизированная иерархия ошибок с подробными рекомендациями
263
264
  - **📦 Tree-Shakeable** - Двойная сборка ESM/CommonJS, импортируйте только то, что нужно (<100KB gzip)
264
- - **✅ Проверено в Бою** - 2,112 тестов для всех модулей
265
+ - **✅ Проверено в Бою** - 2,129 тестов для всех модулей
265
266
  - **🎯 100% Покрытие API** - Все эндпоинты YAML реализованы, включая Финансовые Отчеты v1 и Эквайринг
266
267
  - **📚 Полная Документация** - Справочник API, 44 руководства, примеры на английском и русском
267
268
  - **🔧 Без Настройки** - Работает из коробки с разумными значениями по умолчанию
268
269
  - **💰 Финансовые Отчеты v1** - Отчеты о продажах и эквайринге с хелпером `parseMoneyAmount()` и union-типами полей для автодополнения
269
270
  - **🔔 Утилиты Для Устаревших Методов** - `warnOnce()` и `resetDeprecationWarnings()` для удобной миграции
270
271
 
271
- ## 🆕 Что Нового в v3.9.0
272
+ ## 🆕 Что Нового в v3.9.2
272
273
 
273
- - **Обязательные характеристики товаров** -- интерфейс `SubjectCharacteristic` с полем `isRequiredForCreate` для предстоящего требования WB по обязательным характеристикам (дедлайн: 29 апреля 2026)
274
- - **Типы ввода/вывода характеристик** -- `CardCharacteristicInput` (принимает `string | number | string[]`) и `CardCharacteristicOutput` для типизированной работы с характеристиками карточек
275
- - **DRY рефакторинг** -- 9 дублированных inline-типов заменены именованными интерфейсами в типах Products
276
- - **Новое руководство** -- EN+RU руководство "Обязательные характеристики товаров" с 10 затронутыми категориями и примерами кода
277
- - **v3.8.0** -- Union-типы полей для Финансовых Отчетов, утилиты `warnOnce()`/`resetDeprecationWarnings()`, обновление документации
274
+ - **Поле `isVariable` в `SubjectCharacteristic`** -- указывает, могут ли варианты объединённой карточки отличаться по этой характеристике (возвращается `getObjectCharc()`)
275
+ - **Хелпер `validateMergedCardVariants()`** -- клиентская валидация вариантов объединённой карточки: обнаруживает расходящиеся фиксированные характеристики, одинаковые вариативные и дублирующиеся варианты до отправки
276
+ - **Новые типы** -- `MergedCardVariant`, `MergedCardValidationResult` экспортируются из основного SDK
277
+ - **Обновлённые руководства** -- EN+RU "Обязательные характеристики товаров" и "Объединение карточек товаров" с новыми разделами о переменных/фиксированных характеристиках и примером предполётной проверки
278
+ - **v3.9.1** -- хелпер `validateRequiredCharacteristics()` для предварительной проверки обязательных полей
279
+ - **v3.9.0** -- поддержка обязательных характеристик товаров (`isRequiredForCreate`), типы ввода/вывода характеристик, DRY-рефакторинг
278
280
 
279
281
  Полная история изменений: [CHANGELOG.md](CHANGELOG.md)
280
282
 
@@ -385,7 +387,7 @@ const reportFile = await longTimeoutSdk.analytics.getDownloadsFile(downloadId);
385
387
 
386
388
  ## 📊 Статус Проекта и Разработка
387
389
 
388
- **Текущий Статус:** 🟢 Production Ready | **Версия SDK:** 3.9.0
390
+ **Текущий Статус:** 🟢 Production Ready | **Версия SDK:** 3.9.2
389
391
 
390
392
  **📖 [Project Status Summary](PROJECT_STATUS_SUMMARY.md)** — Комплексный обзор всех эпиков, историй и статуса реализации.
391
393
 
@@ -395,7 +397,7 @@ const reportFile = await longTimeoutSdk.analytics.getDownloadsFile(downloadId);
395
397
  |---------|----------|
396
398
  | **API модули** | 13 (100%) |
397
399
  | **API эндпоинты** | 240+ реализовано |
398
- | **Тесты** | 2,112 тестов проходят (100%) |
400
+ | **Тесты** | 2,129 тестов проходят (100%) |
399
401
  | **Документация** | 44 руководства, 22 примера |
400
402
  | **Размер бандла** | ~91KB gzipped (ESM) |
401
403
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "daytona-wildberries-typescript-sdk",
3
- "version": "3.9.1",
3
+ "version": "3.9.2",
4
4
  "description": "Full-featured TypeScript SDK providing type-safe access to all Wildberries marketplace API methods",
5
5
  "keywords": [
6
6
  "wildberries",