@billkit-eu/sdk 0.5.0 → 0.6.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 CHANGED
@@ -8,6 +8,48 @@ 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.6.0] - 2026-09-23
12
+
13
+ ### Added
14
+ - **`eps` and `paypal` can now start a subscription**, not just take a one-off
15
+ charge. Both are accepted wherever a payment method is named: the
16
+ `checkoutSessions.create` `method` union, a price's `payment_methods`
17
+ allowlist, and the one-shot union.
18
+ - **EPS** mints a *SEPA* mandate, exactly as iDEAL does, so the subscription
19
+ renews on `directdebit`.
20
+ - EPS is **Austria-only** and carries a **EUR 1.00 minimum** — a hundred
21
+ times iDEAL's. A fully-discounted first charge on a price offering it is
22
+ raised to that floor.
23
+ - **PayPal** mints a `paypal` mandate and renews on itself. No country
24
+ restriction.
25
+ - `bancontact` stays one-off only: Mollie's recurring guide and its
26
+ Bancontact method page disagree about whether it mints a mandate, and that
27
+ is being settled against a live profile rather than guessed.
28
+
29
+ - **`banktransfer` joins the `oneShotPayments.create` method union.** One-off
30
+ only, for the same reason `bancontact` is.
31
+ - It mints no mandate, so it can neither anchor a subscription nor settle a
32
+ metered cycle. Mollie refuses it at `sequenceType=first` with "The payment
33
+ method does not support sequence type" — which is why the checkout union
34
+ stays narrower than the one-shot one rather than the two converging.
35
+ - **It settles in days, not seconds.** The payer is handed bank details and
36
+ pays on their own schedule, so Mollie holds the payment `open` for about a
37
+ fortnight and `expires_at` comes back roughly 13 days out.
38
+ - A pending bank transfer is **not a failure and not something to poll** —
39
+ wait for `one_shot_payment.succeeded` / `.failed`.
40
+ - Nothing expires early: the server's reaper keys on the `expires_at` copied
41
+ from Mollie's own answer, not on a BillKit-invented window.
42
+ - Minimum is EUR 0.01, measured against a live profile rather than read off
43
+ a page.
44
+
45
+ - **`resource_id` filter on `auditLogs.list()` and `auditLogs.iter()`.**
46
+ - It answers "everything that ever happened to this customer", which is the
47
+ question an audit log mostly exists for.
48
+ - The API has always accepted it; this SDK named three of its four filters
49
+ and omitted this one.
50
+ - Matches exactly, and combines with `resource_type` rather than replacing
51
+ it.
52
+
11
53
  ## [0.5.0] - 2026-09-22
12
54
 
13
55
  ### Changed
@@ -187,5 +229,11 @@ First public release.
187
229
  back a one-shot paid with giropay before the shutdown works;
188
230
  `OneShotPayment.method` is a plain `string`.
189
231
 
190
- [Unreleased]: https://github.com/billkit-eu/billkit-node/compare/v0.1.0...HEAD
232
+ [Unreleased]: https://github.com/billkit-eu/billkit-node/compare/v0.6.0...HEAD
233
+ [0.6.0]: https://github.com/billkit-eu/billkit-node/compare/v0.5.0...v0.6.0
234
+ [0.5.0]: https://github.com/billkit-eu/billkit-node/compare/v0.4.0...v0.5.0
235
+ [0.4.0]: https://github.com/billkit-eu/billkit-node/compare/v0.3.0...v0.4.0
236
+ [0.3.0]: https://github.com/billkit-eu/billkit-node/compare/v0.2.1...v0.3.0
237
+ [0.2.1]: https://github.com/billkit-eu/billkit-node/compare/v0.2.0...v0.2.1
238
+ [0.2.0]: https://github.com/billkit-eu/billkit-node/compare/v0.1.0...v0.2.0
191
239
  [0.1.0]: https://github.com/billkit-eu/billkit-node/releases/tag/v0.1.0
package/README.md CHANGED
@@ -107,7 +107,7 @@ The client exposes one accessor per resource family. Each mirrors the verbs from
107
107
  | `client.taxRates` | `create`, `retrieve`, `update` (retire with `active: false`), `list`, `iter` |
108
108
  | `client.invoices` | `retrieve`, `retrievePdf`, `list`, `iter`, `void` |
109
109
  | `client.creditNotes` | `retrieve`, `retrievePdf`, `list`, `iter` (filter by `invoice_id`, `customer_id`) |
110
- | `client.auditLogs` | `retrieve`, `list`, `iter` (filter by `action`, `resource_type`, `actor_id`) |
110
+ | `client.auditLogs` | `retrieve`, `list`, `iter` (filter by `action`, `resource_type`, `resource_id`, `actor_id`) |
111
111
  | `client.payments` | `retrieve`, `list`, `iter` |
112
112
  | `client.billingPortalSessions` | `create`, `revoke` |
113
113
 
package/dist/index.cjs CHANGED
@@ -688,6 +688,7 @@ var AuditLogs = class extends BaseResource {
688
688
  filters: {
689
689
  action: options.action,
690
690
  resource_type: options.resource_type,
691
+ resource_id: options.resource_id,
691
692
  actor_id: options.actor_id
692
693
  }
693
694
  });
@@ -851,7 +852,7 @@ function sleep(ms) {
851
852
  }
852
853
 
853
854
  // src/version.ts
854
- var VERSION = "0.5.0";
855
+ var VERSION = "0.6.0";
855
856
 
856
857
  // src/transport.ts
857
858
  var DEFAULT_BASE_URL = "https://api.billkit.eu";