@billkit-eu/sdk 0.7.0 → 0.7.1

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 CHANGED
@@ -8,6 +8,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8
8
  Versioning is independent of the Python SDK; the two ship on their own cadence,
9
9
  so the numbers will diverge after this first release.
10
10
 
11
+ ## [0.7.1] - 2026-09-25
12
+
13
+ ### Added
14
+ - `UpdateProductParams.default_price_id` (`string | null`) for the product's default price, the one the billing portal offers on that price's interval. It must be an active price of the same product. An explicit `null` clears it and is sent as a JSON null rather than pruned; omitting the field leaves the default alone.
15
+ - `products.retrieve` and `products.list` document the `default_price` expansion alongside `prices` and `stats`.
16
+
17
+ ### Changed
18
+ - `SetTenantBillingProfileParams` documents that the tenant `vat_id` is set once: changing it or clearing it with `null` afterwards is refused with a 400 `vat_id_locked` on `vat_id` and writes nothing, and support changes it. The address fields and `registration_number` still clear with `null`.
19
+
11
20
  ## [0.7.0] - 2026-09-23
12
21
 
13
22
  ### Fixed
@@ -255,7 +264,9 @@ First public release.
255
264
  back a one-shot paid with giropay before the shutdown works;
256
265
  `OneShotPayment.method` is a plain `string`.
257
266
 
258
- [Unreleased]: https://github.com/billkit-eu/billkit-node/compare/v0.6.0...HEAD
267
+ [Unreleased]: https://github.com/billkit-eu/billkit-node/compare/v0.7.1...HEAD
268
+ [0.7.1]: https://github.com/billkit-eu/billkit-node/compare/v0.7.0...v0.7.1
269
+ [0.7.0]: https://github.com/billkit-eu/billkit-node/compare/v0.6.0...v0.7.0
259
270
  [0.6.0]: https://github.com/billkit-eu/billkit-node/compare/v0.5.0...v0.6.0
260
271
  [0.5.0]: https://github.com/billkit-eu/billkit-node/compare/v0.4.0...v0.5.0
261
272
  [0.4.0]: https://github.com/billkit-eu/billkit-node/compare/v0.3.0...v0.4.0
package/dist/index.cjs CHANGED
@@ -168,7 +168,10 @@ var Products = class extends BaseResource {
168
168
  create(params) {
169
169
  return this.post("/v1/products", params);
170
170
  }
171
- /** Expandable: `prices` (every price on the product), `stats`. */
171
+ /**
172
+ * Expandable: `prices` (every price on the product), `stats`, and
173
+ * `default_price` (the price `default_price_id` names).
174
+ */
172
175
  retrieve(id, options = {}) {
173
176
  return this.get(`/v1/products/${p(id)}`, options);
174
177
  }
@@ -973,7 +976,7 @@ function sleep(ms) {
973
976
  }
974
977
 
975
978
  // src/version.ts
976
- var VERSION = "0.7.0";
979
+ var VERSION = "0.7.1";
977
980
 
978
981
  // src/transport.ts
979
982
  var DEFAULT_BASE_URL = "https://api.billkit.eu";