@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/{chunk-ILCBRQSO.js → chunk-UVKPIUOO.js} +17 -9
- package/dist/chunk-UVKPIUOO.js.map +1 -0
- package/dist/index.cjs +16 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +102 -27
- package/dist/index.d.ts +102 -27
- package/dist/index.js +1 -1
- package/dist/internal.cjs +16 -8
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-ILCBRQSO.js.map +0 -1
|
@@ -5127,8 +5127,9 @@ var BuyerBlocklist = class {
|
|
|
5127
5127
|
this.request = request;
|
|
5128
5128
|
}
|
|
5129
5129
|
/**
|
|
5130
|
-
* One page of blocked buyers, newest first, filtered by scope, kind
|
|
5131
|
-
*
|
|
5130
|
+
* One page of blocked buyers, newest first, filtered by scope, by `kind`
|
|
5131
|
+
* (the entries that include an identifier of that kind) and by a search
|
|
5132
|
+
* over every identifier and the note. Expired entries are not listed.
|
|
5132
5133
|
* `GET /buyer-blocklist`
|
|
5133
5134
|
*/
|
|
5134
5135
|
async list(params) {
|
|
@@ -5138,9 +5139,10 @@ var BuyerBlocklist = class {
|
|
|
5138
5139
|
}
|
|
5139
5140
|
/**
|
|
5140
5141
|
* Block a buyer in one shop or, without `profile_id`, in every shop of the
|
|
5141
|
-
* merchant
|
|
5142
|
-
*
|
|
5143
|
-
*
|
|
5142
|
+
* merchant, named by one or more of `email`, `ip`, `customer_id` and
|
|
5143
|
+
* `device_id`. Each identifier is normalised as it is matched; an
|
|
5144
|
+
* identifier another entry already names in that scope is refused. The
|
|
5145
|
+
* change is recorded in the audit log before it is made.
|
|
5144
5146
|
* `POST /buyer-blocklist`
|
|
5145
5147
|
*/
|
|
5146
5148
|
async create(params) {
|
|
@@ -5935,9 +5937,15 @@ var Invoices = class {
|
|
|
5935
5937
|
});
|
|
5936
5938
|
}
|
|
5937
5939
|
/**
|
|
5938
|
-
* The documents of one period
|
|
5939
|
-
*
|
|
5940
|
-
* have an empty number.
|
|
5940
|
+
* The documents of one period, with the list's filters, as CSV
|
|
5941
|
+
* (`text/csv; charset=utf-8`) by default. Amounts are decimal in each
|
|
5942
|
+
* document's currency; drafts have an empty number.
|
|
5943
|
+
*
|
|
5944
|
+
* Another file is asked for with `Accept` in `options.headers`:
|
|
5945
|
+
* `application/json` (the rows as `records`, with `record_count` and the
|
|
5946
|
+
* filters applied), `application/vnd.openxmlformats-officedocument.spreadsheetml.sheet`
|
|
5947
|
+
* (an Excel workbook) or `application/zip` (the stored PDF of every issued or
|
|
5948
|
+
* voided document, with the CSV as `invoices.csv`; at most 500 documents).
|
|
5941
5949
|
* `GET /invoices/export`
|
|
5942
5950
|
*/
|
|
5943
5951
|
async export(params, options) {
|
|
@@ -12166,4 +12174,4 @@ export {
|
|
|
12166
12174
|
decodeNativePanes,
|
|
12167
12175
|
encodeNativePanes
|
|
12168
12176
|
};
|
|
12169
|
-
//# sourceMappingURL=chunk-
|
|
12177
|
+
//# sourceMappingURL=chunk-UVKPIUOO.js.map
|