You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`warnOnce(key, message)` -- centralized deprecation warning that fires once per process
20
+
-`resetDeprecationWarnings()` -- reset all warnings (useful in tests)
21
+
- Both exported from main SDK entry point
22
+
- Replaces ad-hoc static boolean flags in FinancesModule and PromotionModule
23
+
24
+
### Changed (Type-Only Breaking)
25
+
-`fields[]` parameter in `SalesReportDetailedRequest`, `SalesReportDetailedByIdRequest`, `AcquiringReportDetailedRequest`, `AcquiringReportDetailedByIdRequest` narrowed from `string[]` to union types
26
+
- Consumers passing arbitrary strings to `fields[]` will get TypeScript errors -- use valid field names from the union type (no runtime changes)
27
+
28
+
### Documentation
29
+
- Rewrite finances module docs with all 13 methods, v1/v5 comparison table, `parseMoneyAmount()` examples
30
+
- Add 10 missing guides to EN sidebar (products, communications, promotion, tariffs, and more)
31
+
- Add 7 new sections to RU sidebar
32
+
- Update guides index with all 44 guides linked
33
+
- Update RU guides index with 10 missing guides and 4 new sections
34
+
- Translate 18 EN guides to Russian (task-105)
35
+
- Update getting-started quickstart to reference 13 modules including DBS and User Management
36
+
- Fix migration guide missing `await`
37
+
38
+
---
39
+
40
+
## [3.7.0] - 2026-04-15
41
+
42
+
### Added
43
+
44
+
#### v1 Finance Reports Migration (6 new methods)
45
+
-`getSalesReportsList()` -- list Sales Reports via POST /api/finance/v1/sales-reports/list
46
+
-`getSalesReportsDetailed()` -- detailed Sales Report data
47
+
-`getSalesReportsDetailedByReportId(id, data)` -- detailed data for a specific report (supports BigInt-safe reportId)
48
+
-`getAcquiringReportsList()` -- list Acquiring Reports (RU-only)
49
+
-`getAcquiringReportsDetailed()` -- detailed Acquiring Report data (RU-only)
50
+
-`getAcquiringReportsDetailedByReportId(id, data)` -- detailed data for a specific acquiring report (RU-only)
51
+
52
+
All v1 methods:
53
+
- Use finance-api.wildberries.ru (not statistics-api)
54
+
- POST with JSON body (not GET with query params)
55
+
- Return money amounts as `string` (was `number` in v5)
56
+
- Accept optional `fields?: string[]` for selective field loading
57
+
- Rate limit: 1 req/min each
58
+
- Require Personal or Service tokens (NOT Basic/Test)
59
+
60
+
#### parseMoneyAmount Helper
61
+
-`parseMoneyAmount(value?: string | null): number` -- parses v1 money strings to JS number with null/undefined/NaN guards
62
+
- Re-exported from main SDK entry point
63
+
- 8 unit tests covering edge cases
64
+
65
+
#### New Types
66
+
-`SalesReportListRequest`, `SalesReportListItem` (20 fields with money as string)
-`getSupplierReportDetailByPeriod()` -- WB disabling v5 endpoint on July 15, 2026; runtime warning fires once per process
76
+
-`DetailReportItem` type marked `@deprecated`
77
+
78
+
### Documentation
79
+
- New migration guide: `docs/guides/migration-finance-reports-v5-to-v1.md`
80
+
- Searchable field mapping table (old + new names in same row)
81
+
- Migration checklist with grep commands for finding call sites
82
+
- String money amounts explained with `parseMoneyAmount()` examples
83
+
84
+
---
85
+
86
+
## [3.6.2] - 2026-04-12
87
+
88
+
### Added
89
+
-`kizMarked?: boolean` field on product card create/update/list/trash methods for mandatory marking code confirmation
90
+
-`needKiz?: boolean` added to `getCardsTrash` response (pre-existing gap)
91
+
92
+
---
93
+
94
+
## [3.6.1] - 2026-04-11
95
+
96
+
### Fixed
97
+
- Re-export types from `/finances`, `/analytics`, `/communications`, `/reports` subpath imports -- consumers can now `import type { DetailReportItem } from 'daytona-wildberries-typescript-sdk/finances'`
98
+
- 192 types added across 4 module index files (8 finances, 97 analytics, 39 communications, 48 reports)
99
+
100
+
---
101
+
102
+
## [3.6.0] - 2026-04-10
103
+
104
+
### Added
105
+
106
+
#### Substitute Article Fields (Finance)
107
+
-`article_substitution` -- substitute article ID in `DetailReportItem`
-`getClientInfo(orderIds)` -- DBW buyer info (name, phone, phoneCode) via marketplace-api
157
+
-`getWbWarehousesStock()` -- current inventory across all WB warehouses with offset pagination (replaces deprecated GET /api/v1/supplier/stocks, disabled June 23, 2026)
158
+
159
+
#### Type Fixes (Sprint 1 + 3)
160
+
-`SDKConfig.tokenType` -- awareness for Basic/Test tokens with init warning
161
+
-`additionalErrors` narrowed to `Record<string, string>` (products)
162
+
-`currency` field added to 3 Sales Funnel analytics responses
0 commit comments