@snabcentr/common-lib 3.7.0 → 3.7.2
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/manifest.json +1 -1
- package/dist/release_notes.tmp +3 -3
- package/dist/sc-common-lib.js +8 -3
- package/dist/sc-common-lib.js.map +1 -1
- package/dist/sc-common-lib.umd.cjs +1 -1
- package/dist/sc-common-lib.umd.cjs.map +1 -1
- package/dist/src/catalog/providers/client-price-provider.d.ts +2 -1
- package/dist/src/catalog/providers/client-price-provider.d.ts.map +1 -1
- package/dist/src/orders/classes/order.d.ts +4 -0
- package/dist/src/orders/classes/order.d.ts.map +1 -1
- package/dist/src/orders/interfaces/i-order.d.ts +4 -0
- package/dist/src/orders/interfaces/i-order.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/manifest.json
CHANGED
package/dist/release_notes.tmp
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
## 3.7.
|
|
1
|
+
## 3.7.2 (2026-10-06)
|
|
2
2
|
|
|
3
|
-
###
|
|
3
|
+
### changed (1 change)
|
|
4
4
|
|
|
5
|
-
- [#
|
|
5
|
+
- [#14045: Добавлена возможность импортировать цены клиента без уведомлений об ошибках](web_soft/libs/ts/snabcentr-common-lib@0ba539a421e1749451ad6eb5420d2d0070833009) ([merge request](web_soft/libs/ts/snabcentr-common-lib!233))
|
|
6
6
|
|
package/dist/sc-common-lib.js
CHANGED
|
@@ -3205,11 +3205,12 @@ class vi extends h {
|
|
|
3205
3205
|
*
|
|
3206
3206
|
* @param clientId Идентификатор клиента.
|
|
3207
3207
|
* @param file CSV файл с ценами клиента.
|
|
3208
|
+
* @param disableNotifications Признак необходимости отключить уведомления об ошибках.
|
|
3208
3209
|
*
|
|
3209
3210
|
* @see /doc/api/internal#/operations/api_internal_client_price_import
|
|
3210
3211
|
*/
|
|
3211
|
-
importPrices(r, e) {
|
|
3212
|
-
return this.post(`/internal/clients/${r}/price/import`, e);
|
|
3212
|
+
importPrices(r, e, t = !1) {
|
|
3213
|
+
return this.post(`/internal/clients/${r}/price/import`, e, void 0, {}, t);
|
|
3213
3214
|
}
|
|
3214
3215
|
/**
|
|
3215
3216
|
* Возвращает список цен прайс-листа клиента, установленных на категории.
|
|
@@ -7432,11 +7433,15 @@ class x extends Ut {
|
|
|
7432
7433
|
* @inheritDoc
|
|
7433
7434
|
*/
|
|
7434
7435
|
s(this, "erpOrderUrl");
|
|
7436
|
+
/**
|
|
7437
|
+
* @inheritDoc
|
|
7438
|
+
*/
|
|
7439
|
+
s(this, "numberDoc");
|
|
7435
7440
|
this.products = (e.products ?? []).map((i) => {
|
|
7436
7441
|
var c;
|
|
7437
7442
|
const o = i.replacementId ? (c = e.products) == null ? void 0 : c.find((u) => u.id === i.replacementId) : void 0;
|
|
7438
7443
|
return new Ws(i, o);
|
|
7439
|
-
}), this.invoices = e.invoices ?? [], this.comment = e.comment, this.image = e.image, this.contragent = e.contragent ? Xe.createInstance(e.contragent) : void 0, this.barcode = e.barcode, this.orderSource = e.orderSource ? new v(e.orderSource) : void 0, this.isAllowProcessingWithoutPayment = e.isAllowProcessingWithoutPayment, this.nextStatuses = (t = e.nextStatuses) == null ? void 0 : t.map((i) => new sr(i)), this.actions = e.actions, this.operatorsComment = e.operatorsComment, this.operatorsForWarehouseComment = e.operatorsForWarehouseComment, this.erpOrderUrl = e.erpOrderUrl;
|
|
7444
|
+
}), this.invoices = e.invoices ?? [], this.comment = e.comment, this.image = e.image, this.contragent = e.contragent ? Xe.createInstance(e.contragent) : void 0, this.barcode = e.barcode, this.orderSource = e.orderSource ? new v(e.orderSource) : void 0, this.isAllowProcessingWithoutPayment = e.isAllowProcessingWithoutPayment, this.nextStatuses = (t = e.nextStatuses) == null ? void 0 : t.map((i) => new sr(i)), this.actions = e.actions, this.operatorsComment = e.operatorsComment, this.operatorsForWarehouseComment = e.operatorsForWarehouseComment, this.erpOrderUrl = e.erpOrderUrl, this.numberDoc = e.numberDoc;
|
|
7440
7445
|
}
|
|
7441
7446
|
}
|
|
7442
7447
|
class zi extends H {
|