@beel_es/sdk 2.4.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.
@@ -300,7 +300,7 @@ Get a short-lived download URL for the invoice PDF.
300
300
  - `invoiceId: string` — Invoice UUID.
301
301
  - `options?: RequestOptions` — Per-call `idempotencyKey`, `signal` and `timeoutMs`. See [`RequestOptions`](types.md#requestoptions).
302
302
  - **Returns:** `download_url`, `expires_in_seconds` and `file_name`. Response `200` `data`: `{ download_url: string; expires_in_seconds: number; file_name: string }`.
303
- - **Throws:** `400`/`500` `BeeLApiError` · `401`/`403` `BeeLAuthError` · `404` `BeeLNotFoundError` · `429` `BeeLRateLimitError`
303
+ - **Throws:** `400`/`500` `BeeLApiError` · `401`/`403` `BeeLAuthError` · `404` `BeeLNotFoundError` · `409` `BeeLConflictError` · `429` `BeeLRateLimitError`
304
304
 
305
305
  <a id="company-invoices-send"></a>
306
306
  ### `send(invoiceId, body, options?)`
@@ -235,7 +235,7 @@ The URL expires in 5 minutes. Use `beel.downloadPdf(id)` for a simpler Buffer do
235
235
  - **Parameters:**
236
236
  - `id: string` — Invoice UUID.
237
237
  - **Returns:** `download_url`, `expires_in_seconds` and `file_name`. Response `200` `data`: `{ download_url: string; expires_in_seconds: number; file_name: string }`.
238
- - **Throws:** `400`/`500` `BeeLApiError` · `401`/`403` `BeeLAuthError` · `404` `BeeLNotFoundError` · `429` `BeeLRateLimitError`
238
+ - **Throws:** `400`/`500` `BeeLApiError` · `401`/`403` `BeeLAuthError` · `404` `BeeLNotFoundError` · `409` `BeeLConflictError` · `429` `BeeLRateLimitError`
239
239
 
240
240
  <a id="invoices-send-email"></a>
241
241
  ### `sendEmail(id, options?)`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beel_es/sdk",
3
- "version": "2.4.0",
3
+ "version": "2.5.0",
4
4
  "description": "Official Node.js SDK for BeeL Public API - Spanish invoicing platform with VeriFactu support",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",