daytona-wildberries-typescript-sdk 3.9.0 → 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.
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,100+ 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.8.0
44
+ ## 🆕 What's New in v3.9.2
45
45
 
46
- - **Field union types** for v1 Finance Reports -- `SalesReportDetailedField` and `AcquiringReportDetailedField` provide autocomplete and type safety for the `fields[]` parameter
47
- - **`warnOnce()` and `resetDeprecationWarnings()`** -- centralized deprecation warning utilities exported from the main SDK entry point
48
- - **Documentation overhaul** -- finances module docs rewritten with all 13 methods, 10 missing guides added to EN sidebar, RU guides index updated with 10 guides and 4 new sections
49
- - **v1 Finance Reports** (v3.7.0) -- 6 new methods for Sales Reports and Acquiring Reports, `parseMoneyAmount()` helper, migration guide from deprecated v5 endpoint
50
- - **13 modules** -- Orders DBS and User Management fully integrated
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.8.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,111 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,100+ тестов для всех модулей
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.8.0
272
+ ## 🆕 Что Нового в v3.9.2
272
273
 
273
- - **Union-типы полей** для Финансовых Отчетов v1 -- `SalesReportDetailedField` и `AcquiringReportDetailedField` обеспечивают автодополнение и типобезопасность параметра `fields[]`
274
- - **`warnOnce()` и `resetDeprecationWarnings()`** -- централизованные утилиты для предупреждений об устаревших методах, экспортируемые из главной точки входа SDK
275
- - **Обновление документации** -- документация модуля финансов переписана со всеми 13 методами, 10 руководств добавлено в EN боковую панель, обновлен RU индекс руководств
276
- - **Финансовые Отчеты v1** (v3.7.0) -- 6 новых методов для Отчетов о Продажах и Эквайринга, хелпер `parseMoneyAmount()`, руководство по миграции с устаревшего v5 эндпоинта
277
- - **13 модулей** -- Orders DBS и User Management полностью интегрированы
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.8.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,111 тестов проходят (100%) |
400
+ | **Тесты** | 2,129 тестов проходят (100%) |
399
401
  | **Документация** | 44 руководства, 22 примера |
400
402
  | **Размер бандла** | ~91KB gzipped (ESM) |
401
403