@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.
@@ -4,6 +4,6 @@
4
4
  "name": "public-api",
5
5
  "src": "src/public-api.ts",
6
6
  "isEntry": true,
7
- "integrity": "sha384-1KqTeWxuOCu1M79vIcRkVkJHTbj3MuKTXR+v2EFfuwI3Cpvc6R1Et9XTkJvcT/7Z"
7
+ "integrity": "sha384-L17SSo17u02UZxG6hcrm+8kD3RKWzV7u0XJ+MtrPw+LN42EXwZfUUL3LjBWcJeW8"
8
8
  }
9
9
  }
@@ -1,6 +1,6 @@
1
- ## 3.7.0 (2026-09-29)
1
+ ## 3.7.2 (2026-10-06)
2
2
 
3
- ### added (1 change)
3
+ ### changed (1 change)
4
4
 
5
- - [#13740: Добавлены получение и управление скидками и акциями](web_soft/libs/ts/snabcentr-common-lib@a4f82b2ea98d1bd5cc33fbf65dbe29bbcecdce32) ([merge request](web_soft/libs/ts/snabcentr-common-lib!231))
5
+ - [#14045: Добавлена возможность импортировать цены клиента без уведомлений об ошибках](web_soft/libs/ts/snabcentr-common-lib@0ba539a421e1749451ad6eb5420d2d0070833009) ([merge request](web_soft/libs/ts/snabcentr-common-lib!233))
6
6
 
@@ -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 {