@delopay/sdk 0.227.0 → 0.229.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/dist/index.cjs CHANGED
@@ -6185,9 +6185,15 @@ var Invoices = class {
6185
6185
  });
6186
6186
  }
6187
6187
  /**
6188
- * The documents of one period as CSV (`text/csv; charset=utf-8`), with the
6189
- * list's filters. Amounts are decimal in each document's currency; drafts
6190
- * have an empty number.
6188
+ * The documents of one period, with the list's filters, as CSV
6189
+ * (`text/csv; charset=utf-8`) by default. Amounts are decimal in each
6190
+ * document's currency; drafts have an empty number.
6191
+ *
6192
+ * Another file is asked for with `Accept` in `options.headers`:
6193
+ * `application/json` (the rows as `records`, with `record_count` and the
6194
+ * filters applied), `application/vnd.openxmlformats-officedocument.spreadsheetml.sheet`
6195
+ * (an Excel workbook) or `application/zip` (the stored PDF of every issued or
6196
+ * voided document, with the CSV as `invoices.csv`; at most 500 documents).
6191
6197
  * `GET /invoices/export`
6192
6198
  */
6193
6199
  async export(params, options) {