@delopay/sdk 0.226.0 → 0.228.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
@@ -5375,8 +5375,9 @@ var BuyerBlocklist = class {
5375
5375
  this.request = request;
5376
5376
  }
5377
5377
  /**
5378
- * One page of blocked buyers, newest first, filtered by scope, kind and a
5379
- * search over the value and the note. Expired entries are not listed.
5378
+ * One page of blocked buyers, newest first, filtered by scope, by `kind`
5379
+ * (the entries that include an identifier of that kind) and by a search
5380
+ * over every identifier and the note. Expired entries are not listed.
5380
5381
  * `GET /buyer-blocklist`
5381
5382
  */
5382
5383
  async list(params) {
@@ -5386,9 +5387,10 @@ var BuyerBlocklist = class {
5386
5387
  }
5387
5388
  /**
5388
5389
  * Block a buyer in one shop or, without `profile_id`, in every shop of the
5389
- * merchant. The value is normalised as it is matched; a value already
5390
- * blocked in that scope is refused. The change is recorded in the audit log
5391
- * before it is made.
5390
+ * merchant, named by one or more of `email`, `ip`, `customer_id` and
5391
+ * `device_id`. Each identifier is normalised as it is matched; an
5392
+ * identifier another entry already names in that scope is refused. The
5393
+ * change is recorded in the audit log before it is made.
5392
5394
  * `POST /buyer-blocklist`
5393
5395
  */
5394
5396
  async create(params) {
@@ -6183,9 +6185,15 @@ var Invoices = class {
6183
6185
  });
6184
6186
  }
6185
6187
  /**
6186
- * The documents of one period as CSV (`text/csv; charset=utf-8`), with the
6187
- * list's filters. Amounts are decimal in each document's currency; drafts
6188
- * 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).
6189
6197
  * `GET /invoices/export`
6190
6198
  */
6191
6199
  async export(params, options) {