@beel_es/sdk 2.3.0 → 2.4.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.
@@ -42,7 +42,7 @@ Create a recurring invoice template.
42
42
  - **Parameters:**
43
43
  - `body: operations['createCompanyRecurringInvoice']['requestBody']['content']['application/json']` — Frequency, schedule, recipient and lines.
44
44
  - **Returns:** The recurring invoice. Response `201` `data`: `RecurringInvoiceResponse`.
45
- - **Throws:** `400`/`500` `BeeLApiError` · `401`/`403` `BeeLAuthError` · `404` `BeeLNotFoundError` · `422` `BeeLValidationError` · `429` `BeeLRateLimitError`
45
+ - **Throws:** `400`/`500` `BeeLApiError` · `401`/`403` `BeeLAuthError` · `404` `BeeLNotFoundError` · `409` `BeeLConflictError` · `422` `BeeLValidationError` · `429` `BeeLRateLimitError`
46
46
 
47
47
  <a id="company-recurring-invoices-get"></a>
48
48
  ### `get(recurringInvoiceId)`
@@ -89,7 +89,7 @@ Update a draft invoice. Only draft invoices can be updated.
89
89
  - `id: string` — Invoice UUID.
90
90
  - `body: components['schemas']['UpdateInvoiceRequest']` — The draft's new content.
91
91
  - **Returns:** The updated invoice. Response `200` `data`: `Invoice`.
92
- - **Throws:** `400`/`500` `BeeLApiError` · `401`/`403` `BeeLAuthError` · `404` `BeeLNotFoundError` · `422` `BeeLValidationError` · `429` `BeeLRateLimitError`
92
+ - **Throws:** `400`/`500` `BeeLApiError` · `401`/`403` `BeeLAuthError` · `404` `BeeLNotFoundError` · `409` `BeeLConflictError` · `422` `BeeLValidationError` · `429` `BeeLRateLimitError`
93
93
 
94
94
  <a id="invoices-delete"></a>
95
95
  ### `delete(id)`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beel_es/sdk",
3
- "version": "2.3.0",
3
+ "version": "2.4.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",