@beel_es/sdk 2.3.0 → 2.5.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.
- package/CHANGELOG.md +29 -0
- package/dist/index.d.mts +6838 -3602
- package/dist/index.d.ts +6838 -3602
- package/docs/reference/company-invoices.md +1 -1
- package/docs/reference/company-recurring-invoices.md +1 -1
- package/docs/reference/invoices.md +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,35 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [2.5.0] - 2026-11-07
|
|
11
|
+
|
|
12
|
+
Contract resynced with the API as it runs in production today and types regenerated.
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
- **Email sender configuration and domains.** Typed routes for
|
|
16
|
+
`/v1/companies/{company_id}/email-configuration`, `/v1/accounts/{account_id}/email-domains`
|
|
17
|
+
(list, create, get, verify, set default, delete) and `/v1/email-template-variables`. Not yet
|
|
18
|
+
wrapped as resource methods.
|
|
19
|
+
- Invoice lists filter by `due_date_from`, `due_date_to`, `payment_date_from`, `payment_date_to`
|
|
20
|
+
and `replaced_by_invoice_id`.
|
|
21
|
+
- `409 INVOICE_PDF_UNAVAILABLE` on the invoice PDF and preview routes, and `422 PROFILE_INCOMPLETE`
|
|
22
|
+
where an incomplete fiscal identity used to answer `400`.
|
|
23
|
+
- New validation codes `RECIPIENT_ADDRESS_REQUIRED`, `RECIPIENT_FISCAL_NAME_REQUIRED`,
|
|
24
|
+
`SERIES_DEFAULT_NOT_FOUND` and `SERIES_FORMAT_MULTIPLE_NUM`.
|
|
25
|
+
- Concurrent-request cap documented: a request over the cap returns `429 RATE_LIMIT_EXCEEDED`
|
|
26
|
+
with `Retry-After: 1`.
|
|
27
|
+
|
|
28
|
+
## [2.4.0] - 2026-10-19
|
|
29
|
+
|
|
30
|
+
Contract resynced with the API as it runs in production today and types regenerated.
|
|
31
|
+
|
|
32
|
+
### Added
|
|
33
|
+
- **Custom invoice fields.** Invoices and recurring invoices accept and return `custom_fields`, a
|
|
34
|
+
list of `{ key, label, value }` for labels such as a store or a cost centre. Invoice lists
|
|
35
|
+
filter by them with `custom_fields[<key>]`. The fields themselves are managed under
|
|
36
|
+
`/v1/companies/{company_id}/custom-fields` (scopes `custom-fields:read` and
|
|
37
|
+
`custom-fields:write`); those routes are typed but not yet wrapped as resource methods.
|
|
38
|
+
|
|
10
39
|
## [2.3.0] - 2026-10-16
|
|
11
40
|
|
|
12
41
|
Contract resynced with the API as it runs in production today and types regenerated.
|